/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | srv_rcache.c | 51 unsigned long uid = geteuid(); local 87 krb5int_buf_add_fmt(&buf, "_%lu", uid);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | krbfileio.c | 72 uid_t uid; local 75 uid = getuid(); 78 fchown(fd, uid, gid);
|
H A D | safechown.c | 16 * safechown changes the owner ship of src to uid. If the mode parameter 23 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument 56 /* we should probably get the primary group id for uid here */ 57 if (fchown(fd, uid, gid)) { 78 fprintf(stderr, "Usage %s [-u uid] [-m mode] source\n", prg); 86 uid_t uid = 0; local 94 uid = atoi(optarg); 104 if (safechown(argv[optind], uid, getgid(), mode)) {
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | log_auto.h | 21 DBT uid; member in struct:_log_register_args
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtuid.c | 27 * uid number -> name 56 * return uid name given uid number 60 fmtuid(int uid) argument 76 else if (ip = (Id_t*)dtmatch(dict, &uid)) 78 if (pw = getpwuid(uid)) 86 else if (uid == 0) 90 name = fmtbuf(z = sizeof(uid) * 3 + 1); 91 sfsprintf(name, z, "%I*d", sizeof(uid), uid); [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getpw.c | 48 getpw(uid_t uid, char buf[]) argument 96 if (n == uid) {
|
H A D | getpwnam.c | 70 getpwuid(uid_t uid) argument 75 getpwuid_r(uid, b->result, b->buffer, b->buflen));
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | chown.c | 35 fchownat(int fd, const char *name, uid_t uid, gid_t gid, int flags) argument 37 return (syscall(SYS_fchownat, fd, name, uid, gid, flags)); 42 chown(const char *name, uid_t uid, gid_t gid) argument 44 return (fchownat(AT_FDCWD, name, uid, gid, 0)); 49 lchown(const char *name, uid_t uid, gid_t gid) argument 51 return (fchownat(AT_FDCWD, name, uid, gid, AT_SYMLINK_NOFOLLOW)); 56 fchown(int filedes, uid_t uid, gid_t gid) argument 58 return (fchownat(filedes, NULL, uid, gid, 0));
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_iod_cl.c | 73 uid_t uid; local 77 uid = getuid(); 79 SMBIOD_USR_DOOR, uid);
|
H A D | smbfs_keychain.c | 54 uid_t uid, 64 pk.pk_uid = uid; 156 smbfs_keychain_add(uid_t uid, const char *dom, const char *usr, argument 172 if ((err = smbfs_keychain_cmn(cmd, uid, dom, usr, lmhash, nthash)) 193 smbfs_keychain_addhash(uid_t uid, const char *dom, const char *usr, argument 205 err = smbfs_keychain_cmn(cmd, uid, dom, usr, 215 smbfs_keychain_del(uid_t uid, const char *dom, const char *usr, argument 222 smbfs_keychain_cmn(SMBIOC_PK_DEL, uid, dom, usr, NULL, NULL)) != 0) 242 uid_t uid = (uid_t)-1; local 243 return (smbfs_keychain_cmn(SMBIOC_PK_CHK, uid, do 52 smbfs_keychain_cmn( int cmd, uid_t uid, const char *dom, const char *usr, uchar_t *lmhash, uchar_t *nthash) argument 253 uid_t uid = (uid_t)-1; local 268 uid_t uid = getuid(); local 286 uid_t uid = getuid(); local [all...] |
/osnet-11/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 175 _create_daemon_lock(const char *name, uid_t uid, gid_t gid) argument 183 ret = fchown(fd, uid, gid);
|
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | idmap_api_nfsv4.c | 39 * Get uid given SID. 42 idmap_nfsv4_getuidbysid(const char *sid, int flag, uid_t *uid) argument 55 rc = idmap_cache_lookup_uidbywinname(sid, NULL, uid); 64 &is_user, &is_wuser, uid, NULL, &direction, NULL); 67 idmap_cache_add_winname2uid(sid, NULL, *uid, direction); 192 * Get winname given uid 195 idmap_nfsv4_getwinnamebyuid(uid_t uid, int flag, char **name) argument 197 return (idmap_nfsv4_getwinnamebypid(uid, 1, flag, name));
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | reentr.c | 430 Uid_t uid; local 440 uid = (Uid_t)va_arg(ap, int); 442 uid = va_arg(ap, Uid_t); 444 retptr = getpwuid(uid); break;
|
H A D | taint.c | 29 UV uid = PL_uid; local 34 s, PL_tainted, uid, euid)); 38 IV uid = PL_uid; local 43 s, PL_tainted, uid, euid));
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-sem.c | 131 drop_priv(uid, gid) 132 uid_t uid; 140 r = setuid(uid); 158 semtest(owner, uid, gid) 160 uid_t uid; 166 if (!owner && uid != 0) 168 r = drop_priv(uid, gid); 184 if (uid != 0) 186 r = sm_semsetowner(semid, uid, gid, 0660); 192 r = drop_priv(uid, gi 326 uid_t uid; local [all...] |
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | getspent.c | 80 uid_t uid; local 102 0, &is_user, &is_wuser, &uid, NULL, NULL, NULL);
|
/osnet-11/usr/src/lib/pam_modules/sample/ |
H A D | sample_acct_mgmt.c | 81 uid_t uid; local 82 uid = getuid(); 83 pw = getpwuid(uid);
|
/osnet-11/usr/src/lib/pam_modules/smbfs/ |
H A D | smbfs_login.c | 62 uid_t uid; local 93 uid = pwbuf.pw_uid; 113 res = smbfs_keychain_add(uid, dom, user, pw, B_FALSE); 116 res = smbfs_keychain_del(uid, dom, user, B_FALSE);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 178 uid_t uid; local 202 uid = *(uid_t *) input_name_buffer->value; 204 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0) 209 uid = atoi(tmp);
|
/osnet-11/usr/src/lib/libadm/common/ |
H A D | ckuid.c | 148 ckuid(char *uid, short disp, char *defstr, char *error, char *help, argument 170 (void) strcpy(uid, defstr); 192 (void) strcpy(uid, input);
|
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal-is-caller-privileged.c | 77 permission_denied_privilege (const char *privilege, const char *uid) argument 81 fprintf (stderr, "%s refused uid %s\n", privilege, uid);
|
H A D | hal-storage-closetray.c | 64 invalid_closetray_option (const char *option, const char *uid) argument 67 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
|
H A D | hal-storage-unmount.c | 68 invalid_unmount_option (const char *option, const char *uid) argument 71 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_rexecd.c | 53 selected(uid, user, event, sf) 54 uid_t uid; 63 if (uid > MAXEPHUID) { 91 audit_rexecd_session_setup(char *name, char *mach, uid_t uid) argument 98 info.ai_auid = uid; 138 uid_t uid; local 168 uid = (uid_t)-1; 171 uid = pwd->pw_uid; 176 if (!selected(uid, user, event, -1)) 196 au_to_subject_ex(uid, ui 249 uid_t uid; local [all...] |
H A D | audit_rshd.c | 104 uid_t uid; local 116 uid = (uid_t)-1; 119 uid = pwd->pw_uid; 123 if (!selected(uid, locuser, rshd_event, sf_flag)) 134 (void) au_write(rd, au_to_subject_ex(uid, uid, gid, uid, gid, pid, pid, 175 selected(uid_t uid, char *locuser, au_event_t event, int sf) argument 181 if (uid > MAXEPHUID) { 205 uid_t uid; local [all...] |