Commit Graph

51947 Commits

Author SHA1 Message Date
nectar
1729b2e26f Forced commit after repocopy from src/usr.sbin/pwd_mkdb. 2000-09-06 18:07:51 +00:00
imp
5a96688742 First cut at new boot loader.
Rip it to shreds so that it is better, please :-)
2000-09-06 18:02:03 +00:00
brian
e86e60c71b Revert my last change. libutil.h is still required for setusercontext()
and unistd.h is already included.

Requested by:	gshapiro
2000-09-06 17:59:37 +00:00
peter
64e5fdafc8 Revive these files in their new location. These were repo copied from
the old files before Marcel lost the history on them.

Requested by:	obrien
2000-09-06 17:59:21 +00:00
peter
9b21fca483 Do not panic on an uninitialized VOP_xxx() call. This was meant as a
sanity check, but it is too easy to run into, eg: making an ACL syscall
when no filesystems have the ACL implementation enabled.

The original reason for the panic was that the VOP_ vector had not been
assigned and therefor could not be passed down the stack.. and there
was no point passing it down since nothing implemented it anyway.
vop_defaultop entries could not pass it on because it had a zero (unknown)
vector that was indistinguishable from another unknown VOP vector.

Anyway, we can do something reasonable in this case, we shouldn't need
to panic here as there is a reasonable recovery option (return EOPNOTSUPP
and dont pass it down the stack).

Requested by: rwatson
2000-09-06 17:51:54 +00:00
obrien
57baa5ad71 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.
2000-09-06 17:51:31 +00:00
des
aa0c2f765f Don't warn about unknown mount types, since they most likely simply mean
that the right module hasn't been loaded yet (and mount(8) will do so
when necessary).
2000-09-06 17:44:07 +00:00
bmah
823b68d2da Release notes reflect addition of Alteon AceNIC 1000baseT and Netgear
GA620T 1000baseT support to the ti(4) driver and subsequent MFC.

In hardware list, re-sort list of NICs supported by ti(4) driver.
2000-09-06 17:05:01 +00:00
ache
f68a2020c3 Add .El 2000-09-06 16:52:01 +00:00
ache
2fe000dc21 /modules -> /boot/kernel 2000-09-06 15:55:31 +00:00
ache
1f711bed03 Add /boot/kernel/ 2000-09-06 15:34:58 +00:00
sheldonh
73e8d2256c Add ftp.no.freebsd.org.
PR:		21068
Submitted by:	Martin Eggen <martin@copyleft.no>
2000-09-06 13:16:58 +00:00
rwatson
470afbb19d o Synchronize vaccess() capability access control checks with TrustedBSD
tree.

Obtained from:	TrustedBSD Project
2000-09-06 12:18:24 +00:00
phk
de95b6cc45 Add refcounts to the "global" DEVFS inode slots, this allows us
to recycle inodes after a destroy_dev() but not until all mounts
have picked up the change.

Add support for an overflow table for DEVFS inodes.  The static
table defaults to 1024 inodes, if that fills, an overflow table
of 32k inodes is allocated.  Both numbers can be changed at
compile time, the size of the overflow table also with the
sysctl vfs.devfs.noverflow.

Use atomic instructions to barrier between make_dev()/destroy_dev()
and the mounts.

Add lockmgr() locking of directories for operations accessing or
modifying the directory TAILQs.

Various nitpicking here and there.
2000-09-06 11:26:43 +00:00
phk
619661b238 Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a
few hours earlier than the rest.

The next DEVFS commit needs these functions.

Alpha versions by: dfr
i386 versions by: jakeb

Approved by:    SMPng
2000-09-06 11:21:14 +00:00
obrien
3e05ecd241 The default is for 3rd party kernel modules to live in /boot/modules
rather than /modules.
2000-09-06 10:27:26 +00:00
obrien
bce351acf6 DESTDIR'ify the device.hints checking code. 2000-09-06 09:27:25 +00:00
obrien
c64619ecf3 I forgot the leading `DESTDIR' before the kernel directory. 2000-09-06 09:14:18 +00:00
ume
4638eba7c9 Avoid doing rtsol to psuedo interface.
PR:		bin/21062
2000-09-06 07:39:55 +00:00
des
6921cc4c03 Reintroduce functionality and error checks that were boneheadedly removed
in the previous commit. Pass me the pointy hat.

PR:		bin/21061
2000-09-06 07:28:02 +00:00
obrien
20fb3b35a3 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.

Submitted by:	Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>
2000-09-06 06:22:20 +00:00
marcel
bc4f92e3d1 When sigaltstack is called with a stack size that's not smaller
than LINUX_MINSIGSTKSZ but smaller than MINSIGSTKSZ, cheat and
pass MINSIGSTKSZ to the kernel. This is a workaround.

Submitted through: nate
2000-09-06 06:08:54 +00:00
grog
55c6509d1a Bring LDADD in line with DPADD.
Reported by:	bde
2000-09-06 04:18:16 +00:00
billf
d19ea3c7f7 1. IP_FW_F_{UID,GID} are _not_ commands, they are extras. The sanity checking
for them does not belong in the IP_FW_F_COMMAND switch, that mask doesn't even
apply to them(!).

2. You cannot add a uid/gid rule to something that isn't TCP, UDP, or IP.

XXX - this should be handled in ipfw(8) as well (for more diagnostic output),
but this at least protects bogus rules from being added.

Pointy hat:	green
2000-09-06 03:10:42 +00:00
bp
3a21abb34d Ignore ELF files with 'interpreter' section because KLDs doesn't contain it.
Reviewed by:	peter
2000-09-06 02:21:43 +00:00
obrien
ff5ea8679f Fix the kernel default load from "/boot/modules" to "/boot/kernel".
Reported by:	dcs
2000-09-05 23:10:46 +00:00
obrien
6a44e2a875 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.
2000-09-05 22:37:46 +00:00
msmith
98b760a672 Teach the NFS && NFS_ROOT case how to pick up information left by the
PXE loader, and use this to build the nfs_diskless structure.
2000-09-05 22:34:11 +00:00
msmith
7f798022df Fix a bug which prevents parsing this Makefile without having a
previously-built loader binary elsewhere.
2000-09-05 22:33:07 +00:00
msmith
28949fdd0a Export the salient configuration items in a non-pxe-specific namespace
to allow commonality between varying platforms.  This is a step
towards parsing the diskless configuration information with MI code
inside the kernel.

Export the interface hardware address to the kernel, so that it is possible
to determine the boot interface with certainty.

Export the NFS filehandle for the root mount to the kernel, so that the
kernel does not need to perform a mount RPC call.
2000-09-05 22:32:31 +00:00
msmith
5d1d135a13 Don't scan for the "right" network interface by shooting in the dark.
Assume that the nfs_diskless structure is correctly set up; the provider
ought to be getting it right.
2000-09-05 22:29:36 +00:00
msmith
d813a6e8df Expose the NFS root node, so that an evil consumer can use it to get the
NFS filehandle for the root mount.
2000-09-05 22:11:41 +00:00
truckman
a233f9bd24 Remove uidinfo hash table lookup and maintenance out of chgproccnt() and
chgsbsize(), which are called rather frequently and may be called from an
interrupt context in the case of chgsbsize().  Instead, do the hash table
lookup and maintenance when credentials are changed, which is a lot less
frequent.  Add pointers to the uidinfo structures to the ucred and pcred
structures for fast access.  Pass a pointer to the credential to chgproccnt()
and chgsbsize() instead of passing the uid.  Add a reference count to the
uidinfo structure and use it to decide when to free the structure rather
than freeing the structure when the resource consumption drops to zero.
Move the resource tracking code from kern_proc.c to kern_resource.c.  Move
some duplicate code sequences in kern_prot.c to separate helper functions.
Change KASSERTs in this code to unconditional tests and calls to panic().
2000-09-05 22:11:13 +00:00
bmah
fe90e00905 Note the MFC of ATA100 support into the ata(4) driver and update the
list of ATA controllers currently supported.
2000-09-05 21:36:50 +00:00
phk
c39b8c82d2 Move extern declaration of dead_vnodeop_p to a .h file.
Remove race condition in vn_isdisk().
2000-09-05 21:09:56 +00:00
phk
ebc108005b Register resources in a more opportune order for the hardware. 2000-09-05 21:08:48 +00:00
cg
a4ed6d9092 initial support for multiple ac97 codecs 2000-09-05 21:08:01 +00:00
cg
7f30b13f90 add detach support 2000-09-05 21:06:11 +00:00
cg
e8326f6d5d allow a null setdir implementation 2000-09-05 21:00:45 +00:00
cg
b693bd58f3 be more verbose about failed unload attempts 2000-09-05 20:58:51 +00:00
cg
b1c395dcc2 tidy up a little, add a mask for 32bit formats 2000-09-05 20:56:31 +00:00
ache
fc40ba3d2e Document %-macros and NLSPATH better. 2000-09-05 19:14:34 +00:00
alc
0b22196e38 Make the basic AIO functions, i.e., aio_read() and aio_write(),
work on the Alpha, at least, for the aio_qphysio() case.  Specifically,
fix an unaligned access fault.
2000-09-05 18:58:07 +00:00
imp
2b6105ea4e MFNetBSD:
1.6 2000/04/12 21:07:55 scw
	Add support for the SOHOware PCMCIA Ethernet card, model ND5100-E.
	This seems to be a re-badged NDC (National Datacomms. Corp) card.
	It needs a quirk entry due to lack of manufacturer tuple in the CIS.
	For some reason, the 'Tx/Rx' LED on the connector module is inverted
	such that it is off during network activity...
2000-09-05 18:25:49 +00:00
wilko
6696bd829c correct silly typo..
Submitted by:	"Koster, K.J." <K.J.Koster@kpn.com>
2000-09-05 17:17:36 +00:00
dcs
b5a4c7de28 Good thing about these examples is that no one uses them, so they can
stay broken for months without anyone noticing.

The boot-conf command was changed as to reproduce the behavior of builtin
loader words precisely. As a result, it now always need an argument, possibly
0 indicating that no other arguments are being passed. This broke in a
non-deterministic way (ie, it could go on working as if everything was fine).
2000-09-05 16:30:09 +00:00
gehenna
2f68ae9022 Regen. 2000-09-05 16:01:34 +00:00
gehenna
e5dc2a66a5 Add product ID (Prolific ATAPI-4 Bridge Controller).
Reported by: "K.Sumitani" <sumitani@bd2.hnes.nec.co.jp>
2000-09-05 16:00:55 +00:00
ache
bd948f52a6 Fully implement NLSPATH processing as described in SUSv2 2000-09-05 14:04:21 +00:00
n_hibma
c68cec93f2 Regen. 2000-09-05 12:28:33 +00:00