diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2008-09-27 04:27:47 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-09-27 07:07:56 +0200 |
commit | de45e806a84909648623119dfe6fc1d31e71ceba (patch) | |
tree | ca10329190483178175c43ad84862faa04c57195 /security | |
parent | Merge branch 'master' into next (diff) | |
download | linux-de45e806a84909648623119dfe6fc1d31e71ceba.tar.xz linux-de45e806a84909648623119dfe6fc1d31e71ceba.zip |
file capabilities: uninline cap_safe_nice
This reduces the kernel size by 289 bytes.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Acked-by: Andrew G. Morgan <morgan@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index e4c4b3fc0c04..399bfdb9e2da 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -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)) |