Lines Matching refs:mode
371 ** - MPE priv mode allows sendmail to call setuid(), not uid 0
376 ** setuid mode bits which exist but are unused by MPE. If the setgid mode
377 ** bit is on, then gid emulation will be enabled. If the setuid mode bit is
392 ** SENDMAIL_MPE_GETMODE -- return the mode bits for the current process
398 ** file mode bits for the current process program file.
436 ** If !sendmail_mpe_flaginit then obtain the mode bits to determine
454 mode_t mode;
456 mode = sendmail_mpe_getmode();
457 sendmail_mpe_gidflag = ((mode & S_ISGID) == S_ISGID);
458 sendmail_mpe_uidflag = ((mode & S_ISUID) == S_ISUID);
467 ** If sendmail_mpe_uidflag == -1 then obtain the mode bits to determine
485 mode_t mode;
487 mode = sendmail_mpe_getmode();
488 sendmail_mpe_gidflag = ((mode & S_ISGID) == S_ISGID);
489 sendmail_mpe_uidflag = ((mode & S_ISUID) == S_ISUID);
498 ** If emulation mode is in effect and the saved egid has been
523 ** If emulation mode is in effect, return the saved euid; otherwise
533 ** emulated euid if in emulation mode, else true euid.