From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Morris Subject: Re: [PATCH] cgroups: implement device whitelist (v4) Date: Tue, 18 Mar 2008 15:17:53 +1100 (EST) Message-ID: References: <20080317180722.GA17111@sergelap.austin.ibm.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <20080317180722.GA17111@sergelap.austin.ibm.com> Sender: linux-security-module-owner@vger.kernel.org To: "Serge E. Hallyn" Cc: lkml , linux-security-module@vger.kernel.org, Linux Containers , Stephen Smalley , Pavel Emelianov , Greg KH , Casey Schaufler , Paul Menage List-Id: containers.vger.kernel.org On Mon, 17 Mar 2008, Serge E. Hallyn wrote: > Implement a cgroup to track and enforce open and mknod restrictions on device > files. A device cgroup associates a device access whitelist with each > cgroup. A whitelist entry has 4 fields. 'type' is a (all), c (char), or > b (block). 'all' means it applies to all types and all major and minor > numbers. Major and minor are either an integer or * for all. > Access is a composition of r (read), w (write), and m (mknod). Acked-by: James Morris -- James Morris