summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-10 02:48:50 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-10 02:48:50 +0000
commitfea945fb73bcbd8e5124d42bf3f62632c38aa171 (patch)
treec7845f33a0decd79d0e68573a8de3342d40b6631 /lib/libc/string/strmode.c
parent7866f6e355d1bfbca14c6149fe2561d75e9b0f99 (diff)
downloadFreeBSD-src-fea945fb73bcbd8e5124d42bf3f62632c38aa171.zip
FreeBSD-src-fea945fb73bcbd8e5124d42bf3f62632c38aa171.tar.gz
Lock down IP-layer encapsulation library:
- Add encapmtx to protect ip_encap.c global variables (encapsulation list). - Unifdef #ifdef 0 pieces of encap_init() which was (and now really is) basically a no-op. - Lock encapmtx when walking encaptab, modifying it, comparing entries, etc. - Remove spl's. Note that currently there's no facilite to make sure outstanding use of encapsulation methods on a table entry have drained bfore we allow a table entry to be removed. As such, it's currently the caller's responsibility to make sure that draining takes place. Reviewed by: mlaier
Diffstat (limited to 'lib/libc/string/strmode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud