Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/chmod/
H A Dcommon.c139 mode_t perms_msk; in newmode_common() local
171 perms_msk = 0; in newmode_common()
177 perms_msk = (new_mode & USER) >> 6; in newmode_common()
180 perms_msk = (new_mode & GROUP) >> 3; in newmode_common()
183 perms_msk = (new_mode & OTHER); in newmode_common()
185 perms_msk &= (READ|WRITE|EXEC); in newmode_common()
186 perms_msk |= (perms_msk << 3) | in newmode_common()
187 (perms_msk << 6); in newmode_common()
195 perms_msk |= READ; in newmode_common()
198 perms_msk |= WRITE; in newmode_common()
[all …]