repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libc, libutil: remove compat hacks
[minix.git]
/
lib
/
libc
/
sys-minix
/
issetugid.c
blob
499331f150d740bd28f1523c2bd15e858fa27236
1
#include <sys/cdefs.h>
2
#include
"namespace.h"
3
#include <lib.h>
4
5
#include <unistd.h>
6
7
int
issetugid
(
void
)
8
{
9
int
r
;
10
message m
;
11
12
r
=
_syscall
(
PM_PROC_NR
,
ISSETUGID
, &
m
);
13
if
(
r
== -
1
)
return
0
;
/* Default to old behavior */
14
return
(
r
);
15
}