Lines Matching refs:smack_known
117 static int smk_bu_note(char *note, struct smack_known *sskp, in smk_bu_note()
118 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
137 static int smk_bu_current(char *note, struct smack_known *oskp, in smk_bu_current()
162 struct smack_known *smk_task = smk_of_task_struct(otp); in smk_bu_task()
214 struct smack_known *sskp = tsp->smk_task; in smk_bu_file()
244 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile()
278 static struct smack_known *smk_fetch(const char *name, struct inode *ip, in smk_fetch()
283 struct smack_known *skp = NULL; in smk_fetch()
312 static void init_inode_smack(struct inode *inode, struct smack_known *skp) in init_inode_smack()
327 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
328 struct smack_known *forked) in init_task_smack()
417 struct smack_known *tracee_known, in smk_ptrace_rule_check()
423 struct smack_known *tracer_known; in smk_ptrace_rule_check()
481 struct smack_known *skp; in smack_ptrace_access_check()
499 struct smack_known *skp; in smack_ptrace_traceme()
516 struct smack_known *skp = smk_of_current(); in smack_syslog()
778 struct smack_known *skp; in smack_set_mnt_opts()
955 struct smack_known *skp = smk_of_current(); in smack_inode_alloc_security()
977 struct smack_known *skp = smk_of_current(); in smack_inode_init_security()
978 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security()
979 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security()
1024 struct smack_known *isp; in smack_inode_link()
1131 struct smack_known *isp; in smack_inode_rename()
1248 struct smack_known *skp; in smack_inode_setxattr()
1312 struct smack_known *skp; in smack_inode_post_setxattr()
1432 struct smack_known *isp; in smack_inode_getsecurity()
1492 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecid()
1526 struct smack_known **blob = smack_file(file); in smack_file_alloc_security()
1651 struct smack_known *skp; in smack_mmap_file()
1652 struct smack_known *mkp; in smack_mmap_file()
1655 struct smack_known *okp; in smack_mmap_file()
1756 struct smack_known **blob = smack_file(file); in smack_file_set_fowner()
1775 struct smack_known **blob; in smack_file_send_sigiotask()
1776 struct smack_known *skp; in smack_file_send_sigiotask()
1777 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred)); in smack_file_send_sigiotask()
1981 struct smack_known *skp; in smack_cred_getsecid()
2035 struct smack_known *skp = smk_of_task_struct(p); in smk_curacc_on_task()
2088 struct smack_known *skp = smk_of_task_struct(p); in smack_task_getsecid()
2175 struct smack_known *skp; in smack_task_kill()
2176 struct smack_known *tkp = smk_of_task_struct(p); in smack_task_kill()
2214 struct smack_known *skp = smk_of_task_struct(p); in smack_task_to_inode()
2236 struct smack_known *skp = smk_of_current(); in smack_sk_alloc_security()
2297 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label()
2347 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label()
2397 struct smack_known *skp = ssp->smk_out; in smack_netlbl_add()
2457 struct smack_known *skp; in smk_ipv4_check()
2459 struct smack_known *hkp; in smk_ipv4_check()
2497 static int smk_ipv6_check(struct smack_known *subject, in smk_ipv6_check()
2498 struct smack_known *object, in smk_ipv6_check()
2623 struct smack_known *skp = NULL; in smk_ipv6_port_check()
2625 struct smack_known *object; in smk_ipv6_port_check()
2687 struct smack_known *skp; in smack_inode_setsecurity()
2845 struct smack_known *rsp = NULL; in smack_socket_connect()
2896 struct smack_known **blob = smack_msg_msg(msg); in smack_msg_msg_alloc_security()
2908 static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp) in smack_of_ipc()
2910 struct smack_known **blob = smack_ipc(isp); in smack_of_ipc()
2923 struct smack_known **blob = smack_ipc(isp); in smack_ipc_alloc_security()
2938 struct smack_known *ssp = smack_of_ipc(isp); in smk_curacc_shm()
3027 struct smack_known *ssp = smack_of_ipc(isp); in smk_curacc_sem()
3122 struct smack_known *msp = smack_of_ipc(isp); in smk_curacc_msq()
3226 struct smack_known **blob = smack_ipc(ipp); in smack_ipc_permission()
3227 struct smack_known *iskp = *blob; in smack_ipc_permission()
3248 struct smack_known **blob = smack_ipc(ipp); in smack_ipc_getsecid()
3249 struct smack_known *iskp = *blob; in smack_ipc_getsecid()
3266 struct smack_known *skp; in smack_d_instantiate()
3267 struct smack_known *ckp = smk_of_current(); in smack_d_instantiate()
3268 struct smack_known *final; in smack_d_instantiate()
3485 struct smack_known *skp = smk_of_task_struct(p); in smack_getprocattr()
3516 struct smack_known *skp; in smack_setprocattr()
3578 struct smack_known *skp; in smack_unix_stream_connect()
3579 struct smack_known *okp; in smack_unix_stream_connect()
3667 struct smack_known *rsp; in smack_socket_sendmsg()
3711 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap, in smack_from_secattr()
3714 struct smack_known *skp; in smack_from_secattr()
3723 return (struct smack_known *)sap->cache->data; in smack_from_secattr()
3843 static struct smack_known *smack_from_skb(struct sk_buff *skb) in smack_from_skb()
3851 static inline struct smack_known *smack_from_skb(struct sk_buff *skb) in smack_from_skb()
3868 static struct smack_known *smack_from_netlbl(struct sock *sk, u16 family, in smack_from_netlbl()
3873 struct smack_known *skp = NULL; in smack_from_netlbl()
3902 struct smack_known *skp = NULL; in smack_socket_sock_rcv_skb()
4036 struct smack_known *skp; in smack_socket_getpeersec_dgram()
4097 struct smack_known *skp = smk_of_current(); in smack_sock_graft()
4122 struct smack_known *skp; in smack_inet_conn_request()
4126 struct smack_known *hskp; in smack_inet_conn_request()
4210 struct smack_known *skp; in smack_inet_csk_clone()
4241 struct smack_known *skp = smk_of_task(smack_cred(cred)); in smack_key_alloc()
4273 struct smack_known *tkp = smk_of_task(smack_cred(cred)); in smack_key_permission()
4340 struct smack_known *skp = key->security; in smack_key_getsecurity()
4370 struct smack_known *tkp = smk_of_current(); in smack_watch_key()
4414 struct smack_known *subj, *obj; in smack_post_notification()
4460 struct smack_known *skp; in smack_audit_rule_init()
4514 struct smack_known *skp; in smack_audit_rule_match()
4567 struct smack_known *skp = smack_from_secid(secid); in smack_secid_to_secctx()
4585 struct smack_known *skp = smk_find_entry(secdata); in smack_secctx_to_secid()
4612 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecctx()
4623 struct smack_known *skp; in smack_inode_copy_up()
4697 .lbs_file = sizeof(struct smack_known *),
4699 .lbs_ipc = sizeof(struct smack_known *),
4700 .lbs_msg_msg = sizeof(struct smack_known *),