/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 92 static int cf_expand_home_dir(CompleteFile *cf, const char *user); 287 * ~user and ~ are usually followed by a directory separator to 470 * Lookup the home directory of the specified user, or the current user 475 * user const char * The username to lookup, or "" to lookup the 476 * current user. 481 static int cf_expand_home_dir(CompleteFile *cf, const char *user) argument 486 const char *home_dir = _hd_lookup_home_dir(cf->home, user); 551 * The user/home-directory scanner callback function (see homedir.h)
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tcpd.h | 105 char user[STRING_LENGTH]; /* access via eval_user(request) */ member in struct:request_info 181 extern int rfc931_timeout; /* user lookup timeout */ 199 #define RQ_USER 3 /* client user name */ 211 * name, address, and client user lookup methods. The request_info and 215 extern char *eval_user(); /* client user */
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 51 #include <sys/user.h> 75 user_t user; /* manufactured u-block */ member in struct:cstatus 257 data = *((int *)((caddr_t)(&cp->user) + xaddr)); 283 data = (cp->user.u_reg[EFL] & ~PSL_USERMASK) | 285 cp->user.u_reg[rx] = data; 301 ps->pr_lwp.pr_reg[GS] = cp->user.u_reg[GS]; 302 ps->pr_lwp.pr_reg[FS] = cp->user.u_reg[FS]; 303 ps->pr_lwp.pr_reg[ES] = cp->user.u_reg[ES]; 304 ps->pr_lwp.pr_reg[DS] = cp->user.u_reg[DS]; 305 ps->pr_lwp.pr_reg[EDI] = cp->user [all...] |
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 50 #include <sys/user.h> 75 user_t user; /* manufactured u-block */ member in struct:cstatus 257 data = *((int *)((caddr_t)(&cp->user) + xaddr)); 268 if (xaddr >= (unsigned)cp->user.u_reg[REG_SP] && 269 xaddr < (unsigned)cp->user.u_reg[REG_SP]+16*sizeof (int)) 287 data = (cp->user.u_reg[REG_PS] & 291 cp->user.u_reg[rx] = data; 307 ps->pr_lwp.pr_reg[R_PSR] = cp->user.u_reg[REG_PSR]; 308 ps->pr_lwp.pr_reg[R_PC] = cp->user.u_reg[REG_PC]; 309 ps->pr_lwp.pr_reg[R_nPC] = cp->user [all...] |
/illumos-gate/usr/src/cmd/ypcmd/mknetid/ |
H A D | mknetid.c | 31 * If some user appears in passwd, they get an entry like: 65 char *user; member in struct:group_list 245 char user[MAXNAMELEN]; local 252 check_getname(lp, user, WHITE, COLON, ""); /* username */ 253 if (user[0] == '-' || user[0] == '+') { 270 printgroups(user, gid); 427 * Add gid to the list of a user's groups 430 storegid(gid, user) 432 char *user; [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 103 static char user[NMAX + 1]; variable 229 if (chkauthattr(AUTHNAME_SHUTDOWN, user) != 1) { 231 "authorizations to shutdown this machine.\n"), user); 276 * Does the user have permission to use this command? 278 if (chkauthattr(AUTHNAME_SUSPEND, user) != 1) { 280 "authorizations to suspend this machine.\n"), user); 499 * Determine home directory of the user. 504 "entry for user.\n")); 524 * If Xsession can not access user's home directory, it creates the 528 * by the user [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 180 "job-originating-user-name", entry); 663 if (run_user != NULL) /* get the requested user info */ 672 if (pw != NULL) { /* run as the requested user */ 753 char *user = *args++; local 760 snprintf(buf, sizeof (buf), "%s@%s", user, host); 763 status = papiServiceSetUserName(svc, user);
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 56 const char *user = "cn=Directory Manager"; local 60 result = _updateldap("add", host, user, passwd, 66 result = _updateldap("delete", host, user, passwd, 72 result = _updateldap("delete", host, user, passwd, TPRINTERNAME, 78 result = _updateldap("delete", host, user, passwd, "_default", 84 result = _updateldap("add", host, user, passwd, TPRINTERNAME, 90 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 96 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 111 const char *user, 134 fd = rexec((char **)&host, htons(512), user, 109 _dorexec( const char *host, const char *user, const char *passwd, const char *cmd, const char *locale) argument [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | rpc.rexd.c | 672 * signal handler for SIGCHLD - called when user process dies or is stopped 840 char *user = NULL; local 1173 if (pam_get_item(pamh, PAM_USER, (void **)&user) != PAM_SUCCESS) { 1174 audit_rexd_fail("user id is not valid", 1176 user, 1197 audit_rexd_fail("user id is not valid", 1199 user, 1209 user, 1250 * Null command means execute the default shell for this user 1349 setproctitle(user, hos [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 47 char user[10]; /* user's name */ variable 48 char homedir[128]; /* user's home directory */ 120 strncpy(user, pw->pw_name, sizeof (user)); 121 user[sizeof (user) - 1] = '\0'; 282 * if the user disables krb5 on the cmdline (-K), then skip 285 * if the user does not disable krb5 or enable krb5 on the
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 106 * in.rexecd has been modified to run as the user invoking it. Hence there is no 165 char user[16]; local 269 getstr(user, sizeof (user), "username"); 273 pwd = getpwnam_r(user, &pw_data, pwdbuf, sizeof (pwdbuf)); 275 (void) audit_rexecd_fail("Login incorrect", hostname, user, 294 if (pam_start("rexec", user, &conv, &pamh) != PAM_SUCCESS) { 305 user, cmdbuf); /* BSM */ 310 user, cmdbuf); /* BSM */ 318 hostname, user, cmdbu [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | names.c | 56 static char *norm(register char *user, register char *ubuf, 490 norm(register char *user, register char *ubuf, int nbangs) argument 495 while (*user++ == '!') 497 user--; 498 if (!strchr(user, '!')) { 499 snprintf(ubuf, BUFSIZ, "%s!%s", host, user); 500 user = ubuf; 504 cp = user + strlen(user); 506 while (cp > user 531 samebody(register char *user, register char *addr, int fuzzy) argument [all...] |
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 466 char user[sizeof (up->ut_user) + 1]; local 490 strncpy(user, up->ut_user, sizeof (up->ut_user)); 491 user[sizeof (up->ut_user)] = '\0'; 497 if ((pam_start("sac", user, NULL, &pamh)) ==
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 472 char buf0[MAXNAME + 1]; /* unquoted image of the user name */ 635 /* get unquoted user for file, program or user.name check */ 672 "550 UID %d is an unknown user: cannot mail to programs", 737 ** equal MX RR's and the same user. Calling sameaddr() 895 "550 UID %d is an unknown user: cannot mail to files", 919 /* if not aliased, look it up in the user database */ 929 "Deferred: user database error"); 931 new->q_message = "Deferred: user database error"; 936 message("queued (user databas 974 SM_MBDB_T user; local 1307 char *user = NULL; local 1439 char *volatile user; local 2032 SM_MBDB_T user; local [all...] |
H A D | udb.c | 109 ** UDBEXPAND -- look up user in database and expand 143 char *user; local 168 /* extract user to do userdb matching on */ 169 user = a->q_user; 173 if (user[0] == '\\') 177 if (user[0] == ':') 180 keylen = sm_strlcpyn(keybuf, sizeof(keybuf), 2, user, ":maildrop"); 201 user = userbuf; 210 ** explain the type of the data, and "user" should 211 ** contain the user informatio [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uudecode.c | 239 /* handle ~user/file format */ 242 struct passwd *user; local 248 gettext("Illegal ~user\n")); 252 user = getpwnam(dest+1); 253 if (user == NULL) { 255 gettext("No such user as %s\n"), dest); 258 (void) strncpy(dnbuf, user->pw_dir, sizeof (dnbuf));
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 91 * Dynamically check for libzfs, in case the user hasn't installed the SUNWzfs 276 getzfsquota(uid_t user, char *dataset, struct dqblk *zq) argument 290 (void) snprintf(propname, sizeof (propname), "userquota@%u", user); 296 (void) snprintf(propname, sizeof (propname), "userused@%u", user);
|
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 40 * sulogin - special login program exec'd from init to let user 41 * come up single user, or go to default init state straight away. 43 * Explain the scoop to the user, prompt for an authorized user 45 * is correct, check if the user is authorized, if so enter 46 * single user. ^D exits sulogin, and init will go to default init state. 49 * go single user, no questions asked. 260 * user shell prompt 271 * user shell prompt 452 char *user local [all...] |
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 458 want(struct utmpx *bp, char **host, char **user) argument 464 *host = zerostr; *user = zerostr; 469 *user = bp->ut_user; 474 *user = bp->ut_user; 478 * /var/adm/wtmpx with these values, so the user and host
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | table.c | 82 free_cause(lt_cause_t *cause, void *user) argument
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 286 char *user; local 294 if (nvlist_lookup_string(cmd->cmd_nvlist, "user", &user) != 0) { 295 syslog(LOG_ERR, NVLIST_FORMAT_ERR, "user"); 382 file, line, user, strerror(errno));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | user.h | 196 * The user structure; one allocated per process. Contains all the 200 typedef struct user { struct 247 #include <sys/proc.h> /* cannot include before user defined */ 260 * Here, we define a fake version of struct user for programs 266 * fake struct user defined here. 269 * user will have to define _KMEMUSER before including <sys/user.h>. 282 typedef struct user { struct 283 gregset_t u_reg; /* user's saved registers */ 284 greg_t *u_ar0; /* address of user' [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp1.c | 137 rp->secure->user = Strdup(pw->pw_name); 139 rp->secure->user = Strdup(BIGGEST_NUMBER_S); 140 (void) sprintf(rp->secure->user, "%u", 171 * user, and try again. if *this* fails, 549 * To be here means either the user owns 552 * set the RS_ADMINHELD flag if the user 643 * user may be (host!user) 647 _cancel(MESG *md, char *dest, char *user, char *req_id) argument 658 (user 752 char *user; local 797 char *user; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsar_clnt.c | 121 lsar_open_policy2(char *server, char *domain, char *user, argument 129 status = ndr_rpc_bind(lsa_handle, server, domain, user, "LSARPC"); 478 * Lookup a name and obtain the domain and user rid.
|
H A D | lsar_svc.c | 514 * Return the account name and NetBIOS domain name for the user making 523 smb_netuserinfo_t *user = mxa->pipe->np_user; local 543 rc1 = NDR_MSTRING(mxa, user->ui_account, 545 rc2 = NDR_MSTRING(mxa, user->ui_domain,
|