Home
last modified time | relevance | path

Searched refs:accMode (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/fs/vfs/operation/
Dvfs_other.c80 int VfsVnodePermissionCheck(const struct Vnode *node, int accMode) in VfsVnodePermissionCheck() argument
85 return VfsPermissionCheck(fuid, fgid, fileMode, accMode); in VfsVnodePermissionCheck()
88 int VfsPermissionCheck(uint fuid, uint fgid, uint fileMode, int accMode) in VfsPermissionCheck() argument
101 if (((uint)accMode & tmpMode) == accMode) { in VfsPermissionCheck()
108 || (!((uint)accMode & WRITE_OP) && IsCapPermit(CAP_DAC_READ_SEARCH))) { in VfsPermissionCheck()
125 if (((uint)accMode & tmpMode) == accMode) { in VfsPermissionCheck()
/kernel/liteos_a/fs/vfs/include/
Dvnode.h182 int VfsPermissionCheck(uint fuid, uint fgid, mode_t fileMode, int accMode);
183 int VfsVnodePermissionCheck(const struct Vnode *node, int accMode);
/kernel/liteos_a/kernel/base/vm/
Dshm.c400 mode_t accMode; in ShmPermCheck() local
404 accMode = mode & S_IRWXU; in ShmPermCheck()
408 accMode = (mode & S_IRWXG) << SHM_GROUPE_TO_USER; in ShmPermCheck()
411 accMode = (mode & S_IRWXO) << SHM_OTHER_TO_USER; in ShmPermCheck()
432 if ((tmpMode & accMode) == accMode) { in ShmPermCheck()