Searched refs:userid (Results 1 - 12 of 12) sorted by relevance
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_rsh.c | 42 char *lpath, *rpath, *hostid, *userid; local 50 userid = mitem->user; 53 if( userid == NULL || *userid == '\0' ) { 56 sfsprintf( cmd, sizeof(cmd), "rsh -l %s %s", userid, hostid ); 79 if( userid == NULL || *userid == '\0' ) { 82 sfsprintf( cmd, sizeof(cmd), "%s@%s", userid, hostid );
|
H A D | vcs.c | 48 int userid[ FD_SETSIZE ]; member in struct:__anon90 104 CST->userid[ fd ] = id->uid; 145 uid = CST->userid[fd];
|
/ast/src/cmd/ksh93/bltins/ |
H A D | test.c | 411 return(statb.st_uid==shp->gd->userid); 569 if(shp->gd->userid==shp->gd->euserid && shp->gd->groupid==shp->gd->egroupid) 577 if(shp->gd->userid==shp->gd->euserid || setreuid(shp->gd->euserid,shp->gd->userid)==0) 581 if(shp->gd->userid!=shp->gd->euserid) 582 setreuid(shp->gd->userid,shp->gd->euserid);
|
/ast/src/cmd/ksh93/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->gd->userid!=shp->gd->euserid) 396 setuid(shp->gd->userid); 400 shp->gd->euserid = shp->gd->userid; 404 else if((shp->gd->userid!=shp->gd->euserid && setuid(shp->gd->euserid)<0) || 406 (shp->gd->userid==shp->gd->euserid && shp->gd->groupid==shp->gd->egroupid))
|
H A D | init.c | 1283 shgd->userid=getuid(); 1507 struct passwd *pw = getpwuid(shp->gd->userid); 1514 if(shp->gd->userid!=shp->gd->euserid || shp->gd->groupid!=shp->gd->egroupid) 1518 if(!sh_isoption(SH_PRIVILEGED) && shp->gd->userid >= SHOPT_P_SUID) 1520 setuid(shp->gd->euserid=shp->gd->userid);
|
H A D | path.c | 1295 if((euserid=geteuid()) != shp->gd->userid)
|
/ast/src/cmd/mailx/ |
H A D | local.c | 168 * Mapping cached in state.userid. 172 userid(char* name) function 177 up = dictsearch(&state.userid, name, INSERT);
|
H A D | mailx.h | 668 Dt_t* userid; /* User name -> id map */ member in struct:__anon136 1082 extern int userid(char*);
|
H A D | vars.c | 720 else if (userid(state.var.user) < 0)
|
/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 200 if(shgd->userid >=id1 && shgd->userid <= id2) 222 * if HISTNAME is not given and userid==0 then no history file. 292 if(shgd->userid) 837 sfprintf(hp->auditfp,"%u;%u;%s;%*s%c",sh_isoption(SH_PRIVILEGED)?shgd->euserid:shgd->userid,t,hp->tty,size,buff,0);
|
/ast/src/cmd/ksh93/include/ |
H A D | defs.h | 121 uid_t userid; member in struct:shared
|
/ast/src/cmd/ie/ |
H A D | history.c | 96 * if HISTNAME is not given and userid==0 then no history file. 157 if(sh.userid)
|
Completed in 53 milliseconds