Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmackfs.c230 sp->smk_access |= srp->smk_access1; in smk_set_access()
231 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
245 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
577 if (srp->smk_access == 0) in smk_rule_show()
586 if (srp->smk_access & MAY_READ) in smk_rule_show()
588 if (srp->smk_access & MAY_WRITE) in smk_rule_show()
590 if (srp->smk_access & MAY_EXEC) in smk_rule_show()
592 if (srp->smk_access & MAY_APPEND) in smk_rule_show()
594 if (srp->smk_access & MAY_TRANSMUTE) in smk_rule_show()
596 if (srp->smk_access & MAY_LOCK) in smk_rule_show()
[all …]
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()
Dsmack.h140 int smk_access; member
277 int smk_access(struct smack_known *, struct smack_known *,
Dsmack_lsm.c1685 may = srp->smk_access; in smack_mmap_file()
1687 may &= srp->smk_access; in smack_mmap_file()
1773 rc = smk_access(skp, tkp, MAY_DELIVER, NULL); in smack_file_send_sigiotask()
1820 rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); in smack_file_receive()
1824 rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); in smack_file_receive()
2194 rc = smk_access(skp, tkp, MAY_DELIVER, &ad); in smack_task_kill()
2485 rc = smk_access(skp, hkp, MAY_WRITE, &ad); in smk_ipv4_check()
2526 rc = smk_access(subject, object, MAY_WRITE, &ad); in smk_ipv6_check()
3609 rc = smk_access(skp, okp, MAY_WRITE, &ad); in smack_unix_stream_connect()
3614 rc = smk_access(okp, skp, MAY_WRITE, &ad); in smack_unix_stream_connect()
[all …]