X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=security%2Fcommoncap.c;h=399bfdb9e2da99c4ef81fdd8b0391b1f5571c371;hb=601a1b92ed3ce0025f7bec6fc591cceaef8d9d69;hp=e4c4b3fc0c04e49e553610a8bd4d433e55e9212a;hpb=42390cdec5f6e6e2ee54f308474a6ef7dd16aa5c;p=linux-2.6-omap-h63xx.git diff --git a/security/commoncap.c b/security/commoncap.c index e4c4b3fc0c0..399bfdb9e2d 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))