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

/linux-master/security/smack/
H A Dsmack_access.c91 * MAY_WRITE implies MAY_LOCK.
94 may |= MAY_LOCK;
154 (request & MAY_LOCK) == request) {
300 if (access & MAY_LOCK)
H A Dsmack.h225 #define MAY_LOCK 0x00002000 /* Locks should be writes, but ... */ macro
H A Dsmack_lsm.c122 if (mode & MAY_LOCK)
1727 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad);
1728 rc = smk_bu_file(file, MAY_LOCK, rc);
1761 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad);
1762 rc = smk_bu_file(file, MAY_LOCK, rc);
H A Dsmackfs.c292 perm |= MAY_LOCK;
596 if (srp->smk_access & MAY_LOCK)

Completed in 135 milliseconds