HomeSort by relevance Sort by last modified time
    Searched refs:gid (Results 326 - 350 of 518) sorted by null

<<11121314151617181920>>

  /external/wpa_supplicant_8/wpa_supplicant/
ctrl_iface_unix.c 283 gid_t gid = 0; local
351 gid = grp->gr_gid;
355 (int) gid, gid_str);
357 /* Group name not found - try to parse this as gid */
358 gid = strtol(gid_str, &endp, 10);
366 (int) gid);
370 if (gid_set && chown(dir, -1, gid) < 0) {
437 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
1658 uint32 uid, gid, mode, ctime, mtime; local
    [all...]
  /external/mksh/src/
check.pl 1012 local($type, $perm, $uid, $gid, $matchType,
1015 # format is: type perm uid gid matchType "name"
1021 ($type, $perm, $uid, $gid, $matchType, $rest)
1038 if ($gid !~ /^\d+$/ && $gid ne '*') {
1040 "$prog:$file:$.: bad group-id for file-result: $gid\n";
1217 local($type, $perm, $uid, $gid, $rest, $c, $len, $name);
1224 ($type, $perm, $uid, $gid, $matchType, $rest) =
    [all...]
  /frameworks/native/cmds/installd/
commands.c 31 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo)
38 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) {
39 ALOGE("invalid uid/gid: %d %d\n", uid, gid);
101 if (chown(pkgdir, uid, gid) < 0) {
139 int fix_uid(const char *pkgname, uid_t uid, gid_t gid)
145 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) {
146 ALOGE("invalid uid/gid: %d %d\n", uid, gid);
167 if (chown(pkgdir, uid, gid) < 0)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
FileSystemPermissionTest.java 263 String actualGroup = FileUtils.getGroupName(status.gid);
762 if ((status.gid == 1007) // AID_LOG
763 || (status.gid == 1015) // AID_SDCARD_RW
764 || (status.gid == 1023) // AID_MEDIA_RW
765 || (status.gid == 1028) // AID_SDCARD_R
766 || (status.gid == 2000)) // AID_SHELL
  /external/libnfc-nci/src/hal/include/
nci_defs.h 51 * byte 0: MT PBF GID
82 /* GID: Group Identifier (byte 0) */
106 #define NCI_MSG_BLD_HDR0(p, mt, gid) \
107 *(p)++ = (UINT8) (((mt) << NCI_MT_SHIFT) | (gid));
109 #define NCI_MSG_PBLD_HDR0(p, mt, pbf, gid) \
110 *(p)++ = (UINT8) (((mt) << NCI_MT_SHIFT) | ((pbf) << NCI_PBF_SHIFT) | (gid));
117 #define NCI_MSG_PRS_HDR0(p, mt, pbf, gid) \
120 gid = *(p)++ & NCI_GID_MASK;
  /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 43 * android_name_to_id - returns the integer uid/gid associated with the given
61 * numeric or name representation, into the integer uid or gid. Returns -1U on
86 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid)
125 chown(addr.sun_path, uid, gid);
129 addr.sun_path, perm, uid, gid);
builtins.c 89 static int _chown(const char *path, unsigned int uid, unsigned int gid)
99 ret = fchown(fd, uid, gid);
314 gid_t gid = -1; local
317 gid = decode_uid(args[4]);
320 if (_chown(args[1], uid, gid) < 0) {
715 /* 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
  /system/core/toolbox/
ls.c 87 static void group2str(unsigned gid, char *out)
89 struct group *gr = getgrgid(gid);
93 sprintf(out, "%d", gid);
  /external/kernel-headers/original/linux/sunrpc/
auth.h 29 gid_t gid; member in struct:auth_cred
  /external/valgrind/main/include/
pub_tool_libcfile.h 58 UInt gid; member in struct:vg_stat
  /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);
  /libcore/luni/src/main/java/libcore/io/
Posix.java 36 public native void chown(String path, int uid, int gid) throws ErrnoException;
45 public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException;
80 public native void lchown(String path, int uid, int gid) throws ErrnoException;
161 public native void setgid(int gid) throws ErrnoException;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
stropts.h 215 gid_t gid; member in struct:strrecvfd
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
stropts.h 215 gid_t gid; member in struct:strrecvfd
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
stropts.h 215 gid_t gid; member in struct:strrecvfd
  /system/vold/
Volume.cpp 417 int gid; local
422 gid = AID_SDCARD_RW;
425 gid = AID_MEDIA_RW;
428 AID_SYSTEM, gid, 0702, true)) {
520 if (mount("tmpfs", SEC_STG_SECIMGDIR, "tmpfs", MS_RDONLY, "size=0,mode=000,uid=0,gid=0")) {
662 if (mount("tmpfs", SEC_STG_SECIMGDIR, "tmpfs", MS_RDONLY, "size=0,mode=0,uid=0,gid=0")) {
VolumeManager.h 101 * world-readable permission. The group for that file will be set to the gid
106 int fixupAsecPermissions(const char *id, gid_t gid, const char* privateFilename);
  /external/libnfc-nci/src/nfc/nfc/
nfc_ncif.c 366 UINT8 mt, pbf, gid, *p, *pp; local
374 NCI_MSG_PRS_HDR0 (pp, mt, pbf, gid);
385 NFC_TRACE_DEBUG1 ("NFC received rsp gid:%d", gid);
391 if ((old_gid != gid) || (old_oid != oid))
393 NFC_TRACE_ERROR2 ("nfc_ncif_process_event unexpected rsp: gid:0x%x, oid:0x%x", gid, oid);
397 switch (gid)
416 NFC_TRACE_ERROR1 ("NFC: Unknown gid:%d", gid);
    [all...]
  /external/harfbuzz_ng/contrib/python/lib/
harfbuzz.pyx 120 def __init__(self, gid, cluster, advance, offset, internal = 0) :
121 self.gid = gid
128 res = "{0:d}>{1:d}@({2:.2f},{3:.2f})+({4:.2f},{5:.2f})".format(self.gid, self.cluster, self.offset[0], self.offset[1], self.advance[0], self.advance[1])
  /frameworks/base/core/java/com/android/internal/content/
PackageHelper.java 285 public static boolean fixSdPermissions(String cid, int gid, String filename) {
287 int rc = getMountService().fixPermissionsSecureContainer(cid, gid, filename);
  /external/libnfc-nci/halimpl/bcm2079x/hal/hal/
nfc_hal_dm.c 459 UINT8 mt, pbf, gid, op_code; local
471 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid);
484 if ((old_gid == gid) && (old_oid == op_code))
494 if (gid == NCI_GID_CORE)
529 else if (gid == NCI_GID_PROP) /* this is for download patch */
    [all...]
  /external/libcap-ng/libcap-ng-0.7/src/
cap-ng.c 569 int capng_change_id(int uid, int gid, capng_flags_t flag)
585 if (gid == -1 || capng_have_capability(CAPNG_EFFECTIVE, CAP_SETGID))
617 // Change gid
618 if (gid != -1) {
619 rc = setresgid(gid, gid, gid);
625 if ((flag & CAPNG_DROP_SUPP_GRP) && gid != -1) {

Completed in 771 milliseconds

<<11121314151617181920>>