Commit Graph

9788 Commits

Author SHA1 Message Date
wpaul
6e8a774b0b getpwent.c: turn the code that checks the override caches into a
seperate function to avoid duplication. Also fix getpwent() a
small bit to properly handle the case where the magic NIS '+'
entry appears before the end of the password file.

getgrent.c: be a little more SunOS-ish. Make it look like the NIS
group map is 'inserted' at the the point(s) where the magic NIS '+'
entry/entries appear.

getgrent: fix a file descriptor leak: remember to close the netgroup
file after we determine that we're using NIS-only innetgr() lookups.
1995-09-02 04:08:55 +00:00
wpaul
7ec855ea34 Bug fix: use the use_yp() function in the chpass(1) code to determine
correctly whether a user is local or NIS (or both, or neither). If you
have a user that exists locally but not in NIS, passwd(1) could get
confused and try to submit the password change to NIS. (Fortunately,
yppasswdd is smart enough to spot the error and reject the change.)

Bug reported by: Charles Owens <owensc@enc.edu>
1995-09-02 04:02:28 +00:00
wpaul
625b98becb Make use_yp() smarter about figuring out whether a user is local or
NIS (or both, or neither). Also add support for -l and -y flags to
force behavior to local or NIS. use_yp() also goes out of its way to
retrieve the correct password database information (local or NIS)
depending on what the situation since getpwent() & co. can't
necessarily be trusted in some cases.

Also document new flags in man page.
1995-09-02 03:56:21 +00:00
jkh
f7e27900af Something got spammed in my 2.2 work tree (don't know how :( ) and
had a 2.1 tag, thus sending these two changes into the 2.1 branch instead
of -current.  Argh.  I may bring these changes into the 2.1 anyway (they're
benign there) so I'm not going to admin them out of 2.1 for the time
being.
1995-09-01 20:53:44 +00:00
jkh
e7b3809ef0 Jim's attempt to fix the new sound code somewhat. Tested with
the pas-16, GUS, and GUS-MAX cards.  Sound blaster owners, please
test also!
Submitted by:	Jim Lowe <james>
1995-09-01 19:09:11 +00:00
joerg
9996aac55e Check a pointer in skipdirs() before dereferencing it. I don't fully
understand why it can become a null pointer under some circumstances,
but i've got a pile of tapes where this happens, and running it thru a
debugger proved that simply ending the loop in this case did the right
thing.

Anyway, it cannot make it worse than now, where restore kills itself
with "Memory fault".
1995-09-01 18:09:20 +00:00
joerg
79384fe51b Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.

Sync the man page with the reality.
1995-09-01 18:00:14 +00:00
jfieber
9bf6ddb952 a) Fix some glitches that trip up LaTeX.
b) Put in names and email addresses of people who have claimed
   empty sections as their own.
c) Incorporated MIRROR.SITES as the first section in the appendix
   titled "Obtaining FreeBSD".  When adding, removing or otherwize
   twiddling with the mirror site info, do it in mirrors.sgml!
d) A couple other odds and ends.
e) NOTE: You must update your your /usr/bin/sgmlfmt and /usr/share/sgml
   to process this edition of the handbook!
1995-09-01 04:54:14 +00:00
jkh
ca3af0ca99 Jim's latest fixes.
Submitted by:	james
1995-09-01 00:25:18 +00:00
gpalmer
41fc38f808 Correct minor nit - to filter out SYN packets, the keyword is
`syn' not `tcpsyn' (which matches `tcp' which blocks all tcp
packets)
1995-08-31 21:12:05 +00:00
jkh
46a8ec7986 Well, it would appear that the "ayes" have it (though by a slim margin).
Apply my \c changes to echo.  It should also be noted that this is:
A) going into 2.2, not 2.1
B) a functional no-op unless you actually use it!
1995-08-31 17:25:55 +00:00
wollman
762f88b9d5 Update to latest version of named.root from the Internic. This version
is the first one to name all root servers X.root-servers.net rather
than by their original names.

Obtained from: Internic Registration Services
1995-08-31 16:33:01 +00:00
wollman
2807c8cd41 Add a few hooks (in the form of an array of four void *'s) to allow
various bits of software to save some data in the ifnet structure without
having to constantly change the declaration thereof.
1995-08-31 15:21:31 +00:00
jkh
b4490d7ddf Tweak. 1995-08-31 15:17:02 +00:00
jkh
3c51eaed40 Whoops, move - not delete! 1995-08-31 15:15:17 +00:00
jkh
739a3a9d7c Update contributors. 1995-08-31 15:12:20 +00:00
jkh
c188facc71 Update this file. 1995-08-31 15:08:39 +00:00
bde
f91f2ad4e4 Fix fatal function type mismatches in lkms. lkm init functions recently
gained a dummy argument for compatibility with sysinit functions, but
this arg wasn't passed for lkms outside the kernel.
1995-08-31 06:28:29 +00:00
dyson
a752352fe7 Increase the size of the pipe buffer as denoted by PIPSIZ from
4k to 8k.  This has a significant effect on the pipe performance.  In
the future it might be good to increase this to 16k.  PIPSIZ is now
tunable for experimentation.
1995-08-31 01:39:31 +00:00
jfieber
9660571b5f Command line arguments are now gathered by NewGetOpt. Command line
syntax is slightly changed:  -format is now -f format.

New option: -i name
This is a switch to control marked sections in SGML documents.  Useful
for multi-lingual documents.
1995-08-31 00:14:02 +00:00
ache
4f5b58151b Change my parse fix from 'return argc' to 'return 0'.
Pointed by: davidg
1995-08-30 17:59:59 +00:00
ache
852aeb529c Fix error: while getting file name, backspace not works, but produce
^G instead. Proper interaction with ncurses require turn keypad
off/on there.
1995-08-30 17:42:28 +00:00
dg
5a6aaf88bb Brought forward the change in 1.57.4.1 - add build of zic(8) to tools rule.. 1995-08-30 17:27:57 +00:00
dfr
a1f5276083 Make nfs diskless work again.
Reviewed by:	John Hay <jhay@mikom.csir.co.za>
1995-08-30 17:24:15 +00:00
ache
51c6a5b9f3 Fix 8bit chars output, not highlight all of them 1995-08-30 17:11:54 +00:00
jkh
9ba149fa59 While posting something to -current about this, I got an idea for making
it a more ideal I18N candidate.  Here it is.
1995-08-30 13:25:55 +00:00
jkh
4de8d1990e Add ee. 1995-08-30 09:52:07 +00:00
dg
a530605ce9 Corrected Marc Frajola's email address. 1995-08-30 09:51:38 +00:00
dg
b61b03b7cf Corrected Marc Frajola's email address. 1995-08-30 09:44:45 +00:00
jkh
526f53af91 This commit was generated by cvs2svn to compensate for changes in r10452,
which included commits to RCS files with non-trunk default branches.
1995-08-30 07:28:06 +00:00
jkh
48b32133d6 This is `ee' - the Easy Editor. I'm bringing it in to replace vi on
the installation floppy (and in any references in new user docs for
editing files) since tossing a novice into vi with no help or clue as
to what the key bindings are is both cruel and in violation of the
Hague Convention.  It's also much SMALLER than vi and even supports emacs
key bindings for those so inclined.
Submitted by: "Hugh F. Mahon" <hugh@nsmdserv.cnd.hp.com>
1995-08-30 07:28:06 +00:00
bde
cea39e287b Declare vfs_mountroot() in the right place. 1995-08-30 01:34:28 +00:00
bde
0eedc04af2 Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.
1995-08-30 00:33:35 +00:00
bde
005a25e2c2 Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.

Remove useless comments saying that SYSINIT() does system initialization.
1995-08-30 00:33:22 +00:00
bde
025e99bcd1 Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.

Remove useless comments saying that SYSINIT() does system initialization.

shm.c:
Remove nearly useless comment that gave wrong pseudo-prototypes.
1995-08-30 00:33:02 +00:00
bde
26e9d1768e Fix benign type mismatch in a sysinit function arg. 1995-08-30 00:17:18 +00:00
bde
c0826c67f6 Fix benign type mismatches and nested extern declarations in new sysinit
code.

Fix old and new missing prototypes.
1995-08-29 23:59:22 +00:00
bde
7c601f8943 Remove relocation of Crtat. Drivers already relocate it (somewhat
bogusly).  We used to undo the driver relocation here before doing
a somewhat less bogus relocation.  The result was a null relocation
here.
1995-08-29 23:45:20 +00:00
wollman
c2e8124090 Add support for printking Kerberos v4 packets (file I forgot to add)
Obtained from:	John Hawkinson <jhawk@mit.edu> by way of comp.protocols.kerberos
1995-08-29 19:50:18 +00:00
wollman
15da12ab9f Add support for printing Kerberos v4 packets. 1995-08-29 19:48:11 +00:00
wollman
8d86116093 Add official protocol and port numbers for RSVP. 1995-08-29 19:29:36 +00:00
wollman
895b868d39 Fix long-standing bug in ICMPPRINTFS code where NTOHL was used instead
of ntohl for printing IP addresses, by instead substituting inet_ntoa()
to produce human-readable output.

Obtained from:	4.4-Lite-2
1995-08-29 17:49:04 +00:00
jkh
11a83dc413 Address Bruce's mmap concerns in this driver too.
Submitted by:	Jim Lowe <james@miller.cs.uwm.edu>
1995-08-29 16:44:46 +00:00
ache
047a51afc1 Reset LANG and LC_TIME env. variables to produce english date 1995-08-29 16:08:27 +00:00
phk
4a55160f8d Wash hands and datastructures before transplanting drivers in the kernel.
Now pseudo-quasi-semi-works with my modem.
1995-08-29 14:06:16 +00:00
ache
32aaa3bb10 Remove -O2 from COPTS, known rogue 1995-08-29 14:04:39 +00:00
jkh
7e060a53fc Fixes for issues raised by Bruce Evans.
Submitted by:	Jim Lowe <james>
1995-08-29 13:55:24 +00:00
ache
f701868b35 Fix ${.CURDIR} misspelling 1995-08-29 13:42:52 +00:00
ache
372b875ec0 National date/time representation in syslog logfiles looks ugly,
change strftime to ctime. Logfiles must have default (english) date/time
representation for access/view from various places.
1995-08-29 13:21:53 +00:00
jkh
4c7f1a709d Add MLINKS for sendbug manpage.
Suggested by:	paul
1995-08-29 13:01:40 +00:00