/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_unix.c | 263 gid_t gid = 0; local 314 gid = grp->gr_gid; 318 (int) gid, gid_str); 320 /* Group name not found - try to parse this as gid */ 321 gid = strtol(gid_str, &endp, 10); 329 (int) gid); 333 if (gid_set && chown(dir, -1, gid) < 0) { 400 if (gid_set && chown(fname, -1, gid) < 0) {
|
/external/genext2fs/ |
genext2fs.c | 468 udecl16(s_def_resgid) /* The default gid for reserved blocks */ 1509 unsigned long mode, uid, gid, major, minor; local 1657 uint32 uid, gid, mode, ctime, mtime; local [all...] |
/external/mksh/src/ |
check.pl | 974 local($type, $perm, $uid, $gid, $matchType, 977 # format is: type perm uid gid matchType "name" 983 ($type, $perm, $uid, $gid, $matchType, $rest) 1000 if ($gid !~ /^\d+$/ && $gid ne '*') { 1002 "$prog:$file:$.: bad group-id for file-result: $gid\n"; 1159 local($type, $perm, $uid, $gid, $rest, $c, $len, $name); 1166 ($type, $perm, $uid, $gid, $matchType, $rest) = 1189 if ($gid ne '*' && $stbuf[5] != $gid) { [all...] |
/dalvik/vm/native/ |
dalvik_system_Zygote.cpp | 366 gid_t gid = (gid_t) args[1]; local 437 err = setgid(gid); 439 LOGE("cannot setgid(%d): %s", gid, strerror(errno)); 478 /* native public static int forkAndSpecialize(int uid, int gid, 491 /* native public static int forkSystemServer(int uid, int gid,
|
/external/e2fsprogs/lib/e2p/ |
ls.c | 36 static void print_group (unsigned short gid, FILE *f) 40 fprintf(f, "%u ", gid); 41 gr = getgrgid (gid); 290 fprintf(f, "Reserved blocks gid: ");
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
set-mode-acl.c | 420 entries[0].gid = ACL_NSGROUP; 423 entries[1].gid = statbuf.st_gid; 426 entries[2].gid = ACL_NSGROUP;
|
/system/core/init/ |
util.c | 40 * android_name_to_id - returns the integer uid/gid associated with the given 58 * numeric or name representation, into the integer uid or gid. Returns -1U on 83 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) 111 chown(addr.sun_path, uid, gid); 115 addr.sun_path, perm, uid, gid);
|
builtins.c | 251 gid_t gid = -1; local 254 gid = decode_uid(args[4]); 257 if (chown(args[1], uid, gid)) { 630 /* GID is optional. */
|
/system/core/sdcard/ |
fuse.h | 99 __u32 gid; member in struct:fuse_attr 345 __u32 gid; member in struct:fuse_setattr_in 542 __u32 gid; member in struct:fuse_in_header
|
sdcard.c | 43 * usage: sdcard <path> <uid> <gid> 45 * It must be run as root, but will change to uid/gid as soon as it 47 * gid are zero. 119 static unsigned gid = -1; variable 221 attr->gid = AID_SDCARD_RW; 957 ERROR("usage: sdcard [-l -f] <path> <uid> <gid>\n\n\t-l force file names to lower case when creating new files\n\t-f fix up file system before starting (repairs bad file name case and group ownership)\n"); 976 else if (gid == -1) 977 gid = strtoul(arg, 0, 10); 988 if (uid <= 0 || gid <= 0) { 989 ERROR("uid and gid must be nonzero\n") [all...] |
/system/core/toolbox/ |
ls.c | 84 static void group2str(unsigned gid, char *out) 86 struct group *gr = getgrgid(gid); 90 sprintf(out, "%d", gid);
|
/external/kernel-headers/original/linux/sunrpc/ |
auth.h | 29 gid_t gid; member in struct:auth_cred
|
/external/yaffs2/yaffs2/ |
yaffs_guts.h | 834 __u32 mode, __u32 uid, __u32 gid); 845 __u32 mode, __u32 uid, __u32 gid); 860 __u32 mode, __u32 uid, __u32 gid, 866 __u32 mode, __u32 uid, __u32 gid, __u32 rdev);
|
/frameworks/base/cmds/installd/ |
commands.c | 27 int install(const char *pkgname, uid_t uid, gid_t gid) 32 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) { 33 LOGE("invalid uid/gid: %d %d\n", uid, gid); 56 if (chown(pkgdir, uid, gid) < 0) { 271 int protect(char *pkgname, gid_t gid) 276 if (gid < AID_SYSTEM) return -1; 283 if (chown(pkgpath, s.st_uid, gid) < 0) { 587 void mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, 596 chown(path, uid, gid); [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
stropts.h | 215 gid_t gid; member in struct:strrecvfd
|
/system/core/libsysutils/src/ |
SocketClient.cpp | 32 mGid = creds.gid;
|
/system/vold/ |
Volume.cpp | 414 int gid; local 419 gid = AID_SDCARD_RW; 422 gid = AID_MEDIA_RW; 425 AID_SYSTEM, gid, 0702, true)) { 517 if (mount("tmpfs", SEC_STG_SECIMGDIR, "tmpfs", MS_RDONLY, "size=0,mode=000,uid=0,gid=0")) { 671 if (mount("tmpfs", SEC_STG_SECIMGDIR, "tmpfs", MS_RDONLY, "size=0,mode=0,uid=0,gid=0")) {
|
/frameworks/base/core/java/android/os/ |
FileUtils.java | 63 public int gid; field in class:FileUtils.FileStatus 91 public static native int setPermissions(String file, int mode, int uid, int gid);
|
/system/extras/ext4_utils/ |
contents.c | 231 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime) 240 inode->i_gid = gid;
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 224 private static void setEffectiveGroup(int gid) { 225 int errno = setregid(ROOT_GID, gid); 494 parsedArgs.uid, parsedArgs.gid, 669 * @param rgid real gid 670 * @param egid effective gid
|
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 120 member gid, 290 member gid, 746 long int date UNUSED, int uid UNUSED, int gid UNUSED, 826 long int date, int uid, int gid, int mode) 834 printf (_(" uid = %d, gid = %d, mode = 0%o.\n"), uid, gid, mode);
|
/bionic/libc/kernel/common/linux/ |
socket.h | 108 __u32 gid; member in struct:ucred
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 108 __u32 gid; member in struct:ucred
|
/external/dbus/bus/ |
connection.h | 110 unsigned long gid);
|
selinux.c | 1038 dbus_gid_t gid; local 1043 if (!_dbus_get_user_id_and_primary_group (&u, &uid, &gid)) 1059 rc = capng_change_id (uid, gid, 0); 1070 "Failed to set GID to %lu: %s", gid,
|