Commit Graph

7006 Commits

Author SHA1 Message Date
Bill Paul
0ffe27f544 Make sanity checks saner: don't let setnetgrent() or innetgr() swallow
any bogus arguments.
1995-03-24 20:42:28 +00:00
Garrett Wollman
a29ae2a103 Don't delete clones if they are PINNED. 1995-03-24 20:05:28 +00:00
Jordan K. Hubbard
d8274511ca If mus script not executable, fix. 1995-03-24 19:22:33 +00:00
Andrey A. Chernov
09237e9da4 Fix -C arg overriding when -T file used 1995-03-24 19:01:25 +00:00
Jordan K. Hubbard
0fb7352341 Bring in the new non-GPL'd driver from Mikael Hybsch. This version is
NOT derived from the Linux code and is thus not GPL'd.  It is the author's
express wish that the GPL copyrighted version be removed and this BSD copyright
version take its place.  Considering our own stance on this, I'm certainly
not going to argue!  [Note to NetBSD folks:  You're free to grab it now :-)]
Submitted by:	Mikael Hybsch <micke@dynas.se>
1995-03-24 18:33:02 +00:00
Jordan K. Hubbard
d9d537017f scd driver now lives in non-GPL land. 1995-03-24 18:30:11 +00:00
Andrey A. Chernov
ed42ac9324 Get rid of strtok(), it is depricated inside libs 1995-03-24 17:59:48 +00:00
Andrey A. Chernov
c90720154b Get rid of strtok(), it is depricated in libs 1995-03-24 17:40:54 +00:00
Andrey A. Chernov
c8448f10eb Change strtok() to strsep(), strtok() usage is depricated
in libraries.
1995-03-24 17:27:22 +00:00
Andrey A. Chernov
bee5b8efe8 Change strtok() to strsep(), using strtok() can cause memory corruption
if user program use it too in the same time.
1995-03-24 16:33:44 +00:00
Jordan K. Hubbard
72a3d44887 Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
Andrey A. Chernov
3330823cc3 Sicnce this code shares the same fragment as gethostnamaddr:
Change strtok() to strsep(), cause memory corruption for all
programs which use strtok() too in the same time.
Fix potential NULL reference, depends of /etc/hosts.conf format
Fix the bug when service name fetched always from beginning of the line,
not from parsed token.
1995-03-24 15:51:30 +00:00
Andrey A. Chernov
3d1513bdeb Change strtok() to strsep(), cause memory corruption for all
programs which use strtok() too in the same time.
Fix potential NULL reference, depends of /etc/hosts.conf format
Fix the bug when service name fetched always from beginning of the line,
not from parsed token.
1995-03-24 15:38:54 +00:00
Poul-Henning Kamp
6075622c64 Fix cdrom.1 target. 1995-03-24 08:10:53 +00:00
Bill Paul
828447008a Yikes! Fix stupid mistake I made in last commit that made getpwent() ignore
local password entries when YP was enabled. (How the heck did that
get by me!?)
1995-03-24 08:01:01 +00:00
Jordan K. Hubbard
0b15614f22 Back out previous patch - better kept as a reminder. 1995-03-24 06:44:55 +00:00
Jordan K. Hubbard
97d6478890 Adjust include paths. 1995-03-24 05:56:41 +00:00
Bill Paul
d34ef3d62b As per Justin T. Gibbs's request, agument the +@netgroup/-@netgroup
remapping mechanism in the following manner: if given an entry +@foo
and there is no netgroup named 'foo,' try searching for a regular
user group called 'foo' and build the cache using the members of
group 'foo' instead. If both a netgroup 'foo' and a user group 'foo'
exist, the 'foo' netgroup takes precedence, since we're primarily
interested in netgroup matching anyway.

This allows access control schemes based on ordinary user groups
(which are also available via NIS) rather than netgroups, since
netgroups on some systems are limited in really brain-damaged ways.
1995-03-24 05:46:47 +00:00
Andrey A. Chernov
c0844b4775 Add yet one popular russian keyboard variant
Submitted by: Serge Babkin <babkin@hq.icb.chel.su>
1995-03-24 05:40:17 +00:00
Andrey A. Chernov
c568fce986 Fix truncating hostname using MAXHOSTNAMELEN
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
1995-03-24 05:15:09 +00:00
Jordan K. Hubbard
cf522ac9ff Comment out a table of contents spec that didn't exist. 1995-03-24 04:42:21 +00:00
Jordan K. Hubbard
5390e1a7be kbdfont -> vidfont for greater commonality with kbdcontrol/vidcontrol 1995-03-24 04:36:19 +00:00
Jordan K. Hubbard
80926682fd Bring back perl/usub as usub/, this time containing an updated curseperl
which is also installed by default (the reason for which should also be
plain shortly).
1995-03-24 04:33:54 +00:00
Poul-Henning Kamp
a833576497 Fix srcdist names. Fix structure in ftp-area. 1995-03-24 04:20:35 +00:00
Poul-Henning Kamp
7a10e6810f Fix a bogon. 1995-03-24 03:38:48 +00:00
Poul-Henning Kamp
836ed9f2c2 A whole slew of changes relating to the generation of src-dists. 1995-03-24 02:45:34 +00:00
Poul-Henning Kamp
32d2e89f5d The "DISTNAME" is now configured here too. 1995-03-24 02:41:47 +00:00
Poul-Henning Kamp
45209a22a5 Make src-tarballs in one level. Don't tar things named 'obj' 1995-03-24 02:05:32 +00:00
Poul-Henning Kamp
d20722885e Tolerate both ways of doing the src-dists. 1995-03-24 02:04:00 +00:00
Justin T. Gibbs
61530543c9 Add recognition of HP Printer Job Language (PJL) commands. 1995-03-24 01:17:29 +00:00
Jordan K. Hubbard
7bf4ec6f56 Add the font index file. Other languages (French, Swedish, other)
needed for this file!
1995-03-24 01:11:56 +00:00
Jordan K. Hubbard
f6f4d4be87 Add the keymap index file. Other languages (French, Swedish, other)
needed for this file!
1995-03-24 01:11:40 +00:00
Jordan K. Hubbard
9774e9cfaf Bring in the kbdmap/kbdfont utilities from Wolfram Schneider.
Renamed them to make them more consistent with kbdcontrol/fdcontrol/etc.
1995-03-24 00:52:28 +00:00
Jordan K. Hubbard
207f9157cd Set hostname properly in /etc/sysconfig 1995-03-24 00:23:18 +00:00
Poul-Henning Kamp
157b421d4e set SHELL for ftp. 1995-03-24 00:23:02 +00:00
Jordan K. Hubbard
0a2176cb4d Name juggling, make things a little clearer. 1995-03-24 00:18:31 +00:00
Jordan K. Hubbard
7b56107036 Add rc.maint file. 1995-03-24 00:17:37 +00:00
Poul-Henning Kamp
02f3cabc5d Add a missing ${DIST}/ 1995-03-24 00:16:51 +00:00
Jordan K. Hubbard
e4ade01cb2 start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
Poul-Henning Kamp
2a0b3f70d2 Install /etc/sysconfig 1995-03-24 00:15:15 +00:00
Jordan K. Hubbard
a50ce32dec Correct a few spelling bogons.
Submitted by:	phk
1995-03-24 00:11:02 +00:00
Jordan K. Hubbard
43b9e11c93 Get around problem of not exporting variables in sysconfig 1995-03-24 00:01:21 +00:00
Rodney W. Grimes
b3a028f703 Add gnu/usr.bin/ld to lib-tools: since you need this compiled very
early if you are running a back release.
1995-03-23 23:40:29 +00:00
Bill Paul
d038db90e8 Re-enable +::::::::: wildcards that I had previously disallowed.
Note: if you put +::0:0:::::: in /etc/master.passwd as your only NIS
entry, it will cause all NIS uids and gids to be remapped to zero. This
is *intentional*. That's the way it's supposed to work. Enabling NIS with
no remapping at all is done with +:::::::::, not +::0:0::::::. Similarly,
+:::::::::/bin/csh will remap the shells of all NIS users to /bin/csh.
Or, you could do +wpaul:::::::::/bin/csh to remap NIS user wpaul's shell
to /bin/csh but leave everyone else alone.
1995-03-23 22:31:11 +00:00
Bill Paul
e17334c329 Don't let yp_match() or yp_next() operate on null or empty keys: asking
ypserv to do a yp_match() with an a null or empty key causes much havok.
(Note that this could be construed as a denial of service attack if used
maliciously.)
1995-03-23 22:23:15 +00:00
Bill Paul
62a771700f Don't let setnetgrent() operate on a null or empty group name: it can
tickle a bug in ypserv and make a serious mess of things.
1995-03-23 22:21:16 +00:00
Bill Paul
353fefe325 Very important sanity checks: today I clobbered all four NIS servers on
my network because setnetgrent() was trying to do a lookup on group "".
It seems that an attempt to do a yp_match() (and possible yp_next())
on a null or empty key causes Sun's ypserv in SunOS 4.1.3 to exit
suddenly (and without warning). Our ypserv behaves badly in this
situation too, thoush it doesn't appear to crash. In any event, getpwent,
getnetgrent and yp_match() and yp_next() are now extra careful not to
accidentally pass on null or empty arguments.

Also made a small change to getpwent.c to allow +::::::::: wildcarding,
which I had disabled previously.
1995-03-23 22:18:00 +00:00
Gary Palmer
c534dadbfe Add a misssing `@' from before echo -n "|${MAINTAINER}" 1995-03-23 20:42:42 +00:00
Garrett Wollman
db041b142b Enable DES if NOCRYPT is not set and and the user has the secure sources. 1995-03-23 19:13:04 +00:00
Garrett Wollman
c16b583c3c Mark Murray's authdes.c for xntpd 1995-03-23 19:09:24 +00:00