summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-11-12 13:02:26 +0000
committerluigi <luigi@FreeBSD.org>2010-11-12 13:02:26 +0000
commitd5e8d236f4009fc2611f996c317e94b2c8649cf5 (patch)
treee91599dcbd47fe55ea222b065a06b499aa245cca /lib/libc/stdlib/realpath.c
parent20a2600f84554023f0954887c9cfc8bf63c28cf0 (diff)
downloadFreeBSD-src-d5e8d236f4009fc2611f996c317e94b2c8649cf5.zip
FreeBSD-src-d5e8d236f4009fc2611f996c317e94b2c8649cf5.tar.gz
This commit implements the SO_USER_COOKIE socket option, which lets
you tag a socket with an uint32_t value. The cookie can then be used by the kernel for various purposes, e.g. setting the skipto rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has been implemented; however there is nothing ipfw-specific in its implementation). The ipfw-related code that uses the optopn will be committed separately. This change adds a field to 'struct socket', but the struct is not part of any driver or userland-visible ABI so the change should be harmless. See the discussion at http://lists.freebsd.org/pipermail/freebsd-ipfw/2009-October/004001.html Idea and code from Paul Joe, small modifications and manpage changes by myself. Submitted by: Paul Joe MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud