mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -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;
|
||
|
}
|