mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Remove HIDEGAME and revoke, it is not a game to hide it
This commit is contained in:
parent
663d61b5eb
commit
0e1f00a61f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29017
@ -3,7 +3,6 @@
|
||||
PROG= bcd
|
||||
MAN6= bcd.6
|
||||
MLINKS= bcd.6 morse.6 bcd.6 ppt.6
|
||||
HIDEGAME=hidegame
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -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);
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
PROG= morse
|
||||
NOMAN= noman
|
||||
HIDEGAME=hidegame
|
||||
CFLAGS += -DSPEAKER=\"/dev/speaker\"
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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':
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
PROG= ppt
|
||||
NOMAN= noman
|
||||
HIDEGAME=hidegame
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user