aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorPaul Menage <[email protected]>2009-07-17 23:16:18 +0000
committerJames Morris <[email protected]>2009-07-19 22:45:25 +0000
commit1c388ad054fb1ead3dc354b1719570b99e464135 (patch)
tree6ec1bacaf6b75c23562fd0474b3110915a5ba065 /security/selinux/hooks.c
parentkernel: is_current_single_threaded: don't use ->mmap_sem (diff)
downloadkernel-1c388ad054fb1ead3dc354b1719570b99e464135.tar.gz
kernel-1c388ad054fb1ead3dc354b1719570b99e464135.zip
include/linux/cred.h: work around gcc-4.2.4 warning in get_cred()
With gcc 4.2.4 (building UML) I get the warning include/linux/cred.h: In function 'get_cred': include/linux/cred.h:189: warning: passing argument 1 of 'get_new_cred' discards qualifiers from pointer target type Inserting an additional local variable appears to keep the compiler happy, although it's not clear to me why this should be needed. Signed-off-by: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: David Howells <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions