Home
last modified time | relevance | path

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

/system/core/toolbox/upstream-netbsd/bin/cp/
Dutils.c158 fs->st_mode & ~(S_ISUID | S_ISGID)); in copy_file()
167 fs->st_mode & ~(S_ISUID | S_ISGID)); in copy_file()
294 (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) in copy_file()
296 && fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid) { in copy_file()
384 fs->st_mode &= S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO;
398 fs->st_mode &= ~(S_ISUID | S_ISGID);
/system/extras/f2fs_utils/
Df2fs_ioutils.c74 #define S_ISGID 0002000 macro
/system/core/libcutils/
Dfs.c37 #define ALL_PERMS (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
/system/core/toolbox/upstream-netbsd/bin/mv/
Dmv.c318 sbp->st_mode &= ~(S_ISUID | S_ISGID); in fastcopy()
/system/extras/ext4_utils/
Dmake_ext4fs.c58 #define S_ISGID 0002000 macro
183 dentries[i].mode = stat.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO); in build_directory_structure()
/system/core/init/
Dbuiltins.c341 if (mode & (S_ISUID | S_ISGID)) { in do_mkdir()
/system/vold/
DVolumeManager.cpp575 … || fchmod(dirfd, S_IRUSR | S_IWUSR | S_IXUSR | S_ISGID | S_IRGRP | S_IXGRP)) { in createAsec()