mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 06:10:23 -04:00
12 lines
148 B
C
12 lines
148 B
C
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
if (setgid(1) == -1) {
|
|
perror("setgid");
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|