X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=security%2Fcommoncap.c;h=399bfdb9e2da99c4ef81fdd8b0391b1f5571c371;hb=3fe68cc152fc7cc6a763c692544a0ab71926c800;hp=e4c4b3fc0c04e49e553610a8bd4d433e55e9212a;hpb=291c54ff764d12ecc9a916cb478a0bbb45c5990e;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))