Searched refs:skp (Results 1 – 5 of 5) sorted by relevance
| /security/smack/ |
| A D | smack_access.c | 415 hash = full_name_hash(NULL, skp->smk_known, strlen(skp->smk_known)); in smk_insert_entry() 440 return skp; in smk_find_entry() 532 skp->smk_netlabel.attr.secid = skp->smk_secid; in smack_populate_secattr() 533 skp->smk_netlabel.domain = skp->smk_known; in smack_populate_secattr() 538 skp->smk_netlabel.cache->data = skp; in smack_populate_secattr() 553 &skp->smk_netlabel, sizeof(skp->smk_secid)); in smack_populate_secattr() 578 if (skp != NULL) in smk_import_entry() 581 skp = kzalloc(sizeof(*skp), GFP_NOFS); in smk_import_entry() 601 kfree(skp); in smk_import_entry() 608 return skp; in smk_import_entry() [all …]
|
| A D | smack_lsm.c | 293 skp = NULL; in smk_fetch() 299 return skp; in smk_fetch() 1938 skp = *blob; in smack_file_send_sigiotask() 3636 if (IS_ERR(skp) || skp == &smack_known_star || in smack_d_instantiate() 3642 if (IS_ERR(skp) || skp == &smack_known_star || in smack_d_instantiate() 3685 skp->smk_known, strlen(skp->smk_known) + 1, in smack_getselfattr() 4148 return skp; in smack_from_netlbl() 4319 if (skp) { in smack_socket_getpeersec_dgram() 4335 if (skp) in smack_socket_getpeersec_dgram() 4742 struct smack_known *skp = prop->smack.skp; in smack_audit_rule_match() local [all …]
|
| A D | smackfs.c | 337 if (skp == NULL) in smk_fill_rule() 346 if (skp == NULL) in smk_fill_rule() 857 if (IS_ERR(skp)) { in smk_set_cipso() 858 rc = PTR_ERR(skp); in smk_set_cipso() 1195 if (IS_ERR(skp)) { in smk_write_net4addr() 1315 seq_printf(s, "%pI6/%d %s\n", &skp->smk_host, skp->smk_masks, in net6addr_seq_show() 1835 if (IS_ERR(skp)) { in smk_write_ambient() 1953 if (IS_ERR(skp)) in smk_parse_label_list() 2109 skp = NULL; in smk_write_unconfined() 2536 if (skp == NULL) in smk_write_revoke_subj() [all …]
|
| A D | smack_netfilter.c | 27 struct smack_known *skp; in smack_ip_output() local 31 skp = ssp->smk_out; in smack_ip_output() 32 skb->secmark = skp->smk_secid; in smack_ip_output()
|
| A D | smack.h | 292 void smk_insert_entry(struct smack_known *skp); 297 int smack_populate_secattr(struct smack_known *skp); 406 struct smack_known *skp; in smk_of_task_struct_obj() local 412 skp = smk_of_task(smack_cred(cred)); in smk_of_task_struct_obj() 416 return skp; in smk_of_task_struct_obj()
|
Completed in 25 milliseconds