diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 02:31:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:43:07 -0400 |
commit | cbfee34520666862f8ff539e580c48958fbb7706 (patch) | |
tree | ded5cafce333e908a0fbeda1f7c55eaf7c1fbaaa /security/commoncap.c | |
parent | b53767719b6cd8789392ea3e7e2eb7b8906898f0 (diff) |
security/ cleanups
This patch contains the following cleanups that are now possible:
- remove the unused security_operations->inode_xattr_getsuffix
- remove the no longer used security_operations->unregister_security
- remove some no longer required exit code
- remove a bunch of no longer used exports
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: James Morris <jmorris@namei.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index afca6dd4ae69..778cb0cfc5d8 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -30,8 +30,6 @@ int cap_netlink_send(struct sock *sk, struct sk_buff *skb) | |||
30 | return 0; | 30 | return 0; |
31 | } | 31 | } |
32 | 32 | ||
33 | EXPORT_SYMBOL(cap_netlink_send); | ||
34 | |||
35 | int cap_netlink_recv(struct sk_buff *skb, int cap) | 33 | int cap_netlink_recv(struct sk_buff *skb, int cap) |
36 | { | 34 | { |
37 | if (!cap_raised(NETLINK_CB(skb).eff_cap, cap)) | 35 | if (!cap_raised(NETLINK_CB(skb).eff_cap, cap)) |
@@ -532,22 +530,3 @@ int cap_vm_enough_memory(struct mm_struct *mm, long pages) | |||
532 | return __vm_enough_memory(mm, pages, cap_sys_admin); | 530 | return __vm_enough_memory(mm, pages, cap_sys_admin); |
533 | } | 531 | } |
534 | 532 | ||
535 | EXPORT_SYMBOL(cap_capable); | ||
536 | EXPORT_SYMBOL(cap_settime); | ||
537 | EXPORT_SYMBOL(cap_ptrace); | ||
538 | EXPORT_SYMBOL(cap_capget); | ||
539 | EXPORT_SYMBOL(cap_capset_check); | ||
540 | EXPORT_SYMBOL(cap_capset_set); | ||
541 | EXPORT_SYMBOL(cap_bprm_set_security); | ||
542 | EXPORT_SYMBOL(cap_bprm_apply_creds); | ||
543 | EXPORT_SYMBOL(cap_bprm_secureexec); | ||
544 | EXPORT_SYMBOL(cap_inode_setxattr); | ||
545 | EXPORT_SYMBOL(cap_inode_removexattr); | ||
546 | EXPORT_SYMBOL(cap_task_post_setuid); | ||
547 | EXPORT_SYMBOL(cap_task_kill); | ||
548 | EXPORT_SYMBOL(cap_task_setscheduler); | ||
549 | EXPORT_SYMBOL(cap_task_setioprio); | ||
550 | EXPORT_SYMBOL(cap_task_setnice); | ||
551 | EXPORT_SYMBOL(cap_task_reparent_to_init); | ||
552 | EXPORT_SYMBOL(cap_syslog); | ||
553 | EXPORT_SYMBOL(cap_vm_enough_memory); | ||