aboutsummaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/commoncap.c')
-rw-r--r--security/commoncap.c21
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
33EXPORT_SYMBOL(cap_netlink_send);
34
35int cap_netlink_recv(struct sk_buff *skb, int cap) 33int 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
535EXPORT_SYMBOL(cap_capable);
536EXPORT_SYMBOL(cap_settime);
537EXPORT_SYMBOL(cap_ptrace);
538EXPORT_SYMBOL(cap_capget);
539EXPORT_SYMBOL(cap_capset_check);
540EXPORT_SYMBOL(cap_capset_set);
541EXPORT_SYMBOL(cap_bprm_set_security);
542EXPORT_SYMBOL(cap_bprm_apply_creds);
543EXPORT_SYMBOL(cap_bprm_secureexec);
544EXPORT_SYMBOL(cap_inode_setxattr);
545EXPORT_SYMBOL(cap_inode_removexattr);
546EXPORT_SYMBOL(cap_task_post_setuid);
547EXPORT_SYMBOL(cap_task_kill);
548EXPORT_SYMBOL(cap_task_setscheduler);
549EXPORT_SYMBOL(cap_task_setioprio);
550EXPORT_SYMBOL(cap_task_setnice);
551EXPORT_SYMBOL(cap_task_reparent_to_init);
552EXPORT_SYMBOL(cap_syslog);
553EXPORT_SYMBOL(cap_vm_enough_memory);