diff --git a/[refs] b/[refs] index 85ed5d1a6fa5..212732e0b43e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 17d213f806dad629e9af36fc45f082b87ed7bceb +refs/heads/master: ec229e830060091b9be63c8f873c1b2407a82821 diff --git a/trunk/security/device_cgroup.c b/trunk/security/device_cgroup.c index 1e2e28afba45..ddd92cec78ed 100644 --- a/trunk/security/device_cgroup.c +++ b/trunk/security/device_cgroup.c @@ -300,7 +300,7 @@ static int may_access_whitelist(struct dev_cgroup *c, continue; if (whitem->minor != ~0 && whitem->minor != refwh->minor) continue; - if (refwh->access & (~(whitem->access | ACC_MASK))) + if (refwh->access & (~whitem->access)) continue; return 1; }