PERFORCE change 188378 for review

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Jan 31 15:57:22 UTC 2011


http://p4web.freebsd.org/@@188378?ac=10

Change 188378 by trasz at trasz_victim on 2011/01/31 15:56:49

	Allow setloginclass(2) from inside the jail.

Affected files ...

.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_jail.c#35 edit

Differences ...

==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_jail.c#35 (text+ko) ====

@@ -3880,6 +3880,12 @@
 	case PRIV_NETINET_GETCRED:
 		return (0);
 
+		/*
+		 * Allow jailed root to set loginclass.
+		 */
+	case PRIV_PROC_SETLOGINCLASS:
+		return (0);
+
 	default:
 		/*
 		 * In all remaining cases, deny the privilege request.  This


More information about the p4-projects mailing list