Lines Matching refs:smack_known

129 static int smk_bu_note(char *note, struct smack_known *sskp,
130 struct smack_known *oskp, int mode, int rc)
149 static int smk_bu_current(char *note, struct smack_known *oskp,
174 struct smack_known *smk_task = smk_of_task_struct_obj(otp);
226 struct smack_known *sskp = tsp->smk_task;
256 struct smack_known *sskp = tsp->smk_task;
290 static struct smack_known *smk_fetch(const char *name, struct inode *ip,
295 struct smack_known *skp = NULL;
323 static void init_inode_smack(struct inode *inode, struct smack_known *skp)
338 static void init_task_smack(struct task_smack *tsp, struct smack_known *task,
339 struct smack_known *forked)
428 struct smack_known *tracee_known,
434 struct smack_known *tracer_known;
492 struct smack_known *skp;
509 struct smack_known *skp;
525 struct smack_known *skp = smk_of_current();
577 struct smack_known *skp;
804 struct smack_known *skp;
974 struct smack_known *skp = smk_of_current();
995 struct smack_known *skp = smk_of_task(tsp);
996 struct smack_known *isp = smk_of_inode(inode);
997 struct smack_known *dsp = smk_of_inode(dir);
1068 struct smack_known *isp;
1175 struct smack_known *isp;
1294 struct smack_known *skp;
1359 struct smack_known *skp;
1550 struct smack_known *isp;
1624 struct smack_known *skp = smk_of_inode(inode);
1658 struct smack_known **blob = smack_file(file);
1784 struct smack_known *skp;
1785 struct smack_known *mkp;
1788 struct smack_known *okp;
1889 struct smack_known **blob = smack_file(file);
1908 struct smack_known **blob;
1909 struct smack_known *skp;
1910 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred));
2114 struct smack_known *skp;
2168 struct smack_known *skp = smk_of_task_struct_obj(p);
2220 struct smack_known *skp = smk_of_current();
2234 struct smack_known *skp = smk_of_task_struct_obj(p);
2321 struct smack_known *skp;
2322 struct smack_known *tkp = smk_of_task_struct_obj(p);
2360 struct smack_known *skp = smk_of_task_struct_obj(p);
2382 struct smack_known *skp = smk_of_current();
2458 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip)
2508 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip)
2558 struct smack_known *skp = ssp->smk_out;
2618 struct smack_known *skp;
2620 struct smack_known *hkp;
2658 static int smk_ipv6_check(struct smack_known *subject,
2659 struct smack_known *object,
2783 struct smack_known *skp = NULL;
2785 struct smack_known *object;
2848 struct smack_known *skp;
3015 struct smack_known *rsp = NULL;
3067 struct smack_known **blob = smack_msg_msg(msg);
3079 static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp)
3081 struct smack_known **blob = smack_ipc(isp);
3094 struct smack_known **blob = smack_ipc(isp);
3109 struct smack_known *ssp = smack_of_ipc(isp);
3198 struct smack_known *ssp = smack_of_ipc(isp);
3293 struct smack_known *msp = smack_of_ipc(isp);
3399 struct smack_known **blob = smack_ipc(ipp);
3400 struct smack_known *iskp = *blob;
3421 struct smack_known **blob = smack_ipc(ipp);
3422 struct smack_known *iskp = *blob;
3439 struct smack_known *skp;
3440 struct smack_known *ckp = smk_of_current();
3441 struct smack_known *final;
3650 struct smack_known *skp = smk_of_task_struct_obj(p);
3681 struct smack_known *skp;
3743 struct smack_known *skp;
3744 struct smack_known *okp;
3832 struct smack_known *rsp;
3876 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap,
3879 struct smack_known *skp;
3888 return (struct smack_known *)sap->cache->data;
4005 * Returns smack_known of the secmark or NULL if that won't work.
4008 static struct smack_known *smack_from_skb(struct sk_buff *skb)
4016 static inline struct smack_known *smack_from_skb(struct sk_buff *skb)
4031 * Returns smack_known of the IP options or NULL if that won't work.
4033 static struct smack_known *smack_from_netlbl(const struct sock *sk, u16 family,
4038 struct smack_known *skp = NULL;
4066 struct smack_known *skp = NULL;
4201 struct smack_known *skp;
4262 struct smack_known *skp = smk_of_current();
4287 struct smack_known *skp;
4291 struct smack_known *hskp;
4375 struct smack_known *skp;
4406 struct smack_known *skp = smk_of_task(smack_cred(cred));
4438 struct smack_known *tkp = smk_of_task(smack_cred(cred));
4505 struct smack_known *skp = key->security;
4535 struct smack_known *tkp = smk_of_current();
4579 struct smack_known *subj, *obj;
4607 * the smack_known label address related to the given audit rule as
4625 struct smack_known *skp;
4679 struct smack_known *skp;
4694 * both pointers will point to the same smack_known
4732 struct smack_known *skp = smack_from_secid(secid);
4750 struct smack_known *skp = smk_find_entry(secdata);
4779 struct smack_known *skp = smk_of_inode(inode);
4790 struct smack_known *skp;
4938 .lbs_file = sizeof(struct smack_known *),
4940 .lbs_ipc = sizeof(struct smack_known *),
4941 .lbs_msg_msg = sizeof(struct smack_known *),