Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166734
b: refs/heads/master
c: 98a5783
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner authored and David S. Miller committed Oct 2, 2009
1 parent 91c03a6 commit f38c684
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: 5788c56891cfb310e419c4f9ae20427851797431
refs/heads/master: 98a5783af02f4c9b87b676d7bbda6258045cfc76
3 changes: 3 additions & 0 deletions trunk/drivers/staging/pohmelfs/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ static void pohmelfs_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *n
{
int err;

if (!cap_raised(nsp->eff_cap, CAP_SYS_ADMIN))
return;

switch (msg->flags) {
case POHMELFS_FLAGS_ADD:
case POHMELFS_FLAGS_DEL:
Expand Down

0 comments on commit f38c684

Please sign in to comment.