Commit Graph

32374 Commits

Author SHA1 Message Date
Jordan K. Hubbard eecd46375c Move auth.conf path in here. Doesn't affect published interface. 1998-10-09 07:34:47 +00:00
Jordan K. Hubbard 475ae25ac1 Update docs to match interface change. 1998-10-09 07:33:58 +00:00
Jordan K. Hubbard 50dfa596d3 o move path in libutil.h to paths.h
o make property_read() take a fd instead to avoid stdio.h mess
o update auth to new interface.
1998-10-09 07:32:38 +00:00
Jordan K. Hubbard 72671863e8 Take the path spec back out. 1998-10-09 07:28:14 +00:00
Mike Smith cab57be9ae Remove some debugging code.
Do a much better job of DWIM with partial device specifications.
Fix the module metadata build process, which was completely broken.
Use a larger read buffer when copying large objects in; this
improves performance marginally and will avoid flushning any small caches
we might choose to implement.
1998-10-09 07:11:19 +00:00
Mike Smith 6ba0dd2cfc Sync the MODINFO constants with <sys/linker.h>
Remove debugging in command_read().
Correctly strip leading controls on script commands.
Make 'ls' more DWIM in regard to pathnames.  We can still do better.
1998-10-09 07:09:22 +00:00
Jordan K. Hubbard e85ae9e7a3 Small refinements to boot script. 1998-10-09 07:07:55 +00:00
Mike Smith 2d7c587f15 MODINFO_NAME can't be 0, that's the end of the metadata area. 1998-10-09 07:06:43 +00:00
Mark Murray 3e8af2321b Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
Mark Murray 8f176b4353 Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +00:00
Mark Murray bacda65d14 Add JKH's auth.conf-file parser to turn Kerberos on/off in userland. 1998-10-09 06:31:45 +00:00
Jordan K. Hubbard 55e92fb0ec Initialize boot configuration files on floppy correctly. We now
support 3 kinds of floppies:  boot+mfs (standard), boot, mfs.
1998-10-09 06:28:28 +00:00
Jordan K. Hubbard b526345c9e Add some evil temporary phys-to-kern translation for mfs. 1998-10-09 06:21:12 +00:00
Bill Paul 62034864f7 Add support for yet another "cyclone" board, with PCI device id 0x905A.
This is a 100BaseFX board with SC fiber media connectors. I don't actually
have one of these but I've been told it works with the xl driver.

Submitted by: Jason Wright from the openbsd group
1998-10-09 03:59:24 +00:00
Mike Smith 1d13be3330 Missing defines for the kernel environment and module metadata lookup
functions
1998-10-09 01:44:09 +00:00
John Polstra de486d8863 Don't try to print out the signal number that caused core to be
dumped.  It is not in a fixed location in the file, so at best,
garbage comes out.  I don't think this code was ever valid.
1998-10-09 01:43:08 +00:00
Jordan K. Hubbard 48c540f9a1 include proper header for Mike's new stuff. 1998-10-09 01:40:56 +00:00
Satoshi Asami 37a64fc4b4 Add new variable NO_FILTER_SHLIBS -- it will disable ELF <-> a.out shlib
name conversion.  Use it for binary ports that come with its own private
shlib dirs, ports that install linux compatibility libraries (thus following
their naming conventions and not ours), etc.

Reviewed by:	Martin Cracauer <cracauer@FreeBSD.ORG>
1998-10-09 01:27:21 +00:00
Jordan K. Hubbard b8c11ec197 All these have to include stdio.h now. 1998-10-09 00:39:09 +00:00
Mike Smith 6ba9413b55 Kernel environment access, preloaded module lookup. 1998-10-09 00:31:29 +00:00
Mike Smith d7a5acb5ec Initialise kernel environment and module metadata pointers. 1998-10-09 00:31:06 +00:00
Mike Smith 8aeb56c2db New files for kernel environment and module metadata interfaces. 1998-10-09 00:30:50 +00:00
John Polstra 9b35a0d694 Fix a panic on SMP systems, caused by sleeping while holding a
simple-lock.

The reviewer raises the following caveat: "I believe these changes
open a non-critical race condition when adding memory to the pool
for the zone. I think what will happen is that you could have two
threads that are simultaneously adding additional memory when the
pool runs out. This appears to not be a problem, however, since
the re-aquisition of the lock will protect the list pointers."
The submitter agrees that the race is non-critical, and points out
that it already existed for the non-SMP case.  He suggests that
perhaps a sleep lock (using the lock manager) should be used to
close that race.  This might be worth revisiting after 3.0 is
released.

Reviewed by:	dg (David Greenman)
Submitted by:	tegge (Tor Egge)
1998-10-09 00:24:49 +00:00
Jordan K. Hubbard d0a638ae52 Use lstat() rather than stat in determining whether a file exists,
otherwise we'll miss the "symlink exists but points nowhere" case.
Submitted by:	asami and/or possibly <ru@ucb.crimea.ua>
1998-10-09 00:01:16 +00:00
Jordan K. Hubbard f97ad428df Allow the module area to be used in order to find the MFS image
(in addition to allowing it to be compiled in) and stop overloading
the MFS_ROOT variable to store size information.
1998-10-08 23:34:44 +00:00
Jordan K. Hubbard 3a2d923136 This thing has its own puts function, so use it.
Submitted by:	Matthew Jacob <mjacob@nas.nasa.gov>
1998-10-08 23:14:02 +00:00
Jordan K. Hubbard 146c3cf45c remove stdio.h include; I forgot Bruce's cardinal rule that header files
shouldn't include other ones (which, unfortunately, is also a hellish
rule since he broke interfaces like sysctl this way by requiring undocumented
header files to be included just in order to be able to use them now - SIGH!).
1998-10-08 23:10:41 +00:00
Mike Smith 8ef367d43c Fix up the kernel environment and module data pointers in the bootinfo if
they are present.
If we are told where the end of the loaded kernel image is, believe it.
1998-10-08 21:03:41 +00:00
Dag-Erling Smørgrav 83eb77e880 Make that annoying "device busy" message dependent on DEBUG (using the
DEB macro). There are probably quite a few other messages that warrant
a similar treatment, and many more that should be converted to plain
log messages (e.g. "WARNING: wrintr but write DMA inactive!"). Now
that I think of it, same goes for the CAM code (e.g. the famed "tagged
openings" message)
1998-10-08 20:55:54 +00:00
Kenneth D. Merry b994e5358d Fix a memory leak in rpc.rstatd that shows up when it's run in standalone
mode.  (i.e., not from inetd)

PR:		bin/8212
1998-10-08 19:59:40 +00:00
Dag-Erling Smørgrav 5a948e4ba7 While I'm at it, remove the tickadj manpage from src/share/man0/man8,
though I'm afraid there's a lot more that needs fixing in this file,
judging by 'find /usr/src -name "*.8" -print'.

Spotted-by:	glimpse -H /usr/src tickadj
1998-10-08 18:52:17 +00:00
Dag-Erling Smørgrav b354705227 Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.
Disable building tickadj(8) by removing util from SUBDIR in the xntpd
Makefile. Note that the sources are still there and tickadj can still
be built and installed by doing:

# cd /usr/src/usr.sbin/xntpd/util
# make all install

There are enough references to tickadj in e.g. the xntpd documentation
(not to mention the sysctl variables it uses etc.) that I don't feel
up to implementing the final solution right now.

Kinda-approved-by:	phk
1998-10-08 18:47:30 +00:00
KATO Takenori 0dce060dd6 Discard previous commit. 1998-10-08 17:20:58 +00:00
KATO Takenori c9b153c8af Oops, discard my previous commits becase sumitted code is for RELENG_2_2. 1998-10-08 17:16:41 +00:00
KATO Takenori caff4610b9 Add entry for EtherEZ98 and Access/PC N98C+ cards.
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:07:44 +00:00
KATO Takenori 7143cdbb01 Add ungermann-Bass Access/PC N98C+ support to fe driver (PC-98).
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:06:32 +00:00
KATO Takenori bb168650e8 Add SMC EtherEZ98 support to ed driver (PC-98).
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:04:59 +00:00
KATO Takenori 5baef6cd27 BIOS ROM base address is 0xe8000 on PC-98. 1998-10-08 16:15:22 +00:00
Bill Paul 3aff6980c6 Correctly update the tail pointer of the transmit queue in tl_start()
(one-liner). I have yet to actually encounter any problems due to this
bug, but why take chances.
1998-10-08 15:45:36 +00:00
KATO Takenori acb3c15910 Sync with sys/i386/conf/GENERIC revision up to 1.123. 1998-10-08 12:10:07 +00:00
KATO Takenori 6939f71026 Sync with sys/i386/i386/userconfig.c revision 1.111. 1998-10-08 12:09:38 +00:00
Jordan K. Hubbard a34b53fbb3 Finally settle on a name for the mfsroot image. 1998-10-08 10:18:55 +00:00
Jordan K. Hubbard 9013d85dcb Only install boot blocks if !MFSKERN. Too big otherwise! 1998-10-08 10:02:28 +00:00
David E. O'Brien d22889b821 Quiet many compiler warnings. 1998-10-08 09:56:10 +00:00
Jordan K. Hubbard 8198d9b044 Add boot bits to boot floppy. 1998-10-08 09:53:32 +00:00
Jordan K. Hubbard e2d5656999 Make both types of boot targets. 1998-10-08 09:40:17 +00:00
Jordan K. Hubbard bcfb491dfa Final cleanup pass over boot floppy changes. 1998-10-08 09:06:16 +00:00
Poul-Henning Kamp 0e8380df1f Avoid using dmesg to find devices, the buffer may not be big enough.
Reviewed by:	phk
Submitted by:	Mike Spengler <mks@networkcs.com>
1998-10-08 08:56:01 +00:00
Jordan K. Hubbard c5a5d65bf8 Remove a gratuitous copy. 1998-10-08 07:12:37 +00:00
Jordan K. Hubbard 3b29c89296 Add some rudimentary documentation for my new functions. 1998-10-08 06:53:32 +00:00