patch to add jail.allow_raw_sockets sysctl

Matthew Dillon dillon at apollo.backplane.com
Sat May 17 13:48:19 PDT 2008


:
:Slight style corrections:
:
:	int flag = NULL_CRED_OKAY;
:
:	if (jailed(ai->p_ucred) && jail_allow_raw_sockets)
:		flag = flag | PRISON_ROOT;
:
    
    Plus I also forgot the ipv6 part of the patch.  I adjusted it but
    I used a slightly different format.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Submit mailing list