Searched refs:sgid (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/procmail-14/procmail/src/
H A Drecommend.c3 * recommendations about suid/sgid modes *
17 const char*const*p;mode_t sgid=0;int chmdir=0; local
26 sgid=S_ISGID,gid=stbuf.st_gid;
35 sgid=S_ISGID;gid=stbuf.st_gid;
38 sgid=0;
40 if(sgid)
45 printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]);
46 if(sgid)
47 printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]);
H A Dfoldinfo.c84 !stbuf.st_uid&&!chown(dir,uid,sgid)))) /* or be safely fixable */
178 sgid=gid; /* that we don't need to setgid() to create a lockfile */
203 if((sgid=stbuf.st_gid)!=egid&& /* we were started nosgid, */
204 setgid(sgid)) /* but we might need it */
205 checkroot('g',(unsigned long)sgid);
H A Dlocking.c39 if(sgid!=gid&&setegid(sgid)) /* try and get some extra permissions */
136 setegid(sgid); /* try and get some extra permissions */
H A Dprocmail.h55 #define priv_DONTNEED 1 /* don't need root to sgid */
106 extern gid_t gid,sgid;
H A Dexopen.c134 chown(full,uid,sgid))
H A Dlockfile.c4 * It has been designed to be able to be run sgid mail or *
32 gid_t sgid; variable
H A Dprocmail.c5 * case your mail spool area is *not* world writable) sgid *
69 gid_t gid,sgid; variable
415 fdefault=tstrdup(buf);sgid=egid;
543 * sgid privileges, if yes, drop all privs and set uid to
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-setres_id.c30 setresgid(gid_t rgid, gid_t egid, gid_t sgid) argument
34 if (rgid != sgid) {
/macosx-10.10/file_cmds-242/mtree/
H A Dcreate.c296 gid_t sgid; local
330 sgid = p->fts_statp->st_gid;
331 if (sgid < MAXGID && ++g[sgid] > maxgid) {
332 savegid = sgid;
333 maxgid = g[sgid];
/macosx-10.10/man-16/man/
H A Dconfigure14 # configure +suid/sgid (make man suid or sgid)
32 # and not making man suid or sgid is recommended.
43 echo " or: configure [-d|-default] [-confdir DIR] [+suid] [+sgid] \\"
49 echo 'The option +sgid will make man sgid to a group "man". Create this first.'
52 echo 'It is recommended not to use suid/sgid and not to keep cat pages.'
132 +sgid)
133 sgid=true
135 -sgid)
[all...]
/macosx-10.10/vim-55/runtime/syntax/
H A Dinitng.vim43 syn keyword initngServiceKeywords delay chdir suid sgid start_pause env_file env_parse pid_file pidfile contained
/macosx-10.10/xnu-2782.1.97/bsd/security/audit/
H A Daudit.h199 void audit_arg_sgid(struct kaudit_record *ar, gid_t sgid);
H A Daudit_arg.c203 audit_arg_sgid(struct kaudit_record *ar, gid_t sgid) argument
206 ar->k_ar.ar_arg_sgid = sgid;
/macosx-10.10/postfix-255/Postfix.Config/
H A Dpostfix-files137 $config_directory/postfix-script-sgid:f:root:-:755:o
/macosx-10.10/postfix-255/postfix/conf/
H A Dpostfix-files140 $config_directory/postfix-script-sgid:f:root:-:755:o
/macosx-10.10/emacs-93/emacs/lisp/net/
H A Dtramp.el6912 (sgid (> (logand (lsh mode -9) 2) 0))
6915 (setq group (tramp-file-mode-permissions group sgid "s"))

Completed in 270 milliseconds