diff options
Diffstat (limited to 'guts/getgroups.c')
-rw-r--r-- | guts/getgroups.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/guts/getgroups.c b/guts/getgroups.c new file mode 100644 index 0000000..8394325 --- /dev/null +++ b/guts/getgroups.c @@ -0,0 +1,15 @@ +/* + * static int + * wrap_getgroups(int size, gid_t *list) { + * int rc = -1; + */ + + /* you're only in group zero */ + rc = 1; + if (size > 0) { + list[0] = 0; + } + +/* return rc; + * } + */ |