/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/linux/ |
ipc.h | 23 __kernel_gid_t gid; member in struct:ipc_perm
|
/system/core/include/cutils/ |
fs.h | 44 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
|
/build/tools/fs_get_stats/ |
fs_get_stats.c | 43 unsigned gid = (unsigned)-1; local 61 fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities); 62 fprintf(stdout, "%d %d 0%o\n", uid, gid, perms);
|
/external/kernel-headers/original/linux/ |
ncp_mount.h | 39 __kernel_gid_t gid; member in struct:ncp_mount_data 63 unsigned long gid; member in struct:ncp_mount_data_v4 85 __kernel_gid32_t gid; member in struct:ncp_mount_data_kernel
|
/frameworks/base/core/jni/ |
android_os_FileUtils.cpp | 38 jint uid, jint gid) 49 if (uid >= 0 || gid >= 0) { 50 int res = chown(file8.string(), uid, gid);
|
/system/extras/tests/fstest/ |
perm_checker.c | 92 printf("# ERROR # Invalid gid '%s' reading line %d\n", str, line_num); 200 static void print_new_rule(const char *name, mode_t mode, uid_t uid, gid_t gid) 204 gr = getgrgid(gid); 207 gr->gr_name, gid); 211 static int pass_rule(const perm_rule_t *pr, mode_t mode, uid_t uid, gid_t gid) 215 (pr->min_gid <= gid) && (pr->max_gid >= gid) && 223 static int validate_file(const char *name, mode_t mode, uid_t uid, gid_t gid) 232 if (!pass_rule(pr, mode, uid, gid)) 245 print_new_rule(name, mode, uid, gid); [all...] |
/external/iproute2/ip/ |
iptuntap.c | 48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) 70 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) { 107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) 149 } else if (gid && matches(*argv, "group") == 0) { 156 *gid = group; 163 *gid = gr->gr_gid; 195 gid_t gid = -1; local 197 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0) 204 return tap_add_ioctl(&ifr, uid, gid); [all...] |
/external/dropbear/ |
svr-agentfwd.c | 139 gid_t gid; local 152 gid = getgid(); 169 (setegid(gid)) < 0) { 210 gid_t gid; local 215 gid = getgid(); 260 (setegid(gid)) < 0) {
|
sshpty.c | 359 gid_t gid; local 366 gid = grp->gr_gid; 369 gid = pw->pw_gid; 383 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { 384 if (chown(tty_name, pw->pw_uid, gid) < 0) { 389 tty_name, (unsigned int)pw->pw_uid, (unsigned int)gid, 393 tty_name, (unsigned int)pw->pw_uid, (unsigned int)gid,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
FileUtils.java | 57 private int gid; field in class:FileUtils.FileStatus 72 return gid; 110 public native static String getGroupName(int gid);
|
/external/icu4c/layout/ |
LETypes.h | 174 #define LE_GET_GLYPH(gid) ((gid & LE_GLYPH_MASK) >> LE_GLYPH_SHIFT) 182 #define LE_GET_SUB_FONT(gid) ((gid & LE_SUB_FONT_MASK) >> LE_SUB_FONT_SHIFT) 190 #define LE_GET_CLIENT(gid) ((gid & LE_CLIENT_MASK) >> LE_CLIENT_SHIFT) 199 #define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MASK)) 207 #define LE_SET_SUB_FONT(gid, font) ((gid & ~LE_SUB_FONT_MASK) | ((font << LE_SUB_FONT_SHIFT) & LE_SUB_FONT_MASK) [all...] |
/system/core/libcutils/ |
fs.c | 34 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { 51 if (((sb.st_mode & ALL_PERMS) == mode) && (sb.st_uid == uid) && (sb.st_gid == gid)) { 70 if (TEMP_FAILURE_RETRY(chown(path, uid, gid)) == -1) { 71 ALOGE("Failed to chown(%s, %d, %d): %s", path, uid, gid, strerror(errno));
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
captest.c | 58 gid_t gid, egid, sgid; local 68 getresgid(&gid, &egid, &sgid); 79 getresgid(&gid, &egid, &sgid); 89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid); 90 if (uid != euid || gid != egid)
|
/system/core/include/private/ |
android_filesystem_config.h | 163 unsigned gid; member in struct:fs_path_config 219 /* the following file is INTENTIONALLY set-gid and not set-uid. 250 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities) 276 *gid = pc->gid; 282 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
|
/system/core/init/ |
property_service.c | 63 unsigned int gid; member in struct:__anon43911 106 unsigned int gid; member in struct:__anon43912 249 static int check_control_perms(const char *name, unsigned int uid, unsigned int gid, char *sctx) { 259 (gid && control_perms[i].gid == gid)) { 271 static int check_perms(const char *name, unsigned int uid, unsigned int gid, char *sctx) 291 (gid && property_perms[i].gid == gid)) { [all...] |
ueventd.c | 117 gid_t gid; local 174 ERROR("invalid gid '%s'\n", args[3]); 178 gid = ret; 180 add_dev_perms(name, attr, perm, uid, gid, prefix);
|
/external/openssh/ |
sshpty.c | 211 gid_t gid; local 218 gid = grp->gr_gid; 221 gid = pw->pw_gid; 238 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { 239 if (chown(tty, pw->pw_uid, gid) < 0) { 243 tty, (u_int)pw->pw_uid, (u_int)gid, 247 tty, (u_int)pw->pw_uid, (u_int)gid,
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPv3FileAttributes.java | 28 * The GID attribute. <code>NULL</code> if not present. 30 public Integer gid = null; field in class:SFTPv3FileAttributes 48 * S_ISGID 0002000 set GID bit
|