Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmack_access.c94 may |= MAY_LOCK; in smk_access_entry()
154 (request & MAY_LOCK) == request) { in smk_access()
300 if (access & MAY_LOCK) in smack_str_from_perm()
Dsmack.h224 #define MAY_LOCK 0x00002000 /* Locks should be writes, but ... */ macro
Dsmack_lsm.c111 if (mode & MAY_LOCK) in smk_bu_mode()
1567 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_lock()
1568 rc = smk_bu_file(file, MAY_LOCK, rc); in smack_file_lock()
1601 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_fcntl()
1602 rc = smk_bu_file(file, MAY_LOCK, rc); in smack_file_fcntl()
Dsmackfs.c292 perm |= MAY_LOCK; in smk_perm_from_str()
596 if (srp->smk_access & MAY_LOCK) in smk_rule_show()