Lines Matching refs:smack_known
117 static int smk_bu_note(char *note, struct smack_known *sskp,
118 struct smack_known *oskp, int mode, int rc)
137 static int smk_bu_current(char *note, struct smack_known *oskp,
162 struct smack_known *smk_task = smk_of_task_struct(otp);
214 struct smack_known *sskp = tsp->smk_task;
244 struct smack_known *sskp = tsp->smk_task;
278 static struct smack_known *smk_fetch(const char *name, struct inode *ip,
283 struct smack_known *skp = NULL;
311 static void init_inode_smack(struct inode *inode, struct smack_known *skp)
326 static void init_task_smack(struct task_smack *tsp, struct smack_known *task,
327 struct smack_known *forked)
416 struct smack_known *tracee_known,
422 struct smack_known *tracer_known;
480 struct smack_known *skp;
498 struct smack_known *skp;
515 struct smack_known *skp = smk_of_current();
777 struct smack_known *skp;
954 struct smack_known *skp = smk_of_current();
977 struct smack_known *skp = smk_of_task(tsp);
978 struct smack_known *isp = smk_of_inode(inode);
979 struct smack_known *dsp = smk_of_inode(dir);
1038 struct smack_known *isp;
1145 struct smack_known *isp;
1262 struct smack_known *skp;
1326 struct smack_known *skp;
1446 struct smack_known *isp;
1520 struct smack_known *skp = smk_of_inode(inode);
1554 struct smack_known **blob = smack_file(file);
1679 struct smack_known *skp;
1680 struct smack_known *mkp;
1683 struct smack_known *okp;
1784 struct smack_known **blob = smack_file(file);
1803 struct smack_known **blob;
1804 struct smack_known *skp;
1805 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred));
2009 struct smack_known *skp;
2063 struct smack_known *skp = smk_of_task_struct(p);
2116 struct smack_known *skp = smk_of_task_struct(p);
2203 struct smack_known *skp;
2204 struct smack_known *tkp = smk_of_task_struct(p);
2242 struct smack_known *skp = smk_of_task_struct(p);
2264 struct smack_known *skp = smk_of_current();
2325 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip)
2375 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip)
2425 struct smack_known *skp = ssp->smk_out;
2485 struct smack_known *skp;
2487 struct smack_known *hkp;
2525 static int smk_ipv6_check(struct smack_known *subject,
2526 struct smack_known *object,
2651 struct smack_known *skp = NULL;
2653 struct smack_known *object;
2715 struct smack_known *skp;
2873 struct smack_known *rsp = NULL;
2924 struct smack_known **blob = smack_msg_msg(msg);
2936 static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp)
2938 struct smack_known **blob = smack_ipc(isp);
2951 struct smack_known **blob = smack_ipc(isp);
2966 struct smack_known *ssp = smack_of_ipc(isp);
3055 struct smack_known *ssp = smack_of_ipc(isp);
3150 struct smack_known *msp = smack_of_ipc(isp);
3254 struct smack_known **blob = smack_ipc(ipp);
3255 struct smack_known *iskp = *blob;
3276 struct smack_known **blob = smack_ipc(ipp);
3277 struct smack_known *iskp = *blob;
3294 struct smack_known *skp;
3295 struct smack_known *ckp = smk_of_current();
3296 struct smack_known *final;
3513 struct smack_known *skp = smk_of_task_struct(p);
3544 struct smack_known *skp;
3606 struct smack_known *skp;
3607 struct smack_known *okp;
3695 struct smack_known *rsp;
3739 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap,
3742 struct smack_known *skp;
3751 return (struct smack_known *)sap->cache->data;
3868 * Returns smack_known of the secmark or NULL if that won't work.
3871 static struct smack_known *smack_from_skb(struct sk_buff *skb)
3879 static inline struct smack_known *smack_from_skb(struct sk_buff *skb)
3894 * Returns smack_known of the IP options or NULL if that won't work.
3896 static struct smack_known *smack_from_netlbl(struct sock *sk, u16 family,
3901 struct smack_known *skp = NULL;
3930 struct smack_known *skp = NULL;
4064 struct smack_known *skp;
4125 struct smack_known *skp = smk_of_current();
4150 struct smack_known *skp;
4154 struct smack_known *hskp;
4238 struct smack_known *skp;
4269 struct smack_known *skp = smk_of_task(smack_cred(cred));
4301 struct smack_known *tkp = smk_of_task(smack_cred(cred));
4368 struct smack_known *skp = key->security;
4398 struct smack_known *tkp = smk_of_current();
4442 struct smack_known *subj, *obj;
4470 * the smack_known label address related to the given audit rule as
4488 struct smack_known *skp;
4542 struct smack_known *skp;
4557 * both pointers will point to the same smack_known
4595 struct smack_known *skp = smack_from_secid(secid);
4613 struct smack_known *skp = smk_find_entry(secdata);
4640 struct smack_known *skp = smk_of_inode(inode);
4651 struct smack_known *skp;
4727 .lbs_file = sizeof(struct smack_known *),
4729 .lbs_ipc = sizeof(struct smack_known *),
4730 .lbs_msg_msg = sizeof(struct smack_known *),