Searched refs:smk_access (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/security/smack/ |
| D | smackfs.c | 229 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 …]
|
| D | smack_access.c | 90 may = srp->smk_access; in smk_access_entry() 116 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access() function 229 rc = smk_access(sbj_known, obj_known, mode, NULL); in smk_tskacc()
|
| D | smack.h | 137 int smk_access; member 300 int smk_access(struct smack_known *, struct smack_known *,
|
| D | smack_lsm.c | 1714 may = srp->smk_access; in smack_mmap_file() 1716 may &= srp->smk_access; in smack_mmap_file() 1802 rc = smk_access(skp, tkp, MAY_DELIVER, NULL); in smack_file_send_sigiotask() 1849 rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); in smack_file_receive() 1853 rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); in smack_file_receive() 2210 rc = smk_access(skp, tkp, MAY_DELIVER, &ad); in smack_task_kill() 2473 rc = smk_access(skp, hkp, MAY_WRITE, &ad); in smack_netlabel_send() 2515 rc = smk_access(subject, object, MAY_WRITE, &ad); in smk_ipv6_check() 3605 rc = smk_access(skp, okp, MAY_WRITE, &ad); in smack_unix_stream_connect() 3610 rc = smk_access(okp, skp, MAY_WRITE, &ad); in smack_unix_stream_connect() [all …]
|