diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 23:09:39 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 23:09:39 +0200 |
commit | a42c2a846d854d5b1ad42e27ee7091c72d2b5080 (patch) | |
tree | 2278f8fca96c02a0c7f97a40fb85f9e8a4b2deeb /src/tryshsgr.c | |
parent | e6e9663d40f7aab9e1982dddcaa11386551ad182 (diff) |
convert to the meson build system
Diffstat (limited to 'src/tryshsgr.c')
-rw-r--r-- | src/tryshsgr.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/tryshsgr.c b/src/tryshsgr.c deleted file mode 100644 index ea1bf66..0000000 --- a/src/tryshsgr.c +++ /dev/null @@ -1,15 +0,0 @@ -int main() -{ - short x[4]; - - x[0] = x[1] = 1; - if (getgroups(1, x) == 0) - if (setgroups(1, x) == -1) _exit(1); - - if (getgroups(1, x) == -1) _exit(1); - if (x[1] != 1) _exit(1); - x[1] = 2; - if (getgroups(1, x) == -1) _exit(1); - if (x[1] != 2) _exit(1); - _exit(0); -} |