[PATCH] cgroups: implement device whitelist (v4)

James Morris jmorris at namei.org
Mon Mar 17 21:17:53 PDT 2008


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 <jmorris at namei.org>



-- 
James Morris
<jmorris at namei.org>


More information about the Containers mailing list