From: Serge E. Hallyn Date: Sat, 27 Sep 2008 02:27:47 +0000 (-0400) Subject: file capabilities: uninline cap_safe_nice X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de45e806a84909648623119dfe6fc1d31e71ceba;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git file capabilities: uninline cap_safe_nice This reduces the kernel size by 289 bytes. Signed-off-by: Serge E. Hallyn Acked-by: Andrew G. Morgan Signed-off-by: James Morris --- 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))