projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'origin/master' into next
[deliverable/linux.git]
/
security
/
device_cgroup.c
diff --git
a/security/device_cgroup.c
b/security/device_cgroup.c
index cd377b9082b5ec088ce7b68da7f3b83feeda2c92..3aacd0fe7179b26a4e08bc7bce343dd7fbadc239 100644
(file)
--- a/
security/device_cgroup.c
+++ b/
security/device_cgroup.c
@@
-513,6
+513,9
@@
int devcgroup_inode_mknod(int mode, dev_t dev)
struct dev_cgroup *dev_cgroup;
struct dev_whitelist_item *wh;
+ if (!S_ISBLK(mode) && !S_ISCHR(mode))
+ return 0;
+
rcu_read_lock();
dev_cgroup = task_devcgroup(current);
This page took
0.026642 seconds
and
5
git commands to generate.