Searched refs:uid (Results 351 - 375 of 547) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/lp/include/
H A Dmsgs.h324 uid_t uid; /* Clients UID */ member in struct:__anon805
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1090 safechown(const char *src, uid_t uid, gid_t gid, int mode);
1570 renew_ccache(OM_uint32 *minor_status, krb5_context context, uid_t uid) argument
1640 uid, -1);
1641 code = safechown(ccache_name_buf, uid, gid, -1);
1676 * Use krb5_getuid() to select the mechanism to obtain the uid.
1678 uid_t uid = krb5_getuid(); local
1688 if (uid != ROOT_UID)
1730 if (cred->tgt_expire < now + MIN_REFRESH_TIME && uid == ROOT_UID) {
1756 major = renew_ccache(minor_status, context, uid);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dllib-lsldap146 const char *uid,
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl453 my ($mode, $uid, $gid) = (stat($pfh))[2,4,5];
654 if (!chown($uid, $gid, $tmpprojf)) {
/illumos-gate/usr/src/cmd/cron/
H A Datq.c319 * Get the uid of a person using his/her login name. Return -1 if no
339 getname(uid_t uid) argument
344 if ((pwdinfo = getpwuid(uid)) == 0)
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h66 u_int8_t uid[DB_FILE_ID_LEN]; member in struct:_btmeta
97 u_int8_t uid[DB_FILE_ID_LEN]; member in struct:hashhdr
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_lex.l120 :{WS}*uid { return UID; }
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c555 result->mappings.mappings_val[cb_data->next].id2.idmap_id_u.uid =
878 uid_t uid; local
888 uid = ucred_geteuid(uc);
889 if (uid == (uid_t)-1) {
896 if (getpwuid_r(uid, &pwd, buf, sizeof (buf)) == NULL) {
898 "authorization (%s)", uid, strerror(errno));
1057 to->idmap_id_u.uid = from->idmap_id_u.uid;
H A Dinit.c434 create_directory(const char *path, uid_t uid, gid_t gid) argument
444 if (lchown(path, uid, gid) < 0) {
H A Dnldaputils.c49 #define _F_GETPWNAM "(&(objectClass=posixAccount)(uid=%s))"
50 #define _F_GETPWNAM_SSD "(&(%%s)(uid=%s))"
89 #define UID "uid"
143 * "(&(department=sds)(uid=xy1234))" as the real search filter.
437 * Add a lookup by uid/gid request to the batch.
635 /* Get uid/gid */
788 res->id.idmap_id_u.uid != IDMAP_SENTINEL_PID) {
809 &req->id2name, &res->id.idmap_id_u.uid,
833 if (req->id1.idmap_id_u.uid != IDMAP_SENTINEL_PID) {
836 qs, req->id1.idmap_id_u.uid,
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_quota.c361 * Get user quota information for a single user (uid)
370 smb_quota_query_user_quota(smb_request_t *sr, uid_t uid, smb_quota_t *quota) argument
381 if (smb_idmap_getsid(uid, SMB_IDMAP_USER, &sid) != IDMAP_SUCCESS)
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c92 * simple hashing for uid and hostname lookup
94 * performance tests showed that cacheing the hostname, uid, and gid
96 * repeating hostname, uid, etc
418 getuname(uid_t uid, gid_t gid, char *p, size_t max, char *prefix, argument
437 hash_key = (char *)&uid;
441 if (uid != uidhash[ix].ht_key) {
442 uidhash[ix].ht_key = uid;
444 if ((getpwuid_r(uid, &pw, pw_buf, GETPWUID_BUFF_LEN)) == NULL)
446 "%d", uid);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c685 uid_t myuid, uid; local
688 uid = (uid_t)strtol(str, &cp, 0);
695 uid = pw->pw_uid;
697 slp->sl_entry.se_uid = uid;
700 if (myuid == uid)
703 slp->sl_parse->ps_cfile->pf_name, uid, str);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c219 int error = 0, unit = 0, tmp, uid; local
225 uid = getuid();
233 error = fr_nat_ioctl(data, cmd, mode, uid, NULL, ifs);
241 error = fr_state_ioctl(data, cmd, mode, uid, NULL, ifs);
258 error = fr_auth_ioctl(data, cmd, mode, uid,
288 error = ip_lookup_ioctl(data, cmd, mode, uid,
/illumos-gate/usr/src/cmd/su/
H A Dsu.c36 * If CONSOLE is defined, all successful attempts to su to uid 0
182 uid_t uid; local
425 uid = pwd.pw_uid;
448 if (setuid(uid) == -1) {
502 envinit[++envidx] = ((uid == (uid_t)ROOT) ? supath : path);
614 if (uid == (uid_t)ROOT) {
671 if ((uid == (uid_t)ROOT) && (strcmp(name, "root") == 0) &&
808 /* since proc uid/gid not yet updated */
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_token.c249 au_to_process(uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, argument
266 return (au_to_any_process(data_header, uid, gid, ruid,
271 au_to_subject(uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, argument
287 return (au_to_any_process(data_header, uid, gid, ruid,
294 uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid,
307 value = (int32_t)uid;
293 au_to_any_process(char data_header, uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, au_id_t auid, au_asid_t asid, const au_tid_addr_t *atid) argument
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c1129 uid_t uid = RealUid; local
1132 (uid != 0 && uid != pw->pw_uid))
1134 pw = sm_getpwuid(uid);
1324 ** won't let it call set*uid() or run setuid binaries without
3880 int DefShareUid; /* default share uid to run as -- unused??? */
3943 ** uid -- the uid we are about to become.
3950 vendor_set_uid(uid)
3951 UID_T uid;
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c393 uid_t uid; local
436 uid = sp->f_uid; /* owner of the new file */
445 * modes, uid and gid. If the file already exists, it will
455 if (dp->f_uid != uid)
468 if (uid != my_uid)
687 dp->f_uid = uid;
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c127 uid_t uid; local
194 * uid matches, otherwise, use the name from the password file
195 * corresponding to the uid.
197 uid = getuid();
199 !(pw = getpwnam(from)) || pw->pw_uid != uid))
200 from = (pw = getpwuid(uid)) ? pw->pw_name : "???";
201 src_uid = pw ? pw->pw_uid : uid;
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c162 uid_t uid = getuid(); local
183 if ((pw = getpwuid(uid)) != NULL)
185 if (uid == 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c596 uid_t uid; local
628 if ((uid = ucred_getruid(cli->cli_peer_ucredp)) == (uid_t)-1) {
637 if (getpwuid_r(uid, &cli->cli_pw, cli->cli_pw_buf,
968 * the daemon switches to "daemon" uid. This is similar to what
979 * Now lets switch ilbd as uid = daemon, gid = daemon with a
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs3.c772 xdr_skip(4); /* uid */
885 uint_t fltype, mode, nlinks, uid, gid; local
892 uid = getxdr_u_long();
907 nlinks, uid, gid);
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb2.c321 smdb2_set_owner(database, uid, gid)
323 uid_t uid;
335 result = fchown(fd, uid, gid);
/illumos-gate/usr/src/cmd/bart/
H A Dcompare.c43 char *mode, char *acl, char *mtime, char *uid, char *gid, char *contents,
230 char *acl, char *mtime, char *uid, char *gid, char *contents, char *devnode,
244 get_token(line, &pos, line_len, uid, MISC_SIZE);
229 parse_line(char *line, char *fname, char *type, char *size, char *mode, char *acl, char *mtime, char *uid, char *gid, char *contents, char *devnode, char *dest) argument
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c540 uid_t uid; local
556 uid = ucred_getruid(ucr);
558 if ((pwd = getpwuid(uid)) == NULL) {

Completed in 122 milliseconds

<<11121314151617181920>>