Searched refs:gid (Results 101 - 125 of 510) sorted by relevance

1234567891011>>

/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/
H A DSCDConsoleUser.c84 gid_t *gid)
119 if (gid) {
126 *gid = (gid_t)val;
173 gid_t gid,
202 num = CFNumberCreate(NULL, kCFNumberSInt32Type, (SInt32 *)&gid);
225 gid_t gid)
251 num = CFNumberCreate(NULL, kCFNumberSInt32Type, (SInt32 *)&gid);
82 SCDynamicStoreCopyConsoleUser(SCDynamicStoreRef store, uid_t *uid, gid_t *gid) argument
170 SCDynamicStoreSetConsoleInformation(SCDynamicStoreRef store, const char *user, uid_t uid, gid_t gid, CFArrayRef sessions) argument
222 SCDynamicStoreSetConsoleUser(SCDynamicStoreRef store, const char *user, uid_t uid, gid_t gid) argument
H A DSCDPlugin.c274 gid_t gid,
335 if (egid != gid) {
336 (void) setgid(gid);
339 if (((euid != uid) || (egid != gid)) && username) {
340 initgroups(username, gid);
395 gid_t gid,
399 return _SCDPluginExecCommand2(callout, context, uid, gid, path, argv, NULL, NULL);
271 _SCDPluginExecCommand2(SCDPluginExecCallBack callout, void *context, uid_t uid, gid_t gid, const char *path, char * const argv[], SCDPluginExecSetup setup, void *setupContext ) argument
392 _SCDPluginExecCommand(SCDPluginExecCallBack callout, void *context, uid_t uid, gid_t gid, const char *path, char * const argv[]) argument
H A DSCDynamicStoreCopySpecific.h82 @param gid A pointer to memory that will be filled with the group ID
93 gid_t *gid
/macosx-10.9.5/file_cmds-230/pax/
H A Dsel_subs.c77 * check if this file matches a specified uid, gid or time range
95 * Routines to handle user selection of files based on the file uid/gid. To
96 * add an entry, the user supplies either the name or the uid/gid starting with
210 gid_t gid; local
233 paxwarn(1,"Cannot determine gid for group name: %s", str);
236 gid = (gid_t)gr->gr_gid;
238 gid = (gid_t)strtoul(str+1, NULL, 10);
244 indx = ((unsigned)gid) % GRP_TB_SZ;
247 if (pt->gid == gid)
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/db/
H A Ddb_cds.c22 static int __cdsgroup_prepare __P((DB_TXN *txn, u_int8_t *gid));
94 static int __cdsgroup_prepare(txn, gid)
96 u_int8_t *gid;
98 COMPQUIET(gid, NULL);
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Drecd015.tcl90 while { [gets $gfd gid] != -1 } {
91 set gids($i) $gid
103 set gid [lindex $tpair 1]
104 error_check_good gidcompare $gid $gids($i)
/macosx-10.9.5/Libinfo-449.1.3/membership.subproj/
H A Dmembership.h141 @param gid the gid_t to be converted
145 int mbr_gid_to_uuid(gid_t gid, uuid_t uu);
/macosx-10.9.5/bootp-268.1/bootpd.tproj/
H A DAFPUsers.h47 Boolean AFPUserList_create(AFPUserListRef users, gid_t gid,
H A DmacNC.c144 set_privs_no_stat(const char * path, struct stat * sb_p, uid_t uid, gid_t gid, argument
150 if (sb_p->st_uid != uid || sb_p->st_gid != gid)
162 if (chown(path, uid, gid) < 0)
180 set_privs(const char * path, struct stat * sb_p, uid_t uid, gid_t gid, argument
186 return (set_privs_no_stat(path, sb_p, uid, gid, mode, unlock));
194 * enclosing directory and the file itself to user/group uid/gid.
197 S_set_uid_gid(const char * file, uid_t uid, gid_t gid) argument
210 if (chown(dir, uid, gid) == -1)
212 if (chown(file, uid, gid) == -1)
324 S_create_shadow_file(const char * shadow_path, uid_t uid, gid_t gid, argument
488 macNC_allocate_shadow(const char * machine_name, int host_number, uid_t uid, gid_t gid, const char * shadow_name) argument
635 S_add_image_options(NBImageEntryRef image_entry, uid_t uid, gid_t gid, struct in_addr servip, dhcpoa_t * options, int host_number, const char * afp_hostname) argument
[all...]
/macosx-10.9.5/libarchive-29/libarchive/cpio/test/
H A Dtest_option_c.c59 int dev, ino, gid; local
129 assert(is_octal(e + 30, 6)); /* gid */
130 gid = from_octal(e + 30, 6);
156 assertEqualInt(gid, from_octal(e + 30, 6)); /* gid */
190 assert(is_octal(e + 30, 6)); /* gid */
191 assertEqualInt(gid, from_octal(e + 30, 6));
212 assertEqualMem(e + 30, "000000", 6); /* gid */
/macosx-10.9.5/libarchive-29/libarchive/libarchive/test/
H A Dtest_write_format_mtree.c36 gid_t gid; member in struct:__anon9386
78 archive_entry_set_gid(ae, entries[i].gid);
79 assert(entries[i].gid == archive_entry_gid(ae));
107 o = "/set type=dir uid=1001 gid=1001 mode=755";
109 o = "/set type=file uid=1001 gid=1001 mode=644";
132 assertEqualInt(entries[i].gid, archive_entry_gid(ae));
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/internal/
H A DDbTxn.java98 public void prepare(byte[] gid) throws com.sleepycat.db.DatabaseException { db_javaJNI.DbTxn_prepare(swigCPtr, this, gid); } argument
/macosx-10.9.5/Libc-997.90.3/sys/
H A Dshmctl.c48 _UP_CVT(shm_perm.gid);
69 _DN_CVT(shm_perm.gid); /* warning! precision loss! */
/macosx-10.9.5/dtrace-118.1/test/tst/common/scripting/
H A Dtst.egid.ksh78 groupid=`ps -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
/macosx-10.9.5/postfix-252/postfix/src/virtual/
H A Dvirtual.h45 gid_t gid; /* file/command access */ member in struct:USER_ATTR
53 usr_attr.uid = 0; usr_attr.gid = 0; usr_attr.mailbox = 0; \
/macosx-10.9.5/ruby-104/ruby/test/fileutils/
H A Dfileasserts.rb18 assert_equal a.gid, b.gid, "gid #{a.gid} != #{b.gid}#{msg}"
/macosx-10.9.5/Heimdal-323.92.1/lib/ipc/
H A Dcommon.c45 gid_t gid; member in struct:heim_icred
73 return cred->gid;
103 _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred *cred) argument
109 (*cred)->gid = gid;
124 (*cred)->gid = (uid_t)-1;
/macosx-10.9.5/Libinfo-449.1.3/rpc.subproj/
H A Dauth_unix.c127 authunix_create(machname, uid, gid, len, aup_gids)
130 int gid;
170 aup.aup_gid = gid;
226 register int gid; local
233 gid = getegid();
239 return (authunix_create(machname, uid, gid, len, (int *)gids));
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/include/ac/
H A Dsocket.h226 #define LUTIL_GETPEEREID( s, uid, gid, bv ) getpeereid( s, uid, gid )
230 #define LUTIL_GETPEEREID( s, uid, gid, bv ) lutil_getpeereid( s, uid, gid, bv )
233 #define LUTIL_GETPEEREID( s, uid, gid, bv ) lutil_getpeereid( s, uid, gid )
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/user/win32/
H A Duserinfo.c84 apr_gid_t gid;
86 if ((rv = apr_uid_get(&uid, &gid, username, p)) != APR_SUCCESS)
164 apr_gid_t *gid,
192 *gid = grp->PrimaryGroup;
200 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *uid, apr_gid_t *gid,
242 *gid = NULL;
/macosx-10.9.5/apr-30/apr/apr/user/win32/
H A Duserinfo.c84 apr_gid_t gid;
86 if ((rv = apr_uid_get(&uid, &gid, username, p)) != APR_SUCCESS)
164 apr_gid_t *gid,
192 *gid = grp->PrimaryGroup;
200 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *uid, apr_gid_t *gid,
242 *gid = NULL;
/macosx-10.9.5/ppp-727.90.1/Controller/
H A Dppp_client.c66 struct client *client_new_socket (CFSocketRef ref, int priviledged, uid_t uid, gid_t gid) argument
81 client->gid = gid;
92 struct client *client_new_mach (CFMachPortRef port, CFRunLoopSourceRef rls, CFStringRef serviceID, uid_t uid, gid_t gid, mach_port_t bootstrap, mach_port_t notify_port) argument
109 client->gid = gid;
H A Dscnc_client.c69 struct client *client_new_socket (CFSocketRef ref, int priviledged, uid_t uid, gid_t gid) argument
84 client->gid = gid;
95 struct client *client_new_mach (CFMachPortRef port, CFRunLoopSourceRef rls, CFStringRef serviceID, uid_t uid, gid_t gid, pid_t pid, mach_port_t bootstrap, mach_port_t notify_port, mach_port_t au_session, Boolean has_machport_priv) argument
112 client->gid = gid;
/macosx-10.9.5/remote_cmds-41.90.1/wall.tproj/
H A Dwall.c82 gid_t gid; member in struct:wallgroup
144 g->gid = -1;
159 g->gid = grp->gr_gid;
197 if (g->gid == (gid_t)-1)
199 if (g->gid == pw->pw_gid)
201 else if ((grp = getgrgid(g->gid)) != NULL) {
/macosx-10.9.5/CPANInternal-140/Template-Toolkit/bin/
H A Dttree308 my ($uid, $gid, $mode);
310 (undef, undef, $mode, undef, $uid, $gid, undef, undef,
320 # chown($uid, $gid, $target) || warn "chown($target): $!\n";
352 $srctime, $desttime, $mode, $uid, $gid);
385 ( undef, undef, $mode, undef, $uid, $gid, undef,
415 chown($uid, $gid, $dest) || warn red("chown($dest): $!\n");
441 chown($uid, $gid, $dest) || warn red("chown($dest): $!\n");

Completed in 461 milliseconds

1234567891011>>