/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | setuid.c | 30 setuid(int uid) argument 32 return (setreuid(uid, uid));
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | getuid.c | 32 int uid; local 34 if ((uid = _getuid()) > 0xffff) 35 uid = 60001; /* nobody */ 36 return (uid);
|
H A D | setreuid.c | 32 setreuid(int uid, int euid) argument 34 if (uid > 0xffff || euid > 0xffff) { 38 return (_setreuid(uid, euid));
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | setuid.c | 30 setuid(int uid) argument 33 return (setreuid(uid, uid)); 35 return (setreuid(-1, uid));
|
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | getpw.c | 32 getpw(int uid, char buf[]) argument 37 pw = getpwuid(uid);
|
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | getpw.c | 32 getpw(int uid, char buf[]) argument 37 pw = getpwuid(uid);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | getname.c | 64 uid_t uid; local 72 uid = getuid(); 78 || p->pw_uid != uid 80 if ((p = getpwuid(uid))) 89 if (uid > 0) { 92 sprintf (logname, "%d", uid);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | getname.c | 51 * Search the passwd file for a uid. Return name through ref parameter 57 getname(uid_t uid, char namebuf[]) argument 61 if (uid == (uid_t)-1) { 66 pw = getpwuid(uid);
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetpw.c | 42 uid_t uid; local 54 * a uid, if it can be completely transformed 55 * to a long integer. So we check for uid in 61 uid = strtoul(*list, &ptr, 10); 63 ((pwp = getpwuid(uid)) == NULL)) {
|
H A D | dogetsp.c | 44 uid_t uid; local
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_getuid.c | 27 * Routines to set gssd value of uid and replace getuid libsys call. 53 set_gssd_uid(uid_t uid) argument 79 printf(gettext("set_gssd_uid called with uid = %d\n"), uid); 82 * nfsd runs as UID 1, so upcalls triggered by nfsd will cause uid to 85 if (uid == 1) 86 uid = 0; 93 krb5_cc_uid = uid; 99 * Switch uid and set the saved set-uid t [all...] |
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | uid.c | 42 static boolean_t isreserveduid(uid_t uid); 45 * Find the highest unused uid. If the highest unused uid is "stop", 51 uid_t uid = start; local 59 if (pwd->pw_uid >= uid) { 64 uid = pwd->pw_uid + 1; 74 while (isreserveduid(uid) && uid < stop) /* Skip reserved IDs */ 75 uid++; 76 *ret = uid; 85 isreserveduid(uid_t uid) argument 97 uid_t uid; local [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_selfcred.h | 51 uid_t uid; member in struct:nscd_fork
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rquota.c | 72 int uid; local 86 uid = getxdr_long(); 90 uid, buff);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.h | 43 uid_t uid; /* User id */ member in struct:smb_passid
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 17 * safechown changes the owner ship of src to uid. If the mode parameter 24 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument 57 /* we should probably get the primary group id for uid here */ 58 if (fchown(fd, uid, gid)) { 79 fprintf(stderr, "Usage %s [-u uid] [-m mode] source\n", prg); 87 uid_t uid = 0; local 95 uid = atoi(optarg); 105 if (safechown(argv[optind], uid, getgid(), mode)) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 131 uid_t uid; local 155 uid = *(uid_t *) input_name_buffer->value; 157 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0) 162 uid = atoi(tmp);
|
/illumos-gate/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));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | chown.c | 36 fchownat(int fd, const char *name, uid_t uid, gid_t gid, int flags) argument 38 return (syscall(SYS_fchownat, fd, name, uid, gid, flags)); 43 chown(const char *name, uid_t uid, gid_t gid) argument 46 return (syscall(SYS_chown, name, uid, gid)); 48 return (fchownat(AT_FDCWD, name, uid, gid, 0)); 54 lchown(const char *name, uid_t uid, gid_t gid) argument 57 return (syscall(SYS_lchown, name, uid, gid)); 59 return (fchownat(AT_FDCWD, name, uid, gid, AT_SYMLINK_NOFOLLOW)); 65 fchown(int filedes, uid_t uid, gid_t gid) argument 68 return (syscall(SYS_fchown, filedes, uid, gi [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | log_auto.h | 21 DBT uid; member in struct:_log_register_args
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 53 uid_t uid; local 55 uid = getuid(); 57 perror("cannot determine adm's uid"), exit(1); 60 if (uid == ROOT || uid == admuid) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | expfile.c | 51 uid_t uid; local 64 if ((user[0]=='\0') || (gninfo(user, &uid, file) != 0)){
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | store_forw_creds.c | 53 uid_t uid; local 60 uid = getuid(); 103 (void) seteuid(uid);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/ |
H A D | lsacl.c | 100 uid_t uid; local 136 error = smbfs_acl_sd2zfs(sd, acl, &uid, &gid); 148 if (uid == (uid_t)-1) 151 printf("owner: %u\n", uid);
|