Lines Matching refs:smack_known

102 static int smk_bu_note(char *note, struct smack_known *sskp,  in smk_bu_note()
103 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
122 static int smk_bu_current(char *note, struct smack_known *oskp, in smk_bu_current()
147 struct smack_known *smk_task = smk_of_task_struct(otp); in smk_bu_task()
199 struct smack_known *sskp = tsp->smk_task; in smk_bu_file()
229 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile()
263 static struct smack_known *smk_fetch(const char *name, struct inode *ip, in smk_fetch()
268 struct smack_known *skp = NULL; in smk_fetch()
296 static struct inode_smack *new_inode_smack(struct smack_known *skp) in new_inode_smack()
319 static struct task_smack *new_task_smack(struct smack_known *task, in new_task_smack()
320 struct smack_known *forked, gfp_t gfp) in new_task_smack()
417 struct smack_known *tracee_known, in smk_ptrace_rule_check()
423 struct smack_known *tracer_known; in smk_ptrace_rule_check()
479 struct smack_known *skp; in smack_ptrace_access_check()
497 struct smack_known *skp; in smack_ptrace_traceme()
514 struct smack_known *skp = smk_of_current(); in smack_syslog()
760 struct smack_known *skp; in smack_set_mnt_opts()
973 struct smack_known *skp = smk_of_current(); in smack_inode_alloc_security()
1033 struct smack_known *skp = smk_of_current(); in smack_inode_init_security()
1034 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security()
1035 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security()
1080 struct smack_known *isp; in smack_inode_link()
1187 struct smack_known *isp; in smack_inode_rename()
1305 struct smack_known *skp; in smack_inode_setxattr()
1369 struct smack_known *skp; in smack_inode_post_setxattr()
1489 struct smack_known *isp; in smack_inode_getsecurity()
1549 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecid()
1583 struct smack_known *skp = smk_of_current(); in smack_file_alloc_security()
1720 struct smack_known *skp; in smack_mmap_file()
1721 struct smack_known *mkp; in smack_mmap_file()
1724 struct smack_known *okp; in smack_mmap_file()
1842 struct smack_known *skp; in smack_file_send_sigiotask()
1843 struct smack_known *tkp = smk_of_task(tsk->cred->security); in smack_file_send_sigiotask()
2062 struct smack_known *skp; in smack_cred_getsecid()
2116 struct smack_known *skp = smk_of_task_struct(p); in smk_curacc_on_task()
2169 struct smack_known *skp = smk_of_task_struct(p); in smack_task_getsecid()
2258 struct smack_known *skp; in smack_task_kill()
2259 struct smack_known *tkp = smk_of_task_struct(p); in smack_task_kill()
2297 struct smack_known *skp = smk_of_task_struct(p); in smack_task_to_inode()
2319 struct smack_known *skp = smk_of_current(); in smack_sk_alloc_security()
2380 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label()
2431 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label()
2483 struct smack_known *skp; in smack_netlabel()
2525 struct smack_known *skp; in smack_netlabel_send()
2528 struct smack_known *hkp; in smack_netlabel_send()
2568 static int smk_ipv6_check(struct smack_known *subject, in smk_ipv6_check()
2569 struct smack_known *object, in smk_ipv6_check()
2693 struct smack_known *skp = NULL; in smk_ipv6_port_check()
2695 struct smack_known *object; in smk_ipv6_port_check()
2758 struct smack_known *skp; in smack_inode_setsecurity()
2906 struct smack_known *rsp; in smack_socket_connect()
2968 struct smack_known *skp = smk_of_current(); in smack_msg_msg_alloc_security()
2991 static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp) in smack_of_ipc()
2993 return (struct smack_known *)isp->security; in smack_of_ipc()
3004 struct smack_known *skp = smk_of_current(); in smack_ipc_alloc_security()
3030 struct smack_known *ssp = smack_of_ipc(isp); in smk_curacc_shm()
3119 struct smack_known *ssp = smack_of_ipc(isp); in smk_curacc_sem()
3214 struct smack_known *msp = smack_of_ipc(isp); in smk_curacc_msq()
3318 struct smack_known *iskp = ipp->security; in smack_ipc_permission()
3339 struct smack_known *iskp = ipp->security; in smack_ipc_getsecid()
3356 struct smack_known *skp; in smack_d_instantiate()
3357 struct smack_known *ckp = smk_of_current(); in smack_d_instantiate()
3358 struct smack_known *final; in smack_d_instantiate()
3579 struct smack_known *skp = smk_of_task_struct(p); in smack_getprocattr()
3610 struct smack_known *skp; in smack_setprocattr()
3672 struct smack_known *skp; in smack_unix_stream_connect()
3673 struct smack_known *okp; in smack_unix_stream_connect()
3761 struct smack_known *rsp; in smack_socket_sendmsg()
3797 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap, in smack_from_secattr()
3800 struct smack_known *skp; in smack_from_secattr()
3926 struct smack_known *skp = NULL; in smack_socket_sock_rcv_skb()
4074 struct smack_known *skp; in smack_socket_getpeersec_dgram()
4137 struct smack_known *skp = smk_of_current(); in smack_sock_graft()
4162 struct smack_known *skp; in smack_inet_conn_request()
4167 struct smack_known *hskp; in smack_inet_conn_request()
4263 struct smack_known *skp; in smack_inet_csk_clone()
4294 struct smack_known *skp = smk_of_task(cred->security); in smack_key_alloc()
4325 struct smack_known *tkp = smk_of_task(cred->security); in smack_key_permission()
4372 struct smack_known *skp = key->security; in smack_key_getsecurity()
4419 struct smack_known *skp; in smack_audit_rule_init()
4475 struct smack_known *skp; in smack_audit_rule_match()
4528 struct smack_known *skp = smack_from_secid(secid); in smack_secid_to_secctx()
4546 struct smack_known *skp = smk_find_entry(secdata); in smack_secctx_to_secid()
4573 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecctx()
4584 struct smack_known *skp; in smack_inode_copy_up()