diff options
author | yar <yar@FreeBSD.org> | 2004-07-30 16:57:42 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2004-07-30 16:57:42 +0000 |
commit | 9fb1cda8d0409e8a7c170f65b4fca63479fd7e86 (patch) | |
tree | 2c3f2c4554f849cd375e61273595b07244bf4111 /lib/libthr/thread/thr_mutex.c | |
parent | 1be1b43db40beaa89f4c46419def1fbce733c82c (diff) | |
download | FreeBSD-src-9fb1cda8d0409e8a7c170f65b4fca63479fd7e86.zip FreeBSD-src-9fb1cda8d0409e8a7c170f65b4fca63479fd7e86.tar.gz |
Open a socket for a data transfer in active mode using euid
of the current user, not root. This will allow neat things
like matching anonymous FTP data traffic with a single ipfw(8)
rule:
ipfw add ... tcp from any to any uid ftp
Note that the control connection socket still belongs to the
user ftpd(8) was started from, usually root.
PR: bin/65928
Submitted by: Eugene Grosbein <eugen at grosbein.pp.ru>
MFC after: 1 month
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
0 files changed, 0 insertions, 0 deletions