Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2011 15:57:21 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 188378 for review
Message-ID:  <201101311557.p0VFvLYf061961@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@188378?ac=10

Change 188378 by trasz@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101311557.p0VFvLYf061961>