1: /*
2: * Copyright (c) 1983 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #if defined(LIBC_SCCS) && !defined(lint)
8: static char sccsid[] = "@(#)setgid.c 5.2 (Berkeley) 3/9/86";
9: #endif LIBC_SCCS and not lint
10:
11: /*
12: * Backwards compatible setgid.
13: */
14: setgid(gid)
15: int gid;
16: {
17:
18: return (setregid(gid, gid));
19: }
Defined functions
setgid
defined in line
14; used 68 times
- in /usr/ingres/source/dbu/copy.c line
226
- in /usr/ingres/source/dbu/help.c line
201
- in /usr/ingres/source/monitor/edit.c line
42
- in /usr/ingres/source/monitor/shell.c line
44
- in /usr/ingres/source/monitor/ttymon.c line
89
- in /usr/ingres/source/support/creatdb.c line
372
- in /usr/ingres/source/support/ingres.y line
1411
- in /usr/src/bin/login.c line
335
- in /usr/src/bin/ps.c line
444
- in /usr/src/bin/su.c line
114
- in /usr/src/bin/write.c line
227
- in /usr/src/etc/cron.c line
204
- in /usr/src/etc/edquota.c line
139
- in /usr/src/etc/inetd.c line
317
- in /usr/src/etc/rexecd.c line
183
- in /usr/src/etc/rshd.c line
220
- in /usr/src/games/compat/runcompat.c line
67
- in /usr/src/games/compat/unixtraps.c line
468
- in /usr/src/games/fortune/fortune.c line
152
- in /usr/src/games/robots/main.c line
41
- in /usr/src/games/rogue/machdep.c line
121
- in /usr/src/new/X/xterm/main.c line
1120
- in /usr/src/new/mh/mts/sendmail/smail.c line
147
- in /usr/src/new/mh/sbr/m_getdefs.c line
71,
120
- in /usr/src/new/mh/sbr/m_update.c line
65
- in /usr/src/new/mh/sbr/makedir.c line
31
- in /usr/src/new/mh/support/pop/popser.c line
496,
503-507(2)
- in /usr/src/new/mh/uip/bbl.c line
289,
514,
535
- in /usr/src/new/mh/uip/post.c line
2355
- in /usr/src/new/mh/uip/rmail.c line
90
- in /usr/src/new/mh/uip/slocal.c line
274
- in /usr/src/new/mh/uip/umhook.c line
129
- in /usr/src/new/mh/zotnet/mf/mmdfI/src/uucp/rmail.c line
103
- in /usr/src/new/news/src/control.c line
656
- in /usr/src/new/news/src/expire.c line
125
- in /usr/src/new/news/src/funcs.c line
97,
477,
485
- in /usr/src/new/news/src/ifuncs.c line
393,
588
- in /usr/src/new/news/src/inews.c line
178
- in /usr/src/new/news/src/rfuncs2.c line
78
- in /usr/src/new/nntp/server/misc.c line
464
- in /usr/src/new/notes/src/misc.c line
79,
214
- in /usr/src/new/notes/src/savtxt.c line
65
- in /usr/src/ucb/rdist/server.c line
1296
- in /usr/src/ucb/vacation.c line
375
- in /usr/src/usr.bin/at/atrun.c line
316
- in /usr/src/usr.bin/uucp/cico.c line
177
- in /usr/src/usr.bin/uucp/mailst.c line
73
- in /usr/src/usr.bin/uucp/uucpd.c line
186
- in /usr/src/usr.bin/uucp/uucpname.c line
45
- in /usr/src/usr.bin/uucp/uuxqt.c line
110
- in /usr/src/usr.lib/lpr/printjob.c line
76
- in /usr/src/usr.lib/sendmail/src/deliver.c line
846-851(2),
1215-1220(3)
- in /usr/src/usr.lib/sendmail/src/main.c line
176,
428
- in /usr/src/usr.lib/sendmail/src/readcf.c line
695
Defined variables
sccsid
defined in line
8;
never used