HomeSort by relevance Sort by last modified time
    Searched refs:gid (Results 101 - 125 of 478) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/kernel-headers/original/uapi/rdma/
ib_user_mad.h 67 * @gid_index - Local GID index to send with (unset on receive)
70 * @gid - Remote GID in GRH
88 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
110 * @gid_index - Local GID index to send with (unset on receive)
113 * @gid - Remote GID in GRH
132 __u8 gid[16]; member in struct:ib_user_mad_hdr
  /external/selinux/libselinux/src/
seusers.c 98 gid_t gid = -1; local
107 gid = pwent->pw_gid;
110 return gid;
113 static int check_group(const char *group, const char *name, const gid_t gid) {
143 if (getgrouplist(name, gid, NULL, &ng) < 0) {
149 if (getgrouplist(name, gid, groups, &ng) < 0)
186 gid_t gid = get_default_gid(name); local
210 check_group(&username[1], name, gid)) {
  /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)
  /external/python/cpython3/Modules/
grpmodule.c 100 gid_t gid; local
103 if (!_Py_Gid_Converter(id, &gid)) {
116 if (!_Py_Gid_Converter(py_int_id, &gid)) {
123 if ((p = getgrgid(gid)) == NULL) {
124 PyObject *gid_obj = _PyLong_FromGid(gid);
127 PyErr_Format(PyExc_KeyError, "getgrgid(): gid not found: %S", gid_obj);
219 The gid is an integer, name and password are strings. (Note that most\n\
  /external/strace/tests/
so_peercred.c 94 offsetofend(struct ucred, gid) - 1;
108 PRINT_FIELD_UID(", ", *peercred, gid);
123 PRINT_FIELD_UID(", ", *peercred, gid);
139 * struct ucred.uid and struct ucred.gid are not printed.
168 * struct ucred.gid is not printed.
179 * but smaller than offsetofend(struct ucred, gid):
180 * the part of struct ucred.gid is printed in hex.
192 printf(", gid=");
193 print_quoted_hex(&peercred->gid, sizeof_gid_truncated -
194 offsetof(struct ucred, gid));
    [all...]
  /external/strace/tests-m32/
so_peercred.c 94 offsetofend(struct ucred, gid) - 1;
108 PRINT_FIELD_UID(", ", *peercred, gid);
123 PRINT_FIELD_UID(", ", *peercred, gid);
139 * struct ucred.uid and struct ucred.gid are not printed.
168 * struct ucred.gid is not printed.
179 * but smaller than offsetofend(struct ucred, gid):
180 * the part of struct ucred.gid is printed in hex.
192 printf(", gid=");
193 print_quoted_hex(&peercred->gid, sizeof_gid_truncated -
194 offsetof(struct ucred, gid));
    [all...]
  /external/strace/tests-mx32/
so_peercred.c 94 offsetofend(struct ucred, gid) - 1;
108 PRINT_FIELD_UID(", ", *peercred, gid);
123 PRINT_FIELD_UID(", ", *peercred, gid);
139 * struct ucred.uid and struct ucred.gid are not printed.
168 * struct ucred.gid is not printed.
179 * but smaller than offsetofend(struct ucred, gid):
180 * the part of struct ucred.gid is printed in hex.
192 printf(", gid=");
193 print_quoted_hex(&peercred->gid, sizeof_gid_truncated -
194 offsetof(struct ucred, gid));
    [all...]
  /external/toybox/toys/posix/
id.c 91 gid_t gid = getgid(), egid = getegid(), *groups; local
99 gid = egid = pw->pw_gid;
107 grp = xgetgrgid(i ? gid : egid);
112 showid(" gid=", grp->gr_gid, grp->gr_name);
119 if (gid != egid) {
131 ngroups = username ? getgrouplist(username, gid, groups, &i)
  /external/iproute2/ip/
iptuntap.c 49 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid)
71 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) {
109 struct ifreq *ifr, uid_t *uid, gid_t *gid)
152 } else if (gid && matches(*argv, "group") == 0) {
159 *gid = group;
167 *gid = gr->gr_gid;
208 gid_t gid = -1; local
210 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0)
213 return tap_add_ioctl(&ifr, uid, gid);
    [all...]
  /external/ltp/testcases/network/nfsv4/acl/
random_gen.py 21 """ List of GID than can be used to do the tests """
44 def createGroup(self, grpname, gid):
45 u = subprocess.getoutput('/usr/sbin/groupadd -g' + gid + " " + grpname)
52 gid = str(500+i)
53 self.createGroup(gName, gid)
81 gid = splitedline[3]
104 gid = splitedline[3]
122 gid = splitedline[2]
125 self.gList.append([groupName,gid])
136 gid = splitedline[2
    [all...]
  /external/epid-sdk/doc/html/
group___epid_types.js 57 [ "gid", "struct_group_pub_key.html#ae8e77ab4d5eb3c8e566c24a64cce56ee", null ],
64 [ "gid", "struct_i_priv_key.html#ad400a4237b6d50855538fd40580eb1bb", null ]
69 [ "gid", "struct_priv_key.html#ab416dcb4366427c24b44c2a02e4ae7c8", null ],
74 [ "gid", "struct_compressed_priv_key.html#ac6689899f1d9a6a8c5e4915563679840", null ],
79 [ "gid", "struct_membership_credential.html#afbff64ec55888c7e2a658eabb5e16671", null ],
111 [ "gid", "struct_priv_rl.html#af7317529b8e55476bd06b66ed8131d64", null ],
121 [ "gid", "struct_sig_rl.html#a12757d30fcccd310716433948e0b603e", null ],
126 [ "gid", "struct_group_rl.html#a51022e172ab8b945efc69f1e63170107", null ],
132 [ "gid", "struct_verifier_rl.html#ab85c4666d16145ff16443e84468d2d7d", null ],
  /external/fonttools/Lib/fontTools/misc/
testTools.py 134 gid = len(reverseDict)
135 reverseDict[key] = gid
136 return gid
141 gid = self._reverseGlyphOrder[glyph]
142 return gid
147 def getGlyphName(self, gid):
148 return self._glyphOrder[gid]
  /external/minijail/
system.c 303 uid_t gid, bool bind, unsigned long *mnt_flags)
390 if (chown(dest, uid, gid)) {
392 pwarn("chown(%s, %u, %u) failed", dest, uid, gid);
399 * lookup_user: Gets the uid/gid for the given username.
401 int lookup_user(const char *user, uid_t *uid, gid_t *gid)
430 *gid = ppw->pw_gid;
435 * lookup_group: Gets the gid for the given group name.
437 int lookup_group(const char *group, gid_t *gid)
464 *gid = pgr->gr_gid;
  /build/make/tools/fs_config/
fs_config.c 32 // filename along with its desired uid, gid, and mode (in octal).
134 unsigned uid = 0, gid = 0, mode = 0; local
136 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities);
141 printf("%s %d %d %o", buffer, uid, gid, mode);
  /external/epid-sdk/epid/member/tiny/src/
validate.c 69 if (0 != memcmp(&input->gid, &pubkey->gid, sizeof(pubkey->gid))) {
  /external/squashfs-tools/squashfs-tools/
android.c 50 unsigned int uid = 0, gid = 0, mode = 0; local
53 &uid, &gid, &mode, capabilities);
55 stat->st_gid = gid;
  /bionic/tests/
grp_pwd_test.cpp 192 // Test the difference between uid and shared gid.
314 static void check_group(const group* grp, const char* group_name, gid_t gid,
320 EXPECT_EQ(gid, grp->gr_gid);
330 static void check_getgrgid(const char* group_name, gid_t gid, bool check_groupname) {
332 group* grp = getgrgid(gid);
335 check_group(grp, group_name, gid, check_groupname);
338 static void check_getgrnam(const char* group_name, gid_t gid, bool check_groupname) {
343 check_group(grp, group_name, gid, check_groupname);
346 static void check_getgrgid_r(const char* group_name, gid_t gid, bool check_groupname) {
352 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp)
    [all...]
  /bionic/libc/kernel/uapi/linux/
ipc.h 26 __kernel_gid_t gid; member in struct:__kernel_legacy_ipc_perm
  /external/autotest/client/site_tests/login_UserPolicyKeys/
login_UserPolicyKeys.py 20 def _can_read(self, uid, gid, info):
21 """Returns true if uid or gid can read a file with the info stat."""
24 if gid == info.st_gid:
29 def _can_execute(self, uid, gid, info):
30 """Returns true if uid or gid can execute a file with the info stat."""
33 if gid == info.st_gid:
  /external/e2fsprogs/contrib/android/
perms.h 9 unsigned *uid, unsigned *gid,
13 * Represents a range of UID/GID mapping.
  /external/epid-sdk/epid/member/tiny/unittests/
context-test.cc 226 srl.gid = this->kGroupPublicKey.gid;
236 srl.gid = this->kGroupPublicKey.gid;
245 srl.gid = this->kGroupPublicKey.gid;
259 srl.gid = this->kGroupPublicKey.gid;
269 srl.gid = this->kGroupPublicKey.gid;
    [all...]
  /external/kernel-headers/original/uapi/linux/
ipc.h 14 __kernel_gid_t gid; member in struct:ipc_perm
  /external/libbrillo/brillo/
file_utils.h 16 // Ensures a regular file owned by user |uid| and group |gid| exists at |path|.
26 gid_t gid);
  /external/libjpeg-turbo/release/
maketarball.in 43 tar cf $TMPDIR/tartest.tar --uid 0 --gid 0 -C $TMPDIR tartest >/dev/null 2>&1 && BSDTAR=1
45 tar cf - --uid=0 --gid=0 -C $TMPDIR/install .$PREFIX | bzip2 -c >$PKGNAME-$VERSION-$OS-$ARCH.tar.bz2
  /external/ltp/testcases/kernel/containers/userns/
userns03.c 26 * The string "deny" would be written to /proc/self/setgroups before GID
79 int uid, gid; local
87 gid = getegid();
89 if (uid != CHILD2UID || gid != CHILD2GID) {
90 printf("unexpected uid=%d gid=%d\n", uid, gid);

Completed in 1538 milliseconds

1 2 3 45 6 7 8 91011>>