summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-01 11:53:14 +0000
committerache <ache@FreeBSD.org>1997-09-01 11:53:14 +0000
commit3afe2b17e3ba52f1a766fd840f69e086b2cf003a (patch)
treea571f05d99aaa40008823bbcfecc60f52a77bf09
parent8522624aad0bff66ad05d1a6f87acb420e1c0e3a (diff)
downloadFreeBSD-src-3afe2b17e3ba52f1a766fd840f69e086b2cf003a.zip
FreeBSD-src-3afe2b17e3ba52f1a766fd840f69e086b2cf003a.tar.gz
Remove HIDEGAME and revoke, it is not a game to hide it
-rw-r--r--games/bcd/Makefile1
-rw-r--r--games/bcd/bcd.c4
-rw-r--r--games/morse/Makefile1
-rw-r--r--games/morse/morse.c4
-rw-r--r--games/ppt/Makefile1
-rw-r--r--games/ppt/ppt.c4
6 files changed, 0 insertions, 15 deletions
diff --git a/games/bcd/Makefile b/games/bcd/Makefile
index 715ede1..2912fe6 100644
--- a/games/bcd/Makefile
+++ b/games/bcd/Makefile
@@ -3,7 +3,6 @@
PROG= bcd
MAN6= bcd.6
MLINKS= bcd.6 morse.6 bcd.6 ppt.6
-HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index cb0b3f9..53765da 100644
--- a/games/bcd/bcd.c
+++ b/games/bcd/bcd.c
@@ -131,10 +131,6 @@ main(argc, argv)
* but this seems kind of silly. So this one doesn't.
*/
- /* revoke privs */
- setegid(getgid());
- setgid(getgid());
-
if (argc > 1) {
while (--argc)
printcard(*++argv);
diff --git a/games/morse/Makefile b/games/morse/Makefile
index 4441189..242d2cd 100644
--- a/games/morse/Makefile
+++ b/games/morse/Makefile
@@ -2,7 +2,6 @@
PROG= morse
NOMAN= noman
-HIDEGAME=hidegame
CFLAGS += -DSPEAKER=\"/dev/speaker\"
.include <bsd.prog.mk>
diff --git a/games/morse/morse.c b/games/morse/morse.c
index a146669..a78e29f 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -212,10 +212,6 @@ main(int argc, char **argv)
register int ch;
register char *p;
- /* revoke */
- setegid(getgid());
- setgid(getgid());
-
while ((ch = getopt(argc, argv, "spw:f:")) != EOF)
switch ((char) ch) {
case 'f':
diff --git a/games/ppt/Makefile b/games/ppt/Makefile
index c7e91ed..64e3db0 100644
--- a/games/ppt/Makefile
+++ b/games/ppt/Makefile
@@ -2,7 +2,6 @@
PROG= ppt
NOMAN= noman
-HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/ppt/ppt.c b/games/ppt/ppt.c
index ab0d154..84fd89a 100644
--- a/games/ppt/ppt.c
+++ b/games/ppt/ppt.c
@@ -52,10 +52,6 @@ main(argc, argv)
register int c;
register char *p;
- /* revoke */
- setegid(getgid());
- setgid(getgid());
-
(void) puts("___________");
if (argc > 1)
while (p = *++argv)
OpenPOWER on IntegriCloud