]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoAdd mskanji.c
Andrey A. Chernov [Thu, 25 Sep 1997 23:24:35 +0000 (23:24 +0000)]
Add mskanji.c

26 years agoMove it under XPG4 define
Andrey A. Chernov [Thu, 25 Sep 1997 23:20:26 +0000 (23:20 +0000)]
Move it under XPG4 define

26 years agoMove MSKanji under XPG4 define
Andrey A. Chernov [Thu, 25 Sep 1997 23:18:10 +0000 (23:18 +0000)]
Move MSKanji under XPG4 define

26 years ago__maskrune --> __istype
Andrey A. Chernov [Thu, 25 Sep 1997 23:10:38 +0000 (23:10 +0000)]
__maskrune --> __istype

26 years agoOops, wrong version of digittoint fix was commited, step back to v1.8
Andrey A. Chernov [Thu, 25 Sep 1997 22:44:21 +0000 (22:44 +0000)]
Oops, wrong version of digittoint fix was commited, step back to v1.8
instead just remove '!!' to make digittoint() work and re-arrange
things a little

26 years agoFix digittoint broken long ago
Andrey A. Chernov [Thu, 25 Sep 1997 22:27:45 +0000 (22:27 +0000)]
Fix digittoint broken long ago
Redesign to allow digittoint work for runes too
__maskrune removed, __istype become a macro, __runeflags added

26 years agoReduce the target number of vnodes on the freelist from desiredvnodes
Poul-Henning Kamp [Thu, 25 Sep 1997 16:17:57 +0000 (16:17 +0000)]
Reduce the target number of vnodes on the freelist from desiredvnodes
(usually a couple of thousand) to 25.  The measured impact on cache-hits
doesn't justify spending memory this way:

Target number of free vnodes versus namecache hit rate in % during a
make world:
          10    98.5316
         200    98.5479
         500    98.5546
        1000    98.5709
        3000    98.6006
        4000    98.6126

26 years agoFix a bug where the speculative memory probe wouldn't occur on systems that
David Greenman [Thu, 25 Sep 1997 15:49:37 +0000 (15:49 +0000)]
Fix a bug where the speculative memory probe wouldn't occur on systems that
report slightly more than 64MB of total memory. This can happen due to the
total being the sum of both base and extended memory.
Submitted by: Alan Cox <alc@cs.rice.edu>

26 years agoUse err(3). Add missing parameter for printf() (reviewed by steve).
Philippe Charnier [Thu, 25 Sep 1997 06:47:33 +0000 (06:47 +0000)]
Use err(3). Add missing parameter for printf() (reviewed by steve).

26 years agoRemove unused variables. Lowercase err() strings.
Philippe Charnier [Thu, 25 Sep 1997 06:44:39 +0000 (06:44 +0000)]
Remove unused variables. Lowercase err() strings.

26 years agoPut includes in alphabetical order. Use fprintf() in usage().
Philippe Charnier [Thu, 25 Sep 1997 06:42:30 +0000 (06:42 +0000)]
Put includes in alphabetical order. Use fprintf() in usage().

26 years agoStylistic changes in man page.
Philippe Charnier [Thu, 25 Sep 1997 06:38:17 +0000 (06:38 +0000)]
Stylistic changes in man page.

26 years agoUse err(3).
Philippe Charnier [Thu, 25 Sep 1997 06:36:29 +0000 (06:36 +0000)]
Use err(3).

26 years agoBandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not sure
Peter Wemm [Thu, 25 Sep 1997 03:06:19 +0000 (03:06 +0000)]
Bandaid for the build-breaking reference to _BSD_RUNE_T_.  I'm not sure
that this is right, but the old reference defaintely was not.

26 years agoShow size of vnode pool in vmstat mode.
Peter Wemm [Thu, 25 Sep 1997 01:14:25 +0000 (01:14 +0000)]
Show size of vnode pool in vmstat mode.

26 years agoDo the MSChap encryption.
Brian Somers [Thu, 25 Sep 1997 00:58:20 +0000 (00:58 +0000)]
Do the MSChap encryption.
Submitted by: Gabor Kincses <gabor@acm.org>

26 years agoAllow Microsoft CHAP authentication.
Brian Somers [Thu, 25 Sep 1997 00:52:37 +0000 (00:52 +0000)]
Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by: Gabor Kincses <gabor@acm.org>

26 years agoEmboldened by the success of yesterday's ICMP statistics display,
Garrett Wollman [Thu, 25 Sep 1997 00:37:32 +0000 (00:37 +0000)]
Emboldened by the success of yesterday's ICMP statistics display,
I've now added one that does IP (and also UDP) statistics.

26 years agoExport ipstat via sysctl. Don't understand why this wasn't done before.
Garrett Wollman [Thu, 25 Sep 1997 00:34:35 +0000 (00:34 +0000)]
Export ipstat via sysctl.  Don't understand why this wasn't done before.

26 years agoRemove unused file
Andrey A. Chernov [Wed, 24 Sep 1997 23:37:07 +0000 (23:37 +0000)]
Remove unused file

26 years agoConvert to random()
Andrey A. Chernov [Wed, 24 Sep 1997 23:33:25 +0000 (23:33 +0000)]
Convert to random()

26 years agoFix turn right
Andrey A. Chernov [Wed, 24 Sep 1997 23:18:44 +0000 (23:18 +0000)]
Fix turn right
Submitted by: "Klaus-J. Wolf" <Yanestra@t-online.de>

26 years agoOops, miss one rand() lcation...
Andrey A. Chernov [Wed, 24 Sep 1997 23:15:00 +0000 (23:15 +0000)]
Oops, miss one rand() lcation...

26 years agoConvert to random()
Andrey A. Chernov [Wed, 24 Sep 1997 23:09:34 +0000 (23:09 +0000)]
Convert to random()

26 years agoConvert to random() and automatically fix bug with RAND_MAX is too large
Andrey A. Chernov [Wed, 24 Sep 1997 23:00:29 +0000 (23:00 +0000)]
Convert to random() and automatically fix bug with RAND_MAX is too large

26 years agoConvert to random()
Andrey A. Chernov [Wed, 24 Sep 1997 22:55:14 +0000 (22:55 +0000)]
Convert to random()

26 years agoMove under HIDEGAME, add revoke
Andrey A. Chernov [Wed, 24 Sep 1997 22:50:24 +0000 (22:50 +0000)]
Move under HIDEGAME, add revoke
Cleanup
Convert to random()

26 years agoCleanup
Andrey A. Chernov [Wed, 24 Sep 1997 22:40:45 +0000 (22:40 +0000)]
Cleanup
Convert to random()

26 years agoConvert to random()
Andrey A. Chernov [Wed, 24 Sep 1997 22:33:22 +0000 (22:33 +0000)]
Convert to random()
Cleanup

26 years agoCleanup.
Andrey A. Chernov [Wed, 24 Sep 1997 22:29:08 +0000 (22:29 +0000)]
Cleanup.
Convert to random()

26 years ago- print ¤ when pressing Shift-4 (not w/ AltGR-4 as in the original).
Andrey A. Chernov [Wed, 24 Sep 1997 22:13:18 +0000 (22:13 +0000)]
- 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)

26 years agoRevoke properly by setgid, not by setuid, overlooked in games
Andrey A. Chernov [Wed, 24 Sep 1997 21:29:58 +0000 (21:29 +0000)]
Revoke properly by setgid, not by setuid, overlooked in games
uid->gid change

26 years agoRemove setuid, priveledges already revoked early in the right way
Andrey A. Chernov [Wed, 24 Sep 1997 21:25:48 +0000 (21:25 +0000)]
Remove setuid, priveledges already revoked early in the right way

26 years agoCleanup.
Andrey A. Chernov [Wed, 24 Sep 1997 21:16:13 +0000 (21:16 +0000)]
Cleanup.
Initialize random

26 years agoUse include for malloc declaration
Andrey A. Chernov [Wed, 24 Sep 1997 21:09:17 +0000 (21:09 +0000)]
Use include for malloc declaration

26 years agoFix longstanding bug: it was impossible to save to the same file twice
Andrey A. Chernov [Wed, 24 Sep 1997 21:05:08 +0000 (21:05 +0000)]
Fix longstanding bug: it was impossible to save to the same file twice
since it was deleted on exit.

26 years agoFix revoke to use setgid instead of setuid,since games uid changed to
Andrey A. Chernov [Wed, 24 Sep 1997 20:52:59 +0000 (20:52 +0000)]
Fix revoke to use setgid instead of setuid,since games uid changed to
gid and this place overlooked

26 years agoRevoke privs before shell exit
Andrey A. Chernov [Wed, 24 Sep 1997 20:48:39 +0000 (20:48 +0000)]
Revoke privs before shell exit
Includes cleanup
Use getlogin()
Fix names in FILES section
Convert to random()

26 years agoSubmitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
Julian Elischer [Wed, 24 Sep 1997 20:38:12 +0000 (20:38 +0000)]
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)

26 years agoInitial import of the new kerberosIV Makefiles.
Mark Murray [Wed, 24 Sep 1997 20:37:15 +0000 (20:37 +0000)]
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 ;-)

26 years agoOops, to many zeroes was in usleep arg
Andrey A. Chernov [Wed, 24 Sep 1997 20:19:59 +0000 (20:19 +0000)]
Oops, to many zeroes was in usleep arg

26 years agoHeaders cleanup.
Andrey A. Chernov [Wed, 24 Sep 1997 20:17:43 +0000 (20:17 +0000)]
Headers cleanup.
Add revoke before shell exit.
Fix mail sending procedure.
Convert to random()
Implement nap.

26 years agoput in the link for the dummy collation module for Shift-JIS
Julian Elischer [Wed, 24 Sep 1997 20:06:53 +0000 (20:06 +0000)]
put in the link for the dummy collation module for Shift-JIS

26 years agoRemove conflicting malloc declaration
Andrey A. Chernov [Wed, 24 Sep 1997 19:26:20 +0000 (19:26 +0000)]
Remove conflicting malloc declaration

26 years agoRemove setuid, uneeded now
Andrey A. Chernov [Wed, 24 Sep 1997 18:03:26 +0000 (18:03 +0000)]
Remove setuid, uneeded now

26 years agoBack out all my changes and restore v1.5 because there is no
Andrey A. Chernov [Wed, 24 Sep 1997 17:46:33 +0000 (17:46 +0000)]
Back out all my changes and restore v1.5 because there is no
setuid games now, hack problem fixed differently by hackdir permissions

26 years agoMake hack non-setuid back, it is possible because hackdir hierarchy
Andrey A. Chernov [Wed, 24 Sep 1997 17:43:46 +0000 (17:43 +0000)]
Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group

26 years agoDisallow o+rwx for /var/games/hackdir hierarchy, it helps to make hack
Andrey A. Chernov [Wed, 24 Sep 1997 17:40:11 +0000 (17:40 +0000)]
Disallow o+rwx for /var/games/hackdir hierarchy, it helps to make hack
non-setuid back

26 years agoCommented out entries of Luigi's sound driver. The name `pcm' is
KATO Takenori [Wed, 24 Sep 1997 16:41:18 +0000 (16:41 +0000)]
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>

26 years agoStore an absolute tick value in callout entries so that a subtraction on
Justin T. Gibbs [Wed, 24 Sep 1997 16:39:27 +0000 (16:39 +0000)]
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>

26 years agoAdd one more counter so we can truly find out how good our name cache
Poul-Henning Kamp [Wed, 24 Sep 1997 15:54:10 +0000 (15:54 +0000)]
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.

26 years agoIncludes cleanup
Andrey A. Chernov [Wed, 24 Sep 1997 12:29:25 +0000 (12:29 +0000)]
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()

26 years agoUse SUIDGAME hook now
Andrey A. Chernov [Wed, 24 Sep 1997 10:00:29 +0000 (10:00 +0000)]
Use SUIDGAME hook now

26 years agoBack out previous fix (not work) and add more general SUIDGAME hook instead
Andrey A. Chernov [Wed, 24 Sep 1997 09:56:34 +0000 (09:56 +0000)]
Back out previous fix (not work) and add more general SUIDGAME hook instead

26 years agoSince hack suid now, add -fschg to install flags to prevent this
Andrey A. Chernov [Wed, 24 Sep 1997 09:45:57 +0000 (09:45 +0000)]
Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted

26 years agoRevoke privs once at earlier stage and not mess with setegid in save
Andrey A. Chernov [Wed, 24 Sep 1997 09:42:33 +0000 (09:42 +0000)]
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

26 years agoSimplify revoke
Andrey A. Chernov [Wed, 24 Sep 1997 09:24:10 +0000 (09:24 +0000)]
Simplify revoke

26 years agoOpen score file and do revoke as early as possible
Andrey A. Chernov [Wed, 24 Sep 1997 09:21:55 +0000 (09:21 +0000)]
Open score file and do revoke as early as possible

26 years agoSimplify revoke
Andrey A. Chernov [Wed, 24 Sep 1997 09:14:38 +0000 (09:14 +0000)]
Simplify revoke

26 years agoMake hack suid "games" (additionly to sgid "games" as run),
Andrey A. Chernov [Wed, 24 Sep 1997 08:58:44 +0000 (08:58 +0000)]
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.

26 years agoAllow BINMODE to be overwritted (use ?=)
Andrey A. Chernov [Wed, 24 Sep 1997 08:39:58 +0000 (08:39 +0000)]
Allow BINMODE to be overwritted (use ?=)

26 years agoSynchronize with sys/i386/isa/fd.c revision 1.104.
KATO Takenori [Wed, 24 Sep 1997 08:21:26 +0000 (08:21 +0000)]
Synchronize with sys/i386/isa/fd.c revision 1.104.

26 years agoSynchronize with sys/i386/conf/majors.i386 revision 1.18.
KATO Takenori [Wed, 24 Sep 1997 08:20:33 +0000 (08:20 +0000)]
Synchronize with sys/i386/conf/majors.i386 revision 1.18.

26 years agoCreate missing /var/games/hackdir/save
Andrey A. Chernov [Wed, 24 Sep 1997 08:14:51 +0000 (08:14 +0000)]
Create missing /var/games/hackdir/save

26 years agoSimplify revoke
Andrey A. Chernov [Wed, 24 Sep 1997 08:09:04 +0000 (08:09 +0000)]
Simplify revoke

26 years agoLook for another couple of magic bios things..
Poul-Henning Kamp [Wed, 24 Sep 1997 07:47:43 +0000 (07:47 +0000)]
Look for another couple of magic bios things..

26 years agoA couple of handles to tweak, more statistics.
Poul-Henning Kamp [Wed, 24 Sep 1997 07:46:54 +0000 (07:46 +0000)]
A couple of handles to tweak, more statistics.

26 years agoAdd a missing prototype.
Poul-Henning Kamp [Wed, 24 Sep 1997 07:44:34 +0000 (07:44 +0000)]
Add a missing prototype.
Nagged about by: joerg

26 years agoRemove the 82371 IDE devices.
Poul-Henning Kamp [Wed, 24 Sep 1997 07:37:56 +0000 (07:37 +0000)]
Remove the 82371 IDE devices.
Add Intel 82439TX System Controller (MTXC)
fix a whitespace problem.

26 years agoDo not swap uids on log writting but open it first, then revoke
Andrey A. Chernov [Wed, 24 Sep 1997 07:10:47 +0000 (07:10 +0000)]
Do not swap uids on log writting but open it first, then revoke
Simplify revoke

26 years agoPut comment indicating revoke
Andrey A. Chernov [Wed, 24 Sep 1997 07:03:30 +0000 (07:03 +0000)]
Put comment indicating revoke

26 years agoSimplify revoke
Andrey A. Chernov [Wed, 24 Sep 1997 07:00:45 +0000 (07:00 +0000)]
Simplify revoke

26 years agoOops, fix my error from prev commit (revoke simplification)
Andrey A. Chernov [Wed, 24 Sep 1997 06:54:15 +0000 (06:54 +0000)]
Oops, fix my error from prev commit (revoke simplification)

26 years agoSimplify revoke
Andrey A. Chernov [Wed, 24 Sep 1997 06:49:22 +0000 (06:49 +0000)]
Simplify revoke

26 years agoUse err(3). Add usage(). Various fixes in man pages.
Philippe Charnier [Wed, 24 Sep 1997 06:48:24 +0000 (06:48 +0000)]
Use err(3). Add usage(). Various fixes in man pages.

26 years agoRevoke sgid privs early and not svap uids on saved game at all
Andrey A. Chernov [Wed, 24 Sep 1997 06:47:15 +0000 (06:47 +0000)]
Revoke sgid privs early and not svap uids on saved game at all

26 years agoStatisize usage(). Add return(0) for -wall.
Philippe Charnier [Wed, 24 Sep 1997 06:44:12 +0000 (06:44 +0000)]
Statisize usage(). Add return(0) for -wall.

26 years agoCleanup
Andrey A. Chernov [Wed, 24 Sep 1997 06:39:23 +0000 (06:39 +0000)]
Cleanup
Simplify revoke: only sgid needed to be revoked
Use srandomdev

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 06:22:40 +0000 (06:22 +0000)]
Use srandomdev

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 06:11:10 +0000 (06:11 +0000)]
Use srandomdev
Cleanup

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 05:28:05 +0000 (05:28 +0000)]
Use srandomdev

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 05:18:42 +0000 (05:18 +0000)]
Use srandomdev

26 years agoUse srandomdev()
Andrey A. Chernov [Wed, 24 Sep 1997 05:14:27 +0000 (05:14 +0000)]
Use srandomdev()

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 04:53:49 +0000 (04:53 +0000)]
Use srandomdev

26 years agoUse srandomdev
Andrey A. Chernov [Wed, 24 Sep 1997 04:48:24 +0000 (04:48 +0000)]
Use srandomdev

26 years agoIncrement RELDATE so that it is possible to distinguish between the
John Polstra [Wed, 24 Sep 1997 04:36:19 +0000 (04:36 +0000)]
Increment RELDATE so that it is possible to distinguish between the
incompatible old and new forms of mount(2).

26 years agoBeforeinstall logfile to prevent it owned by first user who run the game
Andrey A. Chernov [Wed, 24 Sep 1997 04:35:22 +0000 (04:35 +0000)]
Beforeinstall logfile to prevent it owned by first user who run the game

26 years agoBeforeinstall scorefile to prevent it owned by first user who
Andrey A. Chernov [Wed, 24 Sep 1997 04:00:29 +0000 (04:00 +0000)]
Beforeinstall scorefile to prevent it owned by first user who
run the game

26 years agoAdd the "src-kerberosIV" collection.
John Polstra [Wed, 24 Sep 1997 03:54:44 +0000 (03:54 +0000)]
Add the "src-kerberosIV" collection.

26 years agoBeforeinstall scorefile to prevent it owned by first who run the game
Andrey A. Chernov [Wed, 24 Sep 1997 03:43:30 +0000 (03:43 +0000)]
Beforeinstall scorefile to prevent it owned by first who run the game

26 years agoInstalled scenarios was unreadable with change games uid->gid, fix it
Andrey A. Chernov [Wed, 24 Sep 1997 03:28:24 +0000 (03:28 +0000)]
Installed scenarios was unreadable with change games uid->gid, fix it
Beforeinstall score file to the right place
Use srandomdev
Remove revoke, it broke scores and scenarios
Fix names in FILES manpage section

26 years agoPre-create score file to prevent it owned by first user who run
Andrey A. Chernov [Wed, 24 Sep 1997 02:56:53 +0000 (02:56 +0000)]
Pre-create score file to prevent it owned by first user who run
canfield
Fix scorefile name in manpage
Use srandomdev
Remove revoke, the game already revoked in another place
Fix bug with missing getuid()

26 years agoAdd a mode to display ICMP statistics.
Garrett Wollman [Wed, 24 Sep 1997 02:43:45 +0000 (02:43 +0000)]
Add a mode to display ICMP statistics.

Inspired by: IRIX netstat -C

26 years agoBeforeinstall scores and log file to prevent them owned by
Andrey A. Chernov [Wed, 24 Sep 1997 02:34:53 +0000 (02:34 +0000)]
Beforeinstall scores and log file to prevent them owned by
first who run snake
snake.c: cleanup, use srandomdev() now, fix created file permissions

26 years agoInstall scorefile as group games writeable
Andrey A. Chernov [Wed, 24 Sep 1997 02:16:50 +0000 (02:16 +0000)]
Install scorefile as group games writeable
Remove revoke from game, score can't work with revoke

26 years agoBeforeinstall log and score files to prevent owning of them by first
Andrey A. Chernov [Wed, 24 Sep 1997 01:27:26 +0000 (01:27 +0000)]
Beforeinstall log and score files to prevent owning of them by first
user who run game
Slightly modify game to understand pre-created score file

26 years agoInstall empty rogue.scores file to prevent it owned by
Andrey A. Chernov [Wed, 24 Sep 1997 00:17:13 +0000 (00:17 +0000)]
Install empty rogue.scores file to prevent it owned by
first user who run rogue

26 years agoDo not install 3 files writeable by all (666), change it to 664
Andrey A. Chernov [Wed, 24 Sep 1997 00:07:08 +0000 (00:07 +0000)]
Do not install 3 files writeable by all (666), change it to 664

26 years agoCompact usage string, devices list can be too long
Andrey A. Chernov [Tue, 23 Sep 1997 23:24:13 +0000 (23:24 +0000)]
Compact usage string, devices list can be too long

26 years agoFix a call to timeout that wasn't properly saving it's callout handle.
Justin T. Gibbs [Tue, 23 Sep 1997 22:14:43 +0000 (22:14 +0000)]
Fix a call to timeout that wasn't properly saving it's callout handle.

Submitted by:  durian@plutotech.com