X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=security%2Fdevice_cgroup.c;h=fd764a0858d0d5f1f60f1b671cbcc41c04be77dd;hb=a292f404fabb342716a9d96e8155b7fb7b651dc1;hp=baf348834b66c003758246427a98907d38f78c14;hpb=c907310fb0a5dd69a7fe11c08368abb0d34a35cb;p=linux-2.6 diff --git a/security/device_cgroup.c b/security/device_cgroup.c index baf348834b..fd764a0858 100644 --- a/security/device_cgroup.c +++ b/security/device_cgroup.c @@ -382,6 +382,8 @@ static ssize_t devcgroup_access_write(struct cgroup *cgroup, struct cftype *cft, case 'a': wh.type = DEV_ALL; wh.access = ACC_MASK; + wh.major = ~0; + wh.minor = ~0; goto handle; case 'b': wh.type = DEV_BLOCK;