Searched refs:skp (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/security/smack/ |
| H 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 …]
|
| H A D | smack_lsm.c | 294 skp = NULL; in smk_fetch() 300 return skp; in smk_fetch() 1939 skp = *blob; in smack_file_send_sigiotask() 3637 if (IS_ERR(skp) || skp == &smack_known_star || in smack_d_instantiate() 3643 if (IS_ERR(skp) || skp == &smack_known_star || in smack_d_instantiate() 3686 skp->smk_known, strlen(skp->smk_known) + 1, in smack_getselfattr() 4155 return skp; in smack_from_netlbl() 4326 if (skp) { in smack_socket_getpeersec_dgram() 4342 if (skp) in smack_socket_getpeersec_dgram() 4749 struct smack_known *skp = prop->smack.skp; in smack_audit_rule_match() local [all …]
|
| H 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() 1196 if (IS_ERR(skp)) { in smk_write_net4addr() 1316 seq_printf(s, "%pI6/%d %s\n", &skp->smk_host, skp->smk_masks, in net6addr_seq_show() 1837 if (IS_ERR(skp)) { in smk_write_ambient() 1955 if (IS_ERR(skp)) in smk_parse_label_list() 2111 skp = NULL; in smk_write_unconfined() 2538 if (skp == NULL) in smk_write_revoke_subj() [all …]
|
| H 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()
|
| H 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()
|
| /linux-6.15/include/linux/lsm/ |
| H A D | smack.h | 13 struct smack_known *skp; member
|