Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127554
b: refs/heads/master
c: 0b82ac3
h: refs/heads/master
v: v3
  • Loading branch information
Serge E. Hallyn authored and Linus Torvalds committed Jan 8, 2009
1 parent b863bdf commit 26c13b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 116e05751285c20edf5768ca3bcc00dad86181bb
refs/heads/master: 0b82ac37b889ec881b645860da3775118effb3ca
3 changes: 3 additions & 0 deletions trunk/security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 26c13b5

Please sign in to comment.