Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120749
b: refs/heads/master
c: 459c19f
h: refs/heads/master
i:
  120747: c777109
v: v3
  • Loading branch information
Stephen Smalley authored and James Morris committed Dec 19, 2008
1 parent 45ef258 commit 84aa18b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1e641743f055f075ed9a4edd75f1fb1e05669ddc
refs/heads/master: 459c19f524a9d89c65717a7d061d5f11ecf6bcb8
2 changes: 1 addition & 1 deletion trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,
sbsec->proc = 1;

/* Determine the labeling behavior to use for this filesystem type. */
rc = security_fs_use(sb->s_type->name, &sbsec->behavior, &sbsec->sid);
rc = security_fs_use(sbsec->proc ? "proc" : sb->s_type->name, &sbsec->behavior, &sbsec->sid);
if (rc) {
printk(KERN_WARNING "%s: security_fs_use(%s) returned %d\n",
__func__, sb->s_type->name, rc);
Expand Down

0 comments on commit 84aa18b

Please sign in to comment.