diff options
| author | Eivind Eklund <eivind@FreeBSD.org> | 1997-09-01 00:34:51 +0000 |
|---|---|---|
| committer | Eivind Eklund <eivind@FreeBSD.org> | 1997-09-01 00:34:51 +0000 |
| commit | 34a13bf4cb36b9ba554bf9593c9b180b91988d8d (patch) | |
| tree | 2afc8210fc2a0f5e9bb905721c895b27fcab5fec /games/grdc | |
| parent | e3ffd60e0a4993e1ee9f1b08e33547aff372de75 (diff) | |
Notes
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 ebb3293b51f7..6e7b0d1226dd 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); |
