2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* @(#)setuid.h 1.2 99/12/19 Copyright 1998,1999 Heiko Eissfeldt */
14 /* Security functions */
15 void initsecurity(void);
17 void needroot(int necessary);
18 void dontneedroot(void);
19 void neverneedroot(void);
21 void needgroup(int necessary);
22 void dontneedgroup(void);
23 void neverneedgroup(void);
28 int seteuid(uid_t uid);
29 int setreuid(uid_t uid1, uid_t uid2);
30 int setregid(gid_t gid1, gid_t gid2);