Home
last modified time | relevance | path

Searched refs:S_ISUID (Results 1 – 25 of 50) sorted by relevance

12

/external/openssh/openbsd-compat/
Dstrmode.c85 switch (mode & (S_IXUSR | S_ISUID)) { in strmode()
92 case S_ISUID: in strmode()
95 case S_IXUSR | S_ISUID: in strmode()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown03.c88 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
137 (NEW_PERMS & ~(S_ISUID | S_ISGID))) in main()
141 NEW_PERMS & ~(S_ISUID | S_ISGID)); in main()
Dchown02.c85 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
179 (stat_buf.st_mode & (S_ISUID | S_ISGID)) != 0) { in main()
/external/python/cpython3/Lib/
Dstat.py92 S_ISUID = 0o4000 # set UID bit variable
139 ((S_IXUSR|S_ISUID, "s"),
140 (S_ISUID, "S"),
/external/libcap/doc/values/
D4.txt1 Allows a process to set the S_ISUID and S_ISUID bits of
/external/strace/
Dprintmode.c57 (mode & S_ISUID) ? "S_ISUID|" : "", in print_symbolic_mode_t()
60 mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)); in print_symbolic_mode_t()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c46 #define NEW_PERMS (mode_t)(S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID)
47 #define FCHOWN_PERMS (mode_t)(NEW_PERMS & ~(S_ISUID | S_ISGID))
Dfchown02.c43 #define NEW_PERMS1 S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID
93 if (((stat_buf.st_mode & (S_ISUID | S_ISGID)))) { in verify_fchown()
/external/python/cpython3/Modules/
D_stat.c124 #ifndef S_ISUID
125 # define S_ISUID 04000 macro
375 if (mode & S_ISUID) { in fileperm()
520 ADD_INT_MACRO(module, S_ISUID); in stat_exec()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.h25 #define SUID_MODE (S_ISUID|S_ISGID|S_IXUSR|S_IXGRP|S_IXOTH)
/external/strace/tests-m32/
Dmknod.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
Dmknodat.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
/external/strace/tests-mx32/
Dmknodat.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
Dmknod.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
/external/strace/tests/
Dmknodat.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
Dmknod.c62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
/external/python/cpython2/Lib/
Dstat.py63 S_ISUID = 04000 variable
/external/ltp/testcases/kernel/syscalls/open/
Dopen13.c43 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl32.c33 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
Dfcntl33.c41 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
/external/kernel-headers/original/uapi/linux/
Dstat.h17 #define S_ISUID 0004000 macro
/external/ltp/testcases/kernel/syscalls/umount2/
Dumount2_01.c40 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c240 if (chmod("validate_cap_suidroot", S_ISUID | 0700) != 0) in do_tests()
247 if (chmod("validate_cap_suidnonroot", S_ISUID | 0700) != 0) in do_tests()
/external/elfutils/lib/
Dsystem.h93 #define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
/external/elfutils/libelf/
Delf_update.c152 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file()

12