Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h233 #define MAY_LOCK 0x00002000 /* Locks should be writes, but ... */ macro
Dsmack_lsm.c108 if (mode & MAY_LOCK) in smk_bu_mode()
1585 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_lock()
1586 rc = smk_bu_file(file, MAY_LOCK, rc); in smack_file_lock()
1619 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_fcntl()
1620 rc = smk_bu_file(file, MAY_LOCK, rc); in smack_file_fcntl()
Dsmackfs.c291 perm |= MAY_LOCK; in smk_perm_from_str()
595 if (srp->smk_access & MAY_LOCK) in smk_rule_show()