Searched refs:SH_PRIVILEGED (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/ksh93/data/
H A Doptions.c94 "privileged", SH_PRIVILEGED,
/ast/src/cmd/ksh93/sh/
H A Dargs.c73 SH_KEYWORD, SH_MONITOR, SH_NOEXEC, SH_PRIVILEGED, SH_SFLAG, SH_TFLAG,
355 /* handling SH_INTERACTIVE and SH_PRIVILEGED has been moved to
390 if(is_option(&newflags,SH_PRIVILEGED))
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)
394 if(!is_option(&newflags,SH_PRIVILEGED))
407 off_option(&newflags,SH_PRIVILEGED);
H A Dmain.c203 if(!sh_isoption(SH_NOUSRPROFILE) && !sh_isoption(SH_PRIVILEGED))
213 if(!sh_isoption(SH_NOUSRPROFILE) && !sh_isoption(SH_PRIVILEGED) && sh_isoption(SH_RC))
239 else if(sh_isoption(SH_INTERACTIVE) && sh_isoption(SH_PRIVILEGED))
H A Dinit.c1518 if(!sh_isoption(SH_PRIVILEGED) && shp->gd->userid >= SHOPT_P_SUID)
1525 sh_onoption(SH_PRIVILEGED);
1533 sh_offoption(SH_PRIVILEGED);
/ast/src/cmd/ksh93/include/
H A Dshell.h88 #define SH_PRIVILEGED 26 macro
/ast/src/cmd/ksh93/edit/
H A Dhistory.c837 sfprintf(hp->auditfp,"%u;%u;%s;%*s%c",sh_isoption(SH_PRIVILEGED)?shgd->euserid:shgd->userid,t,hp->tty,size,buff,0);

Completed in 26 milliseconds