/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.euid.ksh | 72 userid=`ps -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 78 $dfilename $userid >/dev/null 2>&1
|
H A D | tst.uid.ksh | 72 userid=`ps -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 78 $dfilename $userid >/dev/null 2>&1
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 157 char *userid = NULL; local 251 if (userid) sconn->sparams->utils->free(userid); 253 if (userid) sasl_FREE(userid); 270 char *userid = NULL; local 337 if (userid) sconn->sparams->utils->free(userid); 339 if (userid) sasl_FREE(userid); 407 pwcheck_verify_password(sasl_conn_t *conn, const char *userid, const char *passwd, const char *service __attribute__((unused)), const char *user_realm __attribute__((unused))) argument 497 saslauthd_verify_password(sasl_conn_t *conn, const char *userid, const char *passwd, const char *service, const char *user_realm) argument [all...] |
H A D | common.c | 1487 const char *userid; local 1501 userid = getenv("LOGNAME"); 1502 if (userid != NULL) { 1503 *result = userid; 1504 if (len) *len = strlen(userid); 1508 userid = getenv("USER"); 1509 if (userid != NULL) { 1510 *result = userid; 1511 if (len) *len = strlen(userid); 1514 userid [all...] |
H A D | saslint.h | 410 const char *userid,
|
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 253 char *userid = NULL; local 267 /* extract userid; everything before last space */ 281 userid = (char *) sparams->utils->malloc(pos+1); 282 if (userid == NULL) { 288 memcpy(userid, clientin, pos); 289 userid[pos] = '\0'; 296 userid, 0, SASL_CU_AUTHID | SASL_CU_AUTHZID, 406 if (userid) sparams->utils->free(userid); 631 /* try to get the userid */ [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | test.c | 408 return(statb.st_uid==sh.userid); 563 if(sh.userid==sh.euserid && sh.groupid==sh.egroupid) 571 if(sh.userid==sh.euserid || setreuid(sh.euserid,sh.userid)==0) 575 if(sh.userid!=sh.euserid) 576 setreuid(sh.userid,sh.euserid);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | args.c | 392 if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->userid!=shp->euserid) 396 setuid(shp->userid); 400 shp->euserid = shp->userid; 404 else if((shp->userid!=shp->euserid && setuid(shp->euserid)<0) || 406 (shp->userid==shp->euserid && shp->groupid==shp->egroupid))
|
H A D | init.c | 1090 shp->userid=getuid(); 1258 struct passwd *pw = getpwuid(shp->userid); 1265 if(shp->userid!=shp->euserid || shp->groupid!=shp->egroupid) 1269 if(!sh_isoption(SH_PRIVILEGED) && shp->userid >= SHOPT_P_SUID) 1271 setuid(shp->euserid=shp->userid);
|
H A D | path.c | 1261 if((euserid=geteuid()) != shp->userid)
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 442 * ret = http_set_basic_auth(handle, userid, password); 446 * userid - ID to pass as part of http/https request 456 http_set_basic_auth(http_handle_t handle, const char *userid, argument 464 if (password == NULL || userid == NULL || userid[0] == '\0') { 469 userid = strdup(userid); 471 if (userid == NULL || password == NULL) { 472 free((void *)userid); 479 c_id->basic_auth_userid = (char *)userid; [all...] |
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 201 if(shp->userid >=id1 && shp->userid <= id2) 223 * if HISTNAME is not given and userid==0 then no history file. 293 if(shp->userid) 805 sfprintf(hp->auditfp,"%u;%u;%s;%*s%c",sh_isoption(SH_PRIVILEGED)?shp->euserid:shp->userid,t,hp->tty,size,buff,0);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rcp.c | 78 static uid_t userid; variable 204 if (!(pwd = getpwuid(userid = getuid()))) { 206 (uint_t)userid); 349 (void) setuid(userid); 356 (void) setuid(userid); 780 (void) setuid(userid);
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 151 uid_t userid,euserid; /* real and effective user id */ \
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 4612 const char *authid = NULL, *userid = NULL, *realm = NULL; local 4628 /* try to get the userid */ 4630 user_result = _plug_get_userid(params->utils, &userid, prompt_need); 4739 if (!userid || !*userid) { 4750 userid, 0, SASL_CU_AUTHZID, oparams);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 452 uid_t userid, gid_t groupid) 501 (void) chown(path, userid, groupid); 451 make_one_dir(zlog_t *zlogp, const char *prefix, const char *subdir, mode_t mode, uid_t userid, gid_t groupid) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uds_daemon.c | 66 int WCFNameResolvesToAddr(WCFConnection *conn, char* domainName, struct sockaddr* address, uid_t userid) __attribute__((weak_import)); 67 int WCFNameResolvesToName(WCFConnection *conn, char* fromName, char* toName, uid_t userid) __attribute__((weak_import)); 5071 request->uid = x.cr_uid; // save the effective userid of the client 5264 // Currently, we're unable to remove /var/run/mdnsd because we've changed to userid "nobody"
|