Commit Graph

24639 Commits

Author SHA1 Message Date
ache
30bb630850 Convert to random() 1997-09-24 23:33:25 +00:00
ache
7b9f8d764e Fix turn right
Submitted by: "Klaus-J. Wolf" <Yanestra@t-online.de>
1997-09-24 23:18:44 +00:00
ache
1c68b49bec Oops, miss one rand() lcation... 1997-09-24 23:15:00 +00:00
ache
61b2a6a749 Convert to random() 1997-09-24 23:09:34 +00:00
ache
c43cd8d9b2 Convert to random() and automatically fix bug with RAND_MAX is too large 1997-09-24 23:00:29 +00:00
ache
395025848e Convert to random() 1997-09-24 22:55:14 +00:00
ache
4fcdbce510 Move under HIDEGAME, add revoke
Cleanup
Convert to random()
1997-09-24 22:50:24 +00:00
ache
1a58f3bba1 Cleanup
Convert to random()
1997-09-24 22:40:45 +00:00
ache
eb20286d02 Convert to random()
Cleanup
1997-09-24 22:33:22 +00:00
ache
9b0ffddc73 Cleanup.
Convert to random()
1997-09-24 22:29:08 +00:00
ache
a00472a4c5 - print ¤ when pressing Shift-4 (not w/ AltGR-4 as in the original).
- print $ when pressing AltGr-4 (not w/ Shift-4 as in the original).

Submitted by: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen)
1997-09-24 22:13:18 +00:00
ache
d0c75f3bef Revoke properly by setgid, not by setuid, overlooked in games
uid->gid change
1997-09-24 21:29:58 +00:00
ache
5e5062ddb5 Remove setuid, priveledges already revoked early in the right way 1997-09-24 21:25:48 +00:00
ache
4525d7b15b Cleanup.
Initialize random
1997-09-24 21:16:13 +00:00
ache
1b464282d7 Use include for malloc declaration 1997-09-24 21:09:17 +00:00
ache
0579566b01 Fix longstanding bug: it was impossible to save to the same file twice
since it was deleted on exit.
1997-09-24 21:05:08 +00:00
ache
e41e566a48 Fix revoke to use setgid instead of setuid,since games uid changed to
gid and this place overlooked
1997-09-24 20:52:59 +00:00
ache
d765fd41ba Revoke privs before shell exit
Includes cleanup
Use getlogin()
Fix names in FILES section
Convert to random()
1997-09-24 20:48:39 +00:00
julian
8bf2631232 Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
1997-09-24 20:38:12 +00:00
markm
5c13eacdf5 This commit was generated by cvs2svn to compensate for changes in r29815,
which included commits to RCS files with non-trunk default branches.
1997-09-24 20:37:15 +00:00
markm
6794d0fc6f Initial import of the new kerberosIV Makefiles.
I will follow up with the userland sources over the next few days.
The impatient of you can play with this, but you do this without
support or blessing until I am finished ;-)
1997-09-24 20:37:15 +00:00
markm
a4a1a839ad Initial import of the new kerberosIV Makefiles.
I will follow up with the userland sources over the next few days.
The impatient of you can play with this, but you do this without
support or blessing until I am finished ;-)
1997-09-24 20:37:15 +00:00
ache
b2ecb54bd3 Oops, to many zeroes was in usleep arg 1997-09-24 20:19:59 +00:00
ache
7f142cbbd4 Headers cleanup.
Add revoke before shell exit.
Fix mail sending procedure.
Convert to random()
Implement nap.
1997-09-24 20:17:43 +00:00
julian
22f70edabb put in the link for the dummy collation module for Shift-JIS 1997-09-24 20:06:53 +00:00
ache
df3456d354 Remove conflicting malloc declaration 1997-09-24 19:26:20 +00:00
ache
7309d1e570 Remove setuid, uneeded now 1997-09-24 18:03:26 +00:00
ache
bc6f21dc1c Back out all my changes and restore v1.5 because there is no
setuid games now, hack problem fixed differently by hackdir permissions
1997-09-24 17:46:33 +00:00
ache
912db43617 Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group
1997-09-24 17:43:46 +00:00
ache
51c6499d0a Disallow o+rwx for /var/games/hackdir hierarchy, it helps to make hack
non-setuid back
1997-09-24 17:40:11 +00:00
kato
22e91a8339 Commented out entries of Luigi's sound driver. The name `pcm' is
conflict with sys/isa/sound/pcm86.c.

Pointed out by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-09-24 16:41:18 +00:00
gibbs
bc7b4b05ae Store an absolute tick value in callout entries so that a subtraction on
hash chain traversal isn't needed.  This also allows untimeout to recompute
the hash to find the bucket that the entry to remove is stored in so
that each callout entry no longer needs to store that information.

Reviewed by:	 Nate Williams <nate@mt.sri.com>
1997-09-24 16:39:27 +00:00
phk
ae6b1cc6c7 Add one more counter so we can truly find out how good our name cache
is.  If we don't find something and don't what to have found something,
it's actually a success.
1997-09-24 15:54:10 +00:00
ache
5ff4e0ac36 Includes cleanup
Fix nonull flag detecting from termcap
Use usleep to handle nonull case
Prevent overflow on genocided getenv
Install most files not owned by games.games to prevent
data modifications
Fix path for gethdate()
1997-09-24 12:29:25 +00:00
ache
edb26b7cd7 Use SUIDGAME hook now 1997-09-24 10:00:29 +00:00
ache
119b151a09 Back out previous fix (not work) and add more general SUIDGAME hook instead 1997-09-24 09:56:34 +00:00
ache
e182e47d22 Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted
1997-09-24 09:45:57 +00:00
ache
2aa9215694 Revoke privs once at earlier stage and not mess with setegid in save
Fix save: missing creation modes arg and wrong symlink test
Small C cleanup
1997-09-24 09:42:33 +00:00
ache
94b4fc0286 Simplify revoke 1997-09-24 09:24:10 +00:00
ache
e781c28169 Open score file and do revoke as early as possible 1997-09-24 09:21:55 +00:00
ache
53b88163fa Simplify revoke 1997-09-24 09:14:38 +00:00
ache
95b6000adc Make hack suid "games" (additionly to sgid "games" as run),
it is needed for savegames and bones, they
intendent to not be altered by user and can't be pre-created as scorefile.
Clear savegames on install: target too, not only bones
Install rumors not readable by all.
Cleanup includes a little.
1997-09-24 08:58:44 +00:00
ache
d268e22df8 Allow BINMODE to be overwritted (use ?=) 1997-09-24 08:39:58 +00:00
kato
19f35526fa Synchronize with sys/i386/isa/fd.c revision 1.104. 1997-09-24 08:21:26 +00:00
kato
4a111874b3 Synchronize with sys/i386/conf/majors.i386 revision 1.18. 1997-09-24 08:20:33 +00:00
ache
7155875547 Create missing /var/games/hackdir/save 1997-09-24 08:14:51 +00:00
ache
7a845caffe Simplify revoke 1997-09-24 08:09:04 +00:00
phk
1046d2834c Look for another couple of magic bios things.. 1997-09-24 07:47:43 +00:00
phk
7d7d72d4cb A couple of handles to tweak, more statistics. 1997-09-24 07:46:54 +00:00
phk
5449a68ffe Add a missing prototype.
Nagged about by:	joerg
1997-09-24 07:44:34 +00:00