Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
[deliverable/linux.git] / security / device_cgroup.c
index 1e2e28afba45883c43863e57fbd4baeeacee0523..ddd92cec78ed81c44bcfc4d9c530662a179381f2 100644 (file)
@@ -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;
        }
This page took 0.025583 seconds and 5 git commands to generate.