summaryrefslogtreecommitdiff
path: root/src/tryshsgr.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 23:09:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 23:09:39 +0200
commita42c2a846d854d5b1ad42e27ee7091c72d2b5080 (patch)
tree2278f8fca96c02a0c7f97a40fb85f9e8a4b2deeb /src/tryshsgr.c
parente6e9663d40f7aab9e1982dddcaa11386551ad182 (diff)
convert to the meson build system
Diffstat (limited to 'src/tryshsgr.c')
-rw-r--r--src/tryshsgr.c15
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);
-}