Home
last modified time | relevance | path

Searched refs:getuid (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/titanic_41/usr/src/lib/libc/common/sys/
H A Dgetuid.s37 ANSI_PRAGMA_WEAK(getuid,function)
41 SYSCALL_NOERROR_RVAL1(getuid)
43 SET_SIZE(getuid)
H A Dgeteuid.s44 SYSTRAP_RVAL2(getuid) /* rval2 = euid */
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dsmrsh.c242 syslog(LOG_CRIT, "uid %d: missing command to exec", (int) getuid());
304 (int) getuid(), cmd);
323 (int) getuid(), cmd);
341 (int) getuid(), cmd);
355 (int) getuid(), cmd);
399 (int) getuid(), *r, par);
409 (int) getuid());
/titanic_41/usr/src/cmd/ssh/sftp-server/
H A Dsftp-server-main.c44 if ((user_pw = getpwuid(getuid())) == NULL) { in main()
46 (ulong_t)getuid()); in main()
/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Dcuserid.c32 extern int getuid();
48 pw = getpwuid(getuid());
/titanic_41/usr/src/cmd/ssh/ssh-keysign/
H A Dssh-keysign.c172 (void) setreuid(getuid(), getuid()); in main()
185 original_real_uid = getuid(); /* XXX readconf.c needs this */ in main()
196 if ((pw = getpwuid(getuid())) == NULL) in main()
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssdtest.c93 extern uid_t getuid();
360 uid = getuid();
539 uid = getuid();
746 uid = getuid();
812 uid = getuid();
1051 uid = (uid_t) getuid();
1241 uid = (uid_t) getuid();
1299 uid = (uid_t) getuid();
1374 uid = (uid_t) getuid();
1451 uid = (uid_t) getuid();
[all …]
/titanic_41/usr/src/cmd/acctadm/
H A Dutils.c173 if (setreuid(getuid(), getuid()) == -1 || in open_exacct_file()
200 if (seteuid(getuid()) == 1) in verify_exacct_file()
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c210 seteuid(getuid()); in next_job_id()
269 seteuid(getuid()); in reserved_port()
280 if ((p = getpwuid(getuid())) != NULL) in get_user_name()
321 uid_t uid = getuid(); in massage_control_data()
655 setreuid(getuid(), getuid()); in usage()
687 uid_t uid = getuid(); in main()
/titanic_41/usr/src/cmd/newgrp/
H A Dnewgrp.c100 if ((p = getpwuid(getuid())) == NULL) in main()
141 if (setgid(p->pw_gid) < 0 || setuid(getuid()) < 0) in main()
246 if (p->pw_gid == g->gr_gid || getuid() == 0) {
/titanic_41/usr/src/man/man2/
H A DMakefile68 getuid.2 \
339 getegid.2 := LINKSRC = getuid.2
340 geteuid.2 := LINKSRC = getuid.2
341 getgid.2 := LINKSRC = getuid.2
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dentropy.c92 ( seteuid(getuid()) == -1 || in seed_rng()
150 if ((original_uid = getuid()) == -1) in init_rng()
H A Dreadpass.c62 seteuid(getuid()); in ssh_askpass()
63 setuid(getuid()); in ssh_askpass()
/titanic_41/usr/src/cmd/utmp_update/
H A Dutmp_update.c146 if (getuid() == ROOT_UID) { in main()
316 uid_t ruid = getuid(); in check_utmpx()
341 entryx->ut_user, uid, getuid()); in check_utmpx()
474 if (seteuid(getuid()) != 0) in bad_line()
/titanic_41/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c132 md->uid = getuid();
156 md->uid = getuid();
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dt-shm.c89 i = sm_shmsetowner(shmid, getuid(), getgid(), 0644);
174 r = sm_shmsetowner(shmid, getuid(), getgid(), 0660);
/titanic_41/usr/src/cmd/print/lpset/
H A Dlpset.c60 if ((uid = getuid()) == 0) in authorized()
193 (void) setuid(getuid()); in main()
235 (void) setuid(getuid()); in main()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipnat.c183 (void) setreuid(getuid(), getuid());
223 (void) setreuid(getuid(), getuid());
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dgetuid.c30 getuid(void) in getuid() function
/titanic_41/usr/src/cmd/rexd/
H A Dunder.c171 setuid(getuid());
202 setuid(getuid());
/titanic_41/usr/src/lib/libast/common/comp/
H A Dgetlogin.c39 return fmtuid(getuid());
/titanic_41/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dscadm.c48 if (getuid() != 0) { in main()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dregress.c202 intercept_ruid = getuid(); in geteuid()
214 intercept_ruid = getuid(); in setuid()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgetuid.c60 gptr = &getuid; in krb5_getuid()
/titanic_41/usr/src/ucblib/libucb/port/sys/
H A Dgethostname.c72 if (getuid()) { in sethostname()

12345678910>>...14