Home
last modified time | relevance | path

Searched refs:smk_access (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/security/smack/
Dsmack_access.c89 int may = srp->smk_access; in smk_access_entry()
115 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access() function
228 rc = smk_access(sbj_known, obj_known, mode, NULL); in smk_tskacc()
Dsmackfs.c229 sp->smk_access |= srp->smk_access1; in smk_set_access()
230 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
244 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
576 if (srp->smk_access == 0) in smk_rule_show()
585 if (srp->smk_access & MAY_READ) in smk_rule_show()
587 if (srp->smk_access & MAY_WRITE) in smk_rule_show()
589 if (srp->smk_access & MAY_EXEC) in smk_rule_show()
591 if (srp->smk_access & MAY_APPEND) in smk_rule_show()
593 if (srp->smk_access & MAY_TRANSMUTE) in smk_rule_show()
595 if (srp->smk_access & MAY_LOCK) in smk_rule_show()
[all …]
Dsmack.h140 int smk_access; member
286 int smk_access(struct smack_known *, struct smack_known *,
Dsmack_lsm.c1702 may = srp->smk_access; in smack_mmap_file()
1704 may &= srp->smk_access; in smack_mmap_file()
1790 rc = smk_access(skp, tkp, MAY_DELIVER, NULL); in smack_file_send_sigiotask()
1837 rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); in smack_file_receive()
1841 rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); in smack_file_receive()
2198 rc = smk_access(skp, tkp, MAY_DELIVER, &ad); in smack_task_kill()
2474 rc = smk_access(skp, hkp, MAY_WRITE, &ad); in smk_ipv4_check()
2515 rc = smk_access(subject, object, MAY_WRITE, &ad); in smk_ipv6_check()
3595 rc = smk_access(skp, okp, MAY_WRITE, &ad); in smack_unix_stream_connect()
3600 rc = smk_access(okp, skp, MAY_WRITE, &ad); in smack_unix_stream_connect()
[all …]