/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/ |
H A D | PreparedTransaction.java | 17 private byte[] gid; field in class:PreparedTransaction 20 PreparedTransaction(final DbTxn txn, final byte[] gid) { argument 22 this.gid = gid; 26 return gid;
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | set_ugid.c | 9 /* void set_ugid(uid, gid) 11 /* gid_t gid; 45 void set_ugid(uid_t uid, gid_t gid) argument 52 if (setgid(gid) < 0) 53 msg_fatal("setgid(%ld): %m", (long) gid); 54 if (setgroups(1, &gid) < 0) 55 msg_fatal("setgroups(1, &%ld): %m", (long) gid); 59 msg_info("setugid: uid %ld gid %ld", (long) uid, (long) gid);
|
H A D | chroot_uid.c | 47 gid_t gid; local 50 * Look up the uid/gid before entering the jail, and save them so they 57 gid = pwd->pw_gid; 58 if (setgid(gid) < 0) 59 msg_fatal("setgid(%ld): %m", (long) gid); 60 if (initgroups(user_name, gid) < 0)
|
H A D | set_eugid.h | 23 #define SAVE_AND_SET_EUGID(uid, gid) do { \ 26 set_eugid((uid), (gid));
|
/macosx-10.9.5/dtrace-118.1/test/tst/common/vars/ |
H A D | tst.gid.d | 27 #pragma ident "@(#)tst.gid.d 1.1 06/08/28 SMI" 32 /curpsinfo->pr_gid == gid/ 39 printf("%d != %d\n", curpsinfo->pr_gid, gid);
|
/macosx-10.9.5/libarchive-29/libarchive/cpio/test/ |
H A D | test_owner_parse.c | 64 skipping("No uid/gid configuration for this OS"); 66 int uid, gid; 68 assert(NULL == owner_parse(ROOT, &uid, &gid)); 71 assertEqualInt(-1, gid); 74 assert(NULL == owner_parse(ROOT ":", &uid, &gid)); 77 assert(int_in_list(gid, root_gids, 80 assert(NULL == owner_parse(ROOT ".", &uid, &gid)); 83 assert(int_in_list(gid, root_gids, 86 assert(NULL == owner_parse("111", &uid, &gid)); 88 assertEqualInt(-1, gid); [all...] |
/macosx-10.9.5/dtrace-118.1/test/tst/common/scripting/ |
H A D | tst.gid.d | 29 #pragma ident "@(#)tst.gid.d 1.1 06/08/28 SMI" 41 printf("The gid is %d\n", $gid);
|
H A D | tst.gid.ksh | 28 #ident "@(#)tst.gid.ksh 1.1 06/08/28 SMI" 32 # To verify gid of the child process. 52 /\$gid != \$1/ 58 /\$gid == \$1/ 70 groupid=`ps -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
|
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/ |
H A D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) argument 36 *gid = cred.gid; 47 getpeereid(int s, uid_t *euid, gid_t *gid) argument 55 if ((*gid = ucred_getrgid(ucred)) == -1) 64 getpeereid(int s, uid_t *euid, gid_t *gid) argument 67 *gid = getgid();
|
H A D | pwcache.c | 83 group_from_gid(gid_t gid, int nogroup) argument 86 gid_t gid; member in struct:ncache 94 cp = c_gid + (gid & MASK); 95 if (cp->gid != gid || cp->name == NULL) { 102 if ((gr = getgrgid(gid)) == NULL) { 105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid); 107 cp->gid = gid;
|
/macosx-10.9.5/sudo-72/src/ |
H A D | secure_path.c | 41 sudo_secure_path(path, type, uid, gid, sbp) 45 gid_t gid; 59 (gid == (gid_t)-1 || sb.st_gid != gid)) { 75 sudo_secure_file(path, uid, gid, sbp) 78 gid_t gid; 81 return sudo_secure_path(path, _S_IFREG, uid, gid, sbp); 88 sudo_secure_dir(path, uid, gid, sbp) 91 gid_t gid; 94 return sudo_secure_path(path, _S_IFDIR, uid, gid, sb [all...] |
H A D | secure_path.h | 27 int sudo_secure_dir __P((const char *path, uid_t uid, gid_t gid, struct stat *sbp)); 28 int sudo_secure_file __P((const char *path, uid_t uid, gid_t gid, struct stat *sbp)); 29 int sudo_secure_path __P((const char *path, int type, uid_t uid, gid_t gid, struct stat *sbp));
|
/macosx-10.9.5/dcerpc-58/dcerpc/include/dce/ |
H A D | lrpc.idl | 63 [out] unsigned32* gid
|
/macosx-10.9.5/gnutar-452/gnutar/lib/ |
H A D | lchown.c | 34 lchown (const char *file, uid_t uid, gid_t gid) argument 46 return chown (file, uid, gid);
|
H A D | fchown-stub.c | 12 fchown (int fd, uid_t uid, gid_t gid) argument
|
H A D | chown.c | 48 rpl_chown (const char *file, uid_t uid, gid_t gid) argument 51 if (gid == (gid_t) -1 || uid == (uid_t) -1) 59 if (gid == (gid_t) -1) 60 gid = file_stats.st_gid; 80 int result = fchown (fd, uid, gid); 103 return chown (file, uid, gid);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/string/ |
H A D | fmtgid.c | 27 * cached gid number -> name 56 * return gid name given gid number 60 fmtgid(int gid) argument 76 else if (ip = (Id_t*)dtmatch(dict, &gid)) 78 if (gr = getgrgid(gid)) 86 else if (gid == 0) 90 name = fmtbuf(z = sizeof(gid) * 3 + 1); 91 sfsprintf(name, z, "%I*d", sizeof(gid), gid); [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/ |
H A D | testuser.c | 26 apr_gid_t gid; local 29 apr_uid_current(&uid, &gid, p)); 35 apr_gid_t gid; local 41 apr_uid_current(&uid, &gid, p)); 57 * on Unix if run as root, when !gid is also true. */ 58 if (!gid || !retreived_gid) { 59 /* The function had no way to recover the gid (this would have been 63 if (!gid) { 73 apr_gid_compare(gid, retreived_gid)); 82 apr_gid_t gid; local 108 apr_gid_t gid; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/support/ |
H A D | checkgid.c | 51 gid_t gid; local 68 gid = atoi(&arg[1]); 69 fake_grent.gr_gid = gid; 91 gid = grent->gr_gid; 92 check = setgid(gid);
|
/macosx-10.9.5/apr-30/apr/apr/test/ |
H A D | testuser.c | 26 apr_gid_t gid; local 29 apr_uid_current(&uid, &gid, p)); 35 apr_gid_t gid; local 41 apr_uid_current(&uid, &gid, p)); 57 * on Unix if run as root, when !gid is also true. */ 58 if (!gid || !retreived_gid) { 59 /* The function had no way to recover the gid (this would have been 63 if (!gid) { 73 apr_gid_compare(gid, retreived_gid)); 82 apr_gid_t gid; local 108 apr_gid_t gid; local [all...] |
/macosx-10.9.5/Libnotify-121.20.1/notifyd/ |
H A D | service.h | 42 int service_open(const char *name, client_t *client, uint32_t uid, uint32_t gid); 43 int service_open_path(const char *name, const char *path, uid_t uid, gid_t gid); 44 int service_open_path_private(const char *name, client_t *client, const char *path, uid_t uid, gid_t gid, uint32_t flags);
|
/macosx-10.9.5/rsync-42/rsync/ |
H A D | getgroups.c | 30 gid_t gid = MY_GID(); local 55 if (list[i] == gid) 58 /* The default gid might not be in the list on some systems. */ 60 printf("%lu", (unsigned long)gid);
|
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/ |
H A D | SCDynamicStoreSetSpecificPrivate.h | 48 @param gid The group ID of the current/primary "Console" user. 63 gid_t gid, 78 @param gid The group ID of the current "Console" user. 86 gid_t gid
|
/macosx-10.9.5/libarchive-29/libarchive/libarchive/ |
H A D | archive_read_disk_private.h | 54 const char * (*lookup_gname)(void *private, gid_t gid); 57 const char * (*lookup_uname)(void *private, gid_t gid);
|
/macosx-10.9.5/procmail-14/procmail/src/ |
H A D | recommend.c | 16 { struct group*grp;struct stat stbuf;gid_t gid=(gid_t)-1; local 26 sgid=S_ISGID,gid=stbuf.st_gid; 35 sgid=S_ISGID;gid=stbuf.st_gid; 37 if(gid!=stbuf.st_gid) 41 if(grp=getgrgid(gid)) 44 printf("chgrp %u %s %s\n",(unsigned)gid,argv[1],argv[2]);
|