Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110758
b: refs/heads/master
c: de45e80
h: refs/heads/master
v: v3
  • Loading branch information
Serge E. Hallyn authored and James Morris committed Sep 27, 2008
1 parent 6699a27 commit b76a3c8
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: ab2b49518e743962f71b94246855c44ee9cf52cc
refs/heads/master: de45e806a84909648623119dfe6fc1d31e71ceba
2 changes: 1 addition & 1 deletion trunk/security/commoncap.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ int cap_task_post_setuid (uid_t old_ruid, uid_t old_euid, uid_t old_suid,
* yet with increased caps.
* So we check for increased caps on the target process.
*/
static inline int cap_safe_nice(struct task_struct *p)
static int cap_safe_nice(struct task_struct *p)
{
if (!cap_issubset(p->cap_permitted, current->cap_permitted) &&
!capable(CAP_SYS_NICE))
Expand Down

0 comments on commit b76a3c8

Please sign in to comment.