This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / d_setreuid.U
CommitLineData
d8875586
MBT
1?RCS: $Id: d_setreuid.U 1 2006-08-24 12:32:52Z rmanfredi $
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4?RCS:
5?RCS: You may redistribute only under the terms of the Artistic Licence,
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
8?RCS: that same Artistic Licence; a copy of which may be found at the root
9?RCS: of the source tree for dist 4.0.
10?RCS:
11?RCS: $Log: d_setreuid.U,v $
12?RCS: Revision 3.0 1993/08/18 12:07:13 ram
13?RCS: Baseline for dist 3.0 netwide release.
14?RCS:
15?MAKE:d_setreuid d_setresuid: Inlibc
16?MAKE: -pick add $@ %<
17?S:d_setreuid:
18?S: This variable conditionally defines HAS_SETREUID if setreuid() is
19?S: available to change the real and effective uid of the current
20?S: process.
21?S:.
22?S:d_setresuid:
23?S: This variable conditionally defines HAS_SETREUID if setresuid() is
24?S: available to change the real, effective and saved uid of the current
25?S: process.
26?S:.
27?C:HAS_SETREUID (SETREUID):
28?C: This symbol, if defined, indicates that the setreuid routine is
29?C: available to change the real and effective uid of the current
30?C: process.
31?C:.
32?C:HAS_SETRESUID (SETRESUID):
33?C: This symbol, if defined, indicates that the setresuid routine is
34?C: available to change the real, effective and saved uid of the current
35?C: process.
36?C:.
37?H:#$d_setreuid HAS_SETREUID /**/
38?H:#$d_setresuid HAS_SETRESUID /**/
39?H:.
40?LINT:set d_setreuid d_setresuid
41: see if setreuid exists
42set setreuid d_setreuid
43eval $inlibc
44set setresuid d_setresuid
45eval $inlibc
46