diff options
Diffstat (limited to 'games/grdc')
-rw-r--r-- | games/grdc/grdc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index ebb3293..6e7b0d1 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -56,6 +56,10 @@ int n = 0; initscr(); + /* revoke privs */ + setegid(getgid()); + setgid(getgid()); + signal(SIGINT,sighndl); signal(SIGTERM,sighndl); signal(SIGHUP,sighndl); |