Home
last modified time | relevance | path

Searched refs:uid_t (Results 1 – 25 of 133) sorted by relevance

123456

/external/compiler-rt/test/msan/Linux/
Dgetresid.cc11 uid_t uids[6]; in main()
12 assert(0 == __msan_test_shadow(uids, 6 * sizeof(uid_t))); in main()
15 assert(sizeof(uid_t) == in main()
16 __msan_test_shadow(uids + 2 * i, 2 * sizeof(uid_t))); in main()
/external/strace/
Duid.c66 # undef uid_t
67 # define uid_t uid_t_(STRACE_UID_SIZE) macro
79 tprintf("%u", (uid_t) tcp->u_arg[0]); in SYS_FUNC()
94 uid_t uid; in get_print_uid()
151 if ((unsigned int) -1 == uid || (uid_t) -1 == uid) in printuid()
160 uid_t gid; in SYS_FUNC()
214 uid_t gid; in SYS_FUNC()
Dfile.c37 #undef uid_t
45 #define uid_t __kernel_uid_t macro
56 #undef uid_t
64 #define uid_t uid_t macro
/external/selinux/policycoreutils/sandbox/
Dseunshare.c80 static int drop_privs(uid_t uid) in drop_privs()
140 static int spawn_command(const char *cmd, uid_t uid){ in spawn_command()
170 static int check_owner_uid(uid_t uid, const char *file, struct stat *st) { in check_owner_uid()
412 if ((uid_t)setfsuid(0) != 0) { in cleanup_tmpdir()
419 if ((uid_t)setfsuid(pwd->pw_uid) != 0) { in cleanup_tmpdir()
444 if ((uid_t)setfsuid(pwd->pw_uid) != 0) in create_tmpdir()
465 if ((uid_t)setfsuid(0) != pwd->pw_uid) in create_tmpdir()
521 if ((uid_t)setfsuid(pwd->pw_uid) != 0) in create_tmpdir()
529 if ((uid_t)setfsuid(0) != pwd->pw_uid) in create_tmpdir()
642 uid_t uid = getuid(); in main()
[all …]
/external/libselinux/include/selinux/
Dandroid.h28 extern int selinux_android_setcontext(uid_t uid,
36 uid_t uid);
50 uid_t uid,
/external/fio/os/windows/posix/include/sys/
Dshm.h8 typedef int uid_t; typedef
16 uid_t uid; /* owner's user ID */
18 uid_t cuid; /* creator's user ID */
/external/minijail/test/
Dlibminijail_test.cpp23 const uid_t kSystemUid = 1000U;
50 bool check_ugid(uid_t expected_id) { in check_ugid()
53 uid_t ruid = getuid(); in check_ugid()
97 uid_t ruid, euid, suid; in log_resugid()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dstat.h24 uid_t st_uid;
60 uid_t st_uid;
101 uid_t st_uid;
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.h63 SANDBOX_EXPORT int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid);
Dnamespace_utils.h20 static_assert((base::is_same<uid_t, gid_t>::value),
23 typedef uid_t generic_id_t;
Dsyscall_wrappers.cc100 int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) { in sys_getresuid()
Dcredentials.cc44 bool GetRESIds(uid_t* resuid, gid_t* resgid) { in GetRESIds()
45 uid_t ruid, euid, suid; in GetRESIds()
282 uid_t uid; in MoveToNewUserNS()
Dsyscall_wrappers_unittest.cc67 uid_t ruid, euid, suid; in TEST()
68 uid_t sys_ruid, sys_euid, sys_suid; in TEST()
/external/libedit/
Dacinclude.m441 # int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **);
46 getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);],
56 # struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
62 getpwuid_r((uid_t)0, NULL, NULL, (size_t)0);],
/external/libbrillo/brillo/
Dfile_utils.cc58 uid_t uid, in RegularFileOrDelete()
95 uid_t uid, in TouchFileInternal()
135 uid_t uid, in TouchFile()
Dprocess.h70 virtual void SetUid(uid_t uid) = 0;
170 virtual void SetUid(uid_t uid);
220 uid_t uid_;
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.h99 uid_t uid;
185 uid_t uid;
204 uid_t uid;
/external/bison/lib/
Dunistd.in.h271 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
273 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
276 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
279 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
505 uid_t owner, gid_t group, int flag)
508 uid_t owner, gid_t group, int flag));
512 uid_t owner, gid_t group, int flag)
516 uid_t owner, gid_t group, int flag));
991 _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)
993 _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group));
[all …]
/external/bison/linux-lib/
Dunistd.h583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
817 uid_t owner, gid_t group, int flag)
820 uid_t owner, gid_t group, int flag));
824 uid_t owner, gid_t group, int flag)
828 uid_t owner, gid_t group, int flag));
1303 _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)
1305 _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group));
[all …]
/external/bison/darwin-lib/
Dunistd.h583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
817 uid_t owner, gid_t group, int flag)
820 uid_t owner, gid_t group, int flag));
824 uid_t owner, gid_t group, int flag)
828 uid_t owner, gid_t group, int flag));
1303 _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)
1305 _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group));
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_linux.cc38 #define uid_t __kernel_uid_t macro
46 #undef uid_t
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3021 LSS_INLINE _syscall0(uid_t, geteuid) in _syscall4()
3032 LSS_INLINE _syscall3(int, getresuid, uid_t *, r, in _syscall4()
3033 uid_t *, e, uid_t *, s) in _syscall4()
3128 LSS_INLINE _syscall1(int, setfsuid, uid_t, u) in _syscall2()
3129 LSS_INLINE _syscall1(int, setuid, uid_t, u) in _syscall2()
3137 LSS_INLINE _syscall3(int, setresuid, uid_t, r, in _syscall2()
3138 uid_t, e, uid_t, s) in _syscall2()
3201 LSS_INLINE int LSS_NAME(getresuid32)(uid_t *ruid, in LSS_NAME()
3202 uid_t *euid, in LSS_NAME()
3203 uid_t *suid) { in LSS_NAME()
[all …]
/external/iproute2/ip/
Diptuntap.c48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) in tap_add_ioctl()
107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) in parse_args()
201 uid_t uid = -1; in do_add()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc126 const Arg<uid_t> uid(0); in EvaluateSyscall()
200 const Arg<uid_t> ruid(0), euid(1), suid(2); in EvaluateSyscall()
322 const Arg<uid_t> uid(0); in EvaluateSyscall()
343 for (uid_t uid = 0; uid < 0x100; ++uid) { in TEST()
365 const Arg<uid_t> uid(0); in EvaluateSyscall()
/external/selinux/policycoreutils/run_init/
Drun_init.c238 uid_t uid;
250 if (uid == (uid_t) - 1)

123456