]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoMinor rewording of the examples section.
Alexander Langer [Thu, 15 May 1997 00:51:08 +0000 (00:51 +0000)]
Minor rewording of the examples section.

27 years agoDon't send arp request for the ip address 0.0.0.0.
Tor Egge [Wed, 14 May 1997 16:39:52 +0000 (16:39 +0000)]
Don't send arp request for the ip address 0.0.0.0.

27 years agobootparam -> bootparamd
Jordan K. Hubbard [Wed, 14 May 1997 09:56:39 +0000 (09:56 +0000)]
bootparam -> bootparamd
PR: 3596
Submitted by: kenji@reseau.toyonaka.osaka.jp

27 years agomkisofs.new -> mkisofs (whoops! just noticed this)
Jordan K. Hubbard [Wed, 14 May 1997 09:39:22 +0000 (09:39 +0000)]
mkisofs.new -> mkisofs (whoops!  just noticed this)

27 years agoAdd locale-independent control checks for security reason
Andrey A. Chernov [Wed, 14 May 1997 09:37:54 +0000 (09:37 +0000)]
Add locale-independent control checks for security reason

27 years agoChange ftpmail address as per Paul Vixie..
Jordan K. Hubbard [Wed, 14 May 1997 07:12:57 +0000 (07:12 +0000)]
Change ftpmail address as per Paul Vixie..

27 years agoAdd SNAP servers to list of FTP sites.
Jordan K. Hubbard [Wed, 14 May 1997 07:12:47 +0000 (07:12 +0000)]
Add SNAP servers to list of FTP sites.

27 years agoBring in some improved bootp support for netboot submitted by Luigi:
Tor Egge [Wed, 14 May 1997 02:44:27 +0000 (02:44 +0000)]
Bring in some improved bootp support for netboot submitted by Luigi:
      - TFTP is not needed any longer.
Add some other improvements:
      - swapsize is now detected if no value was specified.
      - resvport is used by default
      - merged code for setting/showing mount options for root/swap.
Submitted by:   Luigi Rizzo <luigi@labinfo.iet.unipi.it>

27 years agoAdd back the description of the -o option.
Steve Price [Wed, 14 May 1997 02:33:08 +0000 (02:33 +0000)]
Add back the description of the -o option.
Threatened PR by: Tim Vanderhoek :)

27 years agoUse same syntax as netboot for root and swap mounts.
Tor Egge [Wed, 14 May 1997 01:36:51 +0000 (01:36 +0000)]
Use same syntax as netboot for root and swap mounts.
Handle mount options.
Ignore T16 (swap server address) and T6 (DNS server).

27 years agoBuild pid_filename without a double slash.
Brian Somers [Wed, 14 May 1997 01:18:51 +0000 (01:18 +0000)]
Build pid_filename without a double slash.
Make ``Dial attempt'' diagnostics consistent.

Reset lostCarrier when it has reached max.
Suggested by: Kevin Street <street@iName.com>

27 years agoDon't attempt to ioctl(modem...) when modem is
Brian Somers [Wed, 14 May 1997 01:14:32 +0000 (01:14 +0000)]
Don't attempt to ioctl(modem...) when modem is
closed.  Just DownConnection().

27 years agoCompletely remove #ifdefed out 8859-1 extension, I found it break
Andrey A. Chernov [Wed, 14 May 1997 00:11:02 +0000 (00:11 +0000)]
Completely remove #ifdefed out 8859-1 extension, I found it break
POSIX, C locale definition, see LC_CTYPE pre-defined table there

27 years agoFixed overallocation of _thread_fd_table.
Alexander Langer [Tue, 13 May 1997 23:54:22 +0000 (23:54 +0000)]
Fixed overallocation of _thread_fd_table.

PR: 3494
Submitted by: Steve Bauer <sbauer@rock.sdsmt.edu>

27 years agoMerge the EN version changes, 1.240 -> 1.241.
Masafumi Max NAKANE [Tue, 13 May 1997 23:01:10 +0000 (23:01 +0000)]
Merge the EN version changes, 1.240 -> 1.241.

27 years agoMerge the EN version changes, 1.65 -> 1.67.
Masafumi Max NAKANE [Tue, 13 May 1997 22:57:43 +0000 (22:57 +0000)]
Merge the EN version changes, 1.65 -> 1.67.

27 years agoAdd a comment to the >16M and >64M entries for lying COMPAQ BIOSes.
Peter da Silva [Tue, 13 May 1997 22:01:50 +0000 (22:01 +0000)]
Add a comment to the >16M and >64M entries for lying COMPAQ BIOSes.

27 years agoFirst cut at patches to make appletalk compile again
Julian Elischer [Tue, 13 May 1997 21:01:45 +0000 (21:01 +0000)]
First cut at patches to make appletalk compile again
after the dissapearance of the USRREQ() entrypoint.

27 years agoDon't output extraneous tab
Brian Somers [Tue, 13 May 1997 20:52:31 +0000 (20:52 +0000)]
Don't output extraneous tab

Submitted by: Garance A Drosehn <gad@eclipse.its.rpi.edu>

27 years agoDon't drop into the troff args after parsing -#.
Brian Somers [Tue, 13 May 1997 20:46:45 +0000 (20:46 +0000)]
Don't drop into the troff args after parsing -#.

Submitted by:  Garance A Drosehn <gad@eclipse.its.rpi.edu>

27 years agoFix a bug (dereferencing zero) introduced by the last mods.
Brian Somers [Tue, 13 May 1997 20:34:01 +0000 (20:34 +0000)]
Fix a bug (dereferencing zero) introduced by the last mods.

Submitted by: David Nugent <davidn@labs.usn.blaze.net.au>

27 years agoCheck the B_CLUSTER flag when choosing whether to use unstable or filesync
Doug Rabson [Tue, 13 May 1997 19:41:32 +0000 (19:41 +0000)]
Check the B_CLUSTER flag when choosing whether to use unstable or filesync
writes.

PR: kern/3438
Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>

27 years agoForgot to commit this.. Do a 'make all' in src/include before trying
Peter Wemm [Tue, 13 May 1997 18:11:38 +0000 (18:11 +0000)]
Forgot to commit this..  Do a 'make all' in src/include before trying
to install it.  Otherwise osreldate.h breaks.

Pointed out by:  Doug Rabson <dfr@nlsystems.com>

27 years agoDon't keep addresses in mbuf chains. This should simplify the next round
Doug Rabson [Tue, 13 May 1997 17:25:44 +0000 (17:25 +0000)]
Don't keep addresses in mbuf chains.  This should simplify the next round
of network changes from Garret.

Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>

27 years agoLocalize it
Andrey A. Chernov [Tue, 13 May 1997 11:30:01 +0000 (11:30 +0000)]
Localize it

27 years ago#ifdef out C locale extension to 8859-1 encoding, it now stays to ASCII
Andrey A. Chernov [Tue, 13 May 1997 11:19:26 +0000 (11:19 +0000)]
#ifdef out C locale extension to 8859-1 encoding, it now stays to ASCII
back as designed in *BSD

Also it not violates current standards but

1) No other Unixes have this feature

2) It broke Kerberos5 (isprint) and God knows what else
(not all vendors will agree to treat FreeBSD as special case for support
since (1))

2) Give false localization sense (programs mimic to be 8859-1
localized) which prevents true localization.

27 years agostruct timespec needs to be useable with just <time.h>, but needs to not
Peter Wemm [Tue, 13 May 1997 10:58:14 +0000 (10:58 +0000)]
struct timespec needs to be useable with just <time.h>, but needs to not
conflict with the kernel visible one.  Make the new stuff not visible if
_ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are
not part of the base 1003.1-1990 standard or ansi (says Bruce).

Reviewed by: bde

27 years agoChanges to support the kernel linker:
Doug Rabson [Tue, 13 May 1997 10:23:47 +0000 (10:23 +0000)]
Changes to support the kernel linker:

Add a -Bforcedynamic option which generates a dynamic object even
if no shared libraries were given in the link.

Make RRS in text section warnings conditional on "-assert pure-text"
so that I can link non-PIC kernel modules without tons of link
errors.  Changes to bsd.lib.mk to follow.

Fix a couple of bugs exposed by the fact that the kernel is not
linked at zero.

Reviewed by: jdp

27 years agostruct timespec needs to be useable with just <time.h>, but needs to not
Peter Wemm [Tue, 13 May 1997 09:33:24 +0000 (09:33 +0000)]
struct timespec needs to be useable with just <time.h>, but needs to not
conflict with the kernel visible one.  Make the new stuff not visible if
_ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are
not part of the base 1003.1-1990 standard (or ansi).

27 years agoCorrect the files section for tunX.pid and ttyXX.if
Brian Somers [Tue, 13 May 1997 09:31:05 +0000 (09:31 +0000)]
Correct the files section for tunX.pid and ttyXX.if

27 years agoremove stray forward declaration for struct timespec
Peter Wemm [Tue, 13 May 1997 09:25:15 +0000 (09:25 +0000)]
remove stray forward declaration for struct timespec

Pointed out by: bde

27 years agoAdd clockid_t definition like in sys/types.h to allow time.h
Andrey A. Chernov [Tue, 13 May 1997 09:25:03 +0000 (09:25 +0000)]
Add clockid_t definition like in sys/types.h to allow time.h
to be included without sys/types.h, it fixes broken groff compilation

27 years agoBack out previous revision. Shlib version numbers are supposed to be
Satoshi Asami [Tue, 13 May 1997 08:51:49 +0000 (08:51 +0000)]
Back out previous revision.  Shlib version numbers are supposed to be
bumped only 0.1 or 1.0 between releases.  (See handbook.)

Note that if you have built world in -current in the last 48 hours or
so, you should manually remove /usr/lib/libutil.so.2.3 before
rebuilding world to cleanse your system.

27 years agoAdded Gene Stark as a developer/CVS committer.
David Greenman [Tue, 13 May 1997 08:39:03 +0000 (08:39 +0000)]
Added Gene Stark as a developer/CVS committer.

27 years agoAdd arp_proxyall knob.
Jordan K. Hubbard [Tue, 13 May 1997 08:22:27 +0000 (08:22 +0000)]
Add arp_proxyall knob.
Submitted by: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>

27 years agoRemove explicit rule for setup. This effectively deletes revisions 1.2
Satoshi Asami [Tue, 13 May 1997 07:26:19 +0000 (07:26 +0000)]
Remove explicit rule for setup.  This effectively deletes revisions 1.2
and 1.3 as well.

27 years agoFix a few typos in last commit.
Brian Somers [Tue, 13 May 1997 07:14:26 +0000 (07:14 +0000)]
Fix a few typos in last commit.

27 years agoAdd ${CFLAGS} to makerom command line. Note: don't add ${LDFLAGS} here,
Satoshi Asami [Tue, 13 May 1997 06:23:21 +0000 (06:23 +0000)]
Add ${CFLAGS} to makerom command line.  Note: don't add ${LDFLAGS} here,
it has a bunch of extra stuff defined above.

While I'm here, change "$(CFLAGS)" to "${CFLAGS}" to make all the rules
uniform.

27 years agoAdd ${CFLAGS} and ${LDFLAGS} to the setup command line.
Satoshi Asami [Tue, 13 May 1997 05:52:40 +0000 (05:52 +0000)]
Add ${CFLAGS} and ${LDFLAGS} to the setup command line.

27 years agosave/restore %ebx, %esi and %edi when calling bios routines.
Tor Egge [Mon, 12 May 1997 23:00:32 +0000 (23:00 +0000)]
save/restore %ebx, %esi and %edi when calling bios routines.
Don't save/restore %ecx and %edx.
Reset segment limits when going to real mode.
Reviewed by: phk (briefly)

27 years agoUse the old nfs arguments in the nfs_diskless structure, to be
Tor Egge [Mon, 12 May 1997 19:02:56 +0000 (19:02 +0000)]
Use the old nfs arguments in the nfs_diskless structure, to be
compatible with boot proms made from the 2.2 source.
Convert the nfs arguments when copying to the new diskless structure.
Copy the gateway field in the diskless structure.

27 years agoMake things more descriptive.
Brian Somers [Mon, 12 May 1997 16:29:48 +0000 (16:29 +0000)]
Make things more descriptive.

PR: 1847
Submitted by:   Peter Childs <pjchilds@imforei.apana.org.au>
                Dirk-Willem van Gulik <Dirk.vanGulik@jrc.it>

27 years agoMake the META tag specifying the document character set the first
John Fieber [Mon, 12 May 1997 14:16:48 +0000 (14:16 +0000)]
Make the META tag specifying the document character set the first
thing in the HEAD element.

27 years agoBring pmdemand example in line with handbook and man
Brian Somers [Mon, 12 May 1997 14:07:14 +0000 (14:07 +0000)]
Bring pmdemand example in line with handbook and man
page examples.

27 years agoOops, move clock_*() and nanosleep() to time.h
Peter Wemm [Mon, 12 May 1997 12:58:40 +0000 (12:58 +0000)]
Oops, move clock_*() and nanosleep() to time.h

Submitted by: Peter Dufault <dufault@hda.com>

27 years agoSynchronize with sys/i386/i386/machdep.c revision 1.241.
KATO Takenori [Mon, 12 May 1997 12:56:50 +0000 (12:56 +0000)]
Synchronize with sys/i386/i386/machdep.c revision 1.241.

27 years agoadd .St -p1003.1b and -p1003.1b-93
Peter Wemm [Mon, 12 May 1997 12:28:57 +0000 (12:28 +0000)]
add .St -p1003.1b and -p1003.1b-93

27 years agoAdd clock_* and nanosleep manpages and links.
Peter Wemm [Mon, 12 May 1997 12:18:14 +0000 (12:18 +0000)]
Add clock_* and nanosleep manpages and links.

27 years agomanpage for nanosleep(2)
Peter Wemm [Mon, 12 May 1997 12:15:35 +0000 (12:15 +0000)]
manpage for nanosleep(2)

Obtained from: NetBSD  (I think jtc@netbsd.org wrote it)

27 years agoMan pages for clock_{get/set}time() and clock_getres().
Peter Wemm [Mon, 12 May 1997 12:13:10 +0000 (12:13 +0000)]
Man pages for clock_{get/set}time() and clock_getres().

Obtained from: kstailey@openbsd.org via OpenBSD sources

27 years agoCorrect sample file name.
Brian Somers [Mon, 12 May 1997 11:54:12 +0000 (11:54 +0000)]
Correct sample file name.

27 years agoMake uu_* const correct.
Brian Somers [Mon, 12 May 1997 10:36:14 +0000 (10:36 +0000)]
Make uu_* const correct.

Suggested by: joerg

27 years agoUse nanosleep() in all cases, not just in the reentrant libc (_THREAD_SAFE)
Peter Wemm [Mon, 12 May 1997 10:04:57 +0000 (10:04 +0000)]
Use nanosleep() in all cases, not just in the reentrant libc (_THREAD_SAFE)
version.

27 years agoAdd const in the thread version of nanosleep()'s args
Peter Wemm [Mon, 12 May 1997 10:02:18 +0000 (10:02 +0000)]
Add const in the thread version of nanosleep()'s args

27 years agoremove prototype for nanosleep(), it's visible in unistd.h now.
Peter Wemm [Mon, 12 May 1997 10:00:46 +0000 (10:00 +0000)]
remove prototype for nanosleep(), it's visible in unistd.h now.

27 years agoCreate the clock_settime(), clock_gettime(), clock_getres() and nanosleep()
Peter Wemm [Mon, 12 May 1997 09:59:25 +0000 (09:59 +0000)]
Create the clock_settime(), clock_gettime(), clock_getres() and nanosleep()
syscall functions.

27 years agoprototype clock_settime(), clock_gettime(), clock_getres(), nanosleep().
Peter Wemm [Mon, 12 May 1997 09:57:39 +0000 (09:57 +0000)]
prototype clock_settime(), clock_gettime(), clock_getres(), nanosleep().

27 years agoBuild osreldate.h at build time rather than install time. This fixes
Peter Wemm [Mon, 12 May 1997 09:50:19 +0000 (09:50 +0000)]
Build osreldate.h at build time rather than install time.  This fixes
a breakage with 'make reinstall' on a read-only source tree.

27 years agoThe -pthread option was added to freebsd.h but missed from freebsd-elf.h
Peter Wemm [Mon, 12 May 1997 09:24:27 +0000 (09:24 +0000)]
The -pthread option was added to freebsd.h but missed from freebsd-elf.h

27 years agoTypo fix: sq --> qs
Alexander Langer [Mon, 12 May 1997 01:56:31 +0000 (01:56 +0000)]
Typo fix: sq --> qs

27 years agoTypo fix.
Masafumi Max NAKANE [Sun, 11 May 1997 23:43:11 +0000 (23:43 +0000)]
Typo fix.
PR: 3570
Submitted by:  Philippe Charnier <charnier@xp11.frmug.org>

27 years agoSpecify EUC-JP character encoding.
John Fieber [Sun, 11 May 1997 23:26:13 +0000 (23:26 +0000)]
Specify EUC-JP character encoding.

27 years ago- fixed typo
Andreas Klemm [Sun, 11 May 1997 19:01:24 +0000 (19:01 +0000)]
- fixed typo
- merged SMP option SMP_AUTOSTART from LINT
- enabled SMP_AUTOSTART, since it's the desired working mode and it's
  reported to work now.
PR:
Reviewed by:
Submitted by:
Obtained from:

27 years agoUpdate the manual page to call more attention to the probe override flags.
Paul Traina [Sun, 11 May 1997 18:28:08 +0000 (18:28 +0000)]
Update the manual page to call more attention to the probe override flags.

27 years agoBring in some kernel bootp support. This removes the need for netboot
Tor Egge [Sun, 11 May 1997 18:05:39 +0000 (18:05 +0000)]
Bring in some kernel bootp support. This removes the need for netboot
to fill in the nfs_diskless structure, at the cost of some kernel
bloat. The advantage is that this code works on a wider range of
network adapters than netboot. Several new kernel options are
documented in LINT.
Obtained from: parts of the code comes from NetBSD.

27 years agoMake nc_flag and nc_nlen unsigned.
Poul-Henning Kamp [Sun, 11 May 1997 14:54:41 +0000 (14:54 +0000)]
Make nc_flag and nc_nlen unsigned.

27 years agoDon't rely on stderr to report bad news.
Poul-Henning Kamp [Sun, 11 May 1997 14:27:03 +0000 (14:27 +0000)]
Don't rely on stderr to report bad news.

27 years agoFixed initialization of ldt[]. Unused entries were garbage. A comment
Bruce Evans [Sun, 11 May 1997 12:39:43 +0000 (12:39 +0000)]
Fixed initialization of ldt[].  Unused entries were garbage.  A comment
was stale.

Fixed initialization of gdt[] for the BDE_DEBUGGER case.  APM entries
clobbered debugger entries if the debugger was loaded (APM is incompatible
with BDE_DEBUGGER) and unused entries were garbage if the debugger wasn't
loaded.

27 years agoAdd variable LPR for printer command.
Wolfram Schneider [Sun, 11 May 1997 10:42:00 +0000 (10:42 +0000)]
Add variable LPR for printer command.

Murphy's Law: define LPR=true in /etc/make.conf if you don't want
tomorrow find 3 paper copies (ascii, latin1, postscript) of the
handbook in your printer (or someone else printer on the other half of
the world).

27 years agoFix memory leak caused by not freeing memory returned by cgetstr()
David Nugent [Sun, 11 May 1997 10:25:38 +0000 (10:25 +0000)]
Fix memory leak caused by not freeing memory returned by cgetstr()
calls. The cost is a little more up-front memory allocation, but the
effect seems minimal.

Problem noticed-by: bde

Added syslog at LOG_ERR when referencing an unknown gettytab entry
and for other cgetent() failues (circular reference et al).

To be merged into 2.2 after a few days testing.

27 years agoCreate ttyXX.if and tunX.pid irrespective of
Brian Somers [Sun, 11 May 1997 10:23:16 +0000 (10:23 +0000)]
Create ttyXX.if and tunX.pid irrespective of
whether we're -dedicated.

Required by: David Nugent <davidn@labs.usn.blaze.net.au>

27 years agoMake sppp's logging human-readable. Also, use log(9), as opposed to
Joerg Wunsch [Sun, 11 May 1997 10:04:24 +0000 (10:04 +0000)]
Make sppp's logging human-readable.  Also, use log(9), as opposed to
printf(9), so the log output doesn't clutter the console.

While i was at it, KNFified some function definitions.  This file was
very inconsistent in this respect.

27 years agoAdd #include <sys/types.h> in synopsis, now required for libutil.h.
David Nugent [Sun, 11 May 1997 08:50:33 +0000 (08:50 +0000)]
Add #include <sys/types.h> in synopsis, now required for libutil.h.

27 years agoBump shared lib version to 2.3.
David Nugent [Sun, 11 May 1997 08:31:43 +0000 (08:31 +0000)]
Bump shared lib version to 2.3.

Suggested by: bde

27 years agoMF2.2: bugfix in arrayize().
David Nugent [Sun, 11 May 1997 08:07:29 +0000 (08:07 +0000)]
MF2.2: bugfix in arrayize().

27 years agoAfter looking around at what the other *BSD's do for their $xxxBSD$ tags,
Peter Wemm [Sun, 11 May 1997 05:33:08 +0000 (05:33 +0000)]
After looking around at what the other *BSD's do for their $xxxBSD$ tags,
take the easy way out and implement the beginnings of something similar.
Don't worry, the code here is *dormant* so far, some "help" from cvs is
required.  This is going in now so that jdp can see what I'm working on.
This is an extension of the previous existing skeleton $FreeBSD$ code.

27 years agoInclude types.h before libutil.h
Jordan K. Hubbard [Sun, 11 May 1997 05:26:11 +0000 (05:26 +0000)]
Include types.h before libutil.h

27 years agoCosmetique
Andrey A. Chernov [Sun, 11 May 1997 00:44:37 +0000 (00:44 +0000)]
Cosmetique

27 years agoPrint out reject masks on "show lcp"
Andrey A. Chernov [Sun, 11 May 1997 00:41:30 +0000 (00:41 +0000)]
Print out reject masks on "show lcp"

27 years agoadd a bktrX target (for Bt848 based cards)
John-Mark Gurney [Sun, 11 May 1997 00:34:36 +0000 (00:34 +0000)]
add a bktrX target (for Bt848 based cards)

27 years agoSupport compressed output. Default is uncompressed output format.
Wolfram Schneider [Sun, 11 May 1997 00:32:14 +0000 (00:32 +0000)]
Support compressed output. Default is uncompressed output format.
Fix print target.

27 years agoUse random() for GenerateMagic()
Andrey A. Chernov [Sun, 11 May 1997 00:16:00 +0000 (00:16 +0000)]
Use random() for GenerateMagic()

27 years agoCosmetique fixes:
Andrey A. Chernov [Sat, 10 May 1997 23:46:29 +0000 (23:46 +0000)]
Cosmetique fixes:
shorten help message to fit the screen
return to prompt from "show ipcp"

27 years agoNew Italian keymap
Jordan K. Hubbard [Sat, 10 May 1997 23:05:41 +0000 (23:05 +0000)]
New Italian keymap
Submitted by: Gianmarco Giovannelli <gmarco@scotty.masternet.it>

27 years agoUse HTML 3.2 Final for the HTML doctype declaration.
John Fieber [Sat, 10 May 1997 20:41:11 +0000 (20:41 +0000)]
Use HTML 3.2 Final for the HTML doctype declaration.

27 years agologin_getclass() -> login_getpwclass()
David Nugent [Sat, 10 May 1997 19:02:38 +0000 (19:02 +0000)]
login_getclass() -> login_getpwclass()

27 years agologin_getclass() -> login_getpwclass().
David Nugent [Sat, 10 May 1997 19:02:03 +0000 (19:02 +0000)]
login_getclass() -> login_getpwclass().

27 years agologin_getclass() -> login_getpwclass().
David Nugent [Sat, 10 May 1997 19:00:58 +0000 (19:00 +0000)]
login_getclass() -> login_getpwclass().
Updated (incorrect) entry for bash [-v].
Remove unused support for long rlim_t.
Added "bash2" to bash style ulimit handling.

27 years agologin_getclass() -> login_getpwclass().
David Nugent [Sat, 10 May 1997 18:57:16 +0000 (18:57 +0000)]
login_getclass() -> login_getpwclass().
auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.

27 years agoSummary of login.conf support changes:
David Nugent [Sat, 10 May 1997 18:55:38 +0000 (18:55 +0000)]
Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
  checking (which has been shown to be a problem, and is therefore
  justified, imho); also some minor things we were missing, including
  better quad_t math, which checks for under/overflows.

o setusercontext() now allows user resource limit overrides, but
  does this AFTER dropping root privs, to restrict the user to
  droping hard limits and set soft limits within the kernel's
  allowed user limits.

o umask() only set once, and only if requested.

o add _secure_path(), and use in login.conf to guard against
  symlinks etc. and non-root owned or non-user owned files being
  used. Derived from BSDI contributed code.

o revamped authentication code to BSDI's latest api, which
  includes deleting authenticate() and adding auth_check()
  and a few other functions. This is still marked as depecated
  in BSDI, but is included for completeness. No other source
  in the tree uses this anyway, so it is now bracketed with
  #ifdef LOGIN_CAP_AUTH which is by default not defined. Only
  auth_checknologin() and auth_cat() are actually used in
  module login_auth.c.

o AUTH_NONE definition removed (collided with other includes
  in the tree). [bde]

o BSDI's login_getclass() now accepts a char *classname
  parameter rather than struct passwd *pwd. We now do likewise,
  but added login_getpwclass() for (sort of) backwards
  compatiblity, namely because we handle root as a special
  case for the default class. This will require quite a few
  changes elsewhere in the source tree.

o We no longer pretend to support rlim_t as a long type.

o Revised code formatting to be more bsd-ish style.

27 years agoDocument APIC_IO as mandatory.
Steve Passe [Sat, 10 May 1997 17:46:57 +0000 (17:46 +0000)]
Document APIC_IO as mandatory.
Document SMP_AUTOSTART as working.

27 years agoDocumented SMP_AUTOSTART to be working.
Steve Passe [Sat, 10 May 1997 17:40:53 +0000 (17:40 +0000)]
Documented SMP_AUTOSTART to be working.

27 years agoClean up some more. Move parsing of sysctl iflist data into a single
Peter Wemm [Sat, 10 May 1997 17:14:53 +0000 (17:14 +0000)]
Clean up some more.  Move parsing of sysctl iflist data into a single
place rather than updating the main loop's index variables from within
a subroutine and other revolting things like that.  Move some more
globals into local variables.

27 years agoFix null dereference if config variable not set.
Paul Traina [Sat, 10 May 1997 17:11:24 +0000 (17:11 +0000)]
Fix null dereference if config variable not set.

27 years agoImplement a separate control for write gathering on NFSv3. This is turned
Doug Rabson [Sat, 10 May 1997 16:59:36 +0000 (16:59 +0000)]
Implement a separate control for write gathering on NFSv3.  This is turned
off for NFSv3 by default since write gathering seems to reduce performance
for NFSv3 by up to 60%.

Add sysctl knobs to control both variables.

27 years agoFix a nasty hang connected with write gathering. Also add debug print
Doug Rabson [Sat, 10 May 1997 16:12:03 +0000 (16:12 +0000)]
Fix a nasty hang connected with write gathering.  Also add debug print
statements to bits of the server which helped me find the hang.

27 years agoRefuse to negotiate HISADDR of 0.0.0.0 (NAK it)
Brian Somers [Sat, 10 May 1997 15:37:40 +0000 (15:37 +0000)]
Refuse to negotiate HISADDR of 0.0.0.0 (NAK it)

Submitted by: NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>

27 years agoGrumble.. My last patchup here didn't quite work either. I hate this
Peter Wemm [Sat, 10 May 1997 14:47:35 +0000 (14:47 +0000)]
Grumble..  My last patchup here didn't quite work either.  I hate this
program and it's use of global variables.  Somehow, I managed to miss the
most obvious case.. "ifconfig ed0 10.0.0.1" failed (no "inet")

Submitted by: dfr

27 years agoRemoved login_cap.h, now moved to src/lib/libutil.
David Nugent [Sat, 10 May 1997 12:50:03 +0000 (12:50 +0000)]
Removed login_cap.h, now moved to src/lib/libutil.

27 years agoMove login_cap.h from src/include for easier maintenance with
David Nugent [Sat, 10 May 1997 12:49:30 +0000 (12:49 +0000)]
Move login_cap.h from src/include for easier maintenance with
related files.