Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.6.25-git1 /security/commoncap.c

Filename:/security/commoncap.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.25  2.6.25-rc9  2.6.25-rc8  2.6.25-rc7  2.6.25-rc6-git8  2.6.25-rc6-git7 
(Following) 2.6.25-git2  2.6.25-git3  2.6.25-git4  2.6.25-git5  2.6.25-git6  2.6.25-git7 

Location
[  2.6.25-git1
  [  security
     o  commoncap.c

Patch

diff --git a/security/commoncap.c b/security/commoncap.c
index 06d5c94..8529057 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -267,7 +267,7 @@ static int get_file_caps(struct linux_binprm *bprm)
    rc = cap_from_disk(&vcaps, bprm, rc);
    if (rc)
       printk(KERN_NOTICE "%s: cap_from_disk returned %d for %s\n",
-         __FUNCTION__, rc, bprm->filename);
+         __func__, rc, bprm->filename);
 
 out:
    dput(dentry);
@@ -302,7 +302,7 @@ int cap_bprm_set_security (struct linux_binprm *bprm)
    ret = get_file_caps(bprm);
    if (ret)
       printk(KERN_NOTICE "%s: get_file_caps returned %d for %s\n",
-         __FUNCTION__, ret, bprm->filename);
+         __func__, ret, bprm->filename);
 
    /*  To support inheritance of root-permissions and suid-root
     *  executables under compatibility mode, we raise all three


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.