Date: Wed, 8 Dec 2004 11:46:44 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/mac_portacl mac_portacl.c Message-ID: <200412081146.iB8BkiAm058070@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2004-12-08 11:46:44 UTC
FreeBSD src repository
Modified files:
sys/security/mac_portacl mac_portacl.c
Log:
Add a new sysctl/tunable to mac_portacl:
security.mac.portacl.autoport_exempt
This sysctl exempts to bind port '0' as long as IP_PORTRANGELOW hasn't
been set on the socket. This is quite useful as it allows applications
to use automatic binding without adding overly broad rules for the
binding of port 0. This sysctl defaults to enabled.
This is a slight variation on the patch submitted by the contributor.
MFC after: 2 weeks
Submitted by: Michal Mertl <mime at traveller dot cz>
Revision Changes Path
1.7 +23 -0 src/sys/security/mac_portacl/mac_portacl.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412081146.iB8BkiAm058070>
