summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Revive these files in their new location. These were repo copied frompeter2000-09-061-0/+437
| | | | | | the old files before Marcel lost the history on them. Requested by: obrien
* Do not panic on an uninitialized VOP_xxx() call. This was meant as apeter2000-09-061-2/+2
| | | | | | | | | | | | | | | | | 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
* o Synchronize vaccess() capability access control checks with TrustedBSDrwatson2000-09-062-8/+8
| | | | | | tree. Obtained from: TrustedBSD Project
* Add refcounts to the "global" DEVFS inode slots, this allows usphk2000-09-065-71/+298
| | | | | | | | | | | | | | | | | | | 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.
* Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng aphk2000-09-065-19/+232
| | | | | | | | | | | few hours earlier than the rest. The next DEVFS commit needs these functions. Alpha versions by: dfr i386 versions by: jakeb Approved by: SMPng
* DESTDIR'ify the device.hints checking code.obrien2000-09-064-8/+8
|
* I forgot the leading `DESTDIR' before the kernel directory.obrien2000-09-064-4/+4
|
* The kernel is now known as `kernel.ko' and it and its matching modulesobrien2000-09-061-1/+1
| | | | | | live in ``/boot/kernel/''. Submitted by: Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>
* When sigaltstack is called with a stack size that's not smallermarcel2000-09-064-2/+10
| | | | | | | than LINUX_MINSIGSTKSZ but smaller than MINSIGSTKSZ, cheat and pass MINSIGSTKSZ to the kernel. This is a workaround. Submitted through: nate
* 1. IP_FW_F_{UID,GID} are _not_ commands, they are extras. The sanity checkingbillf2000-09-061-2/+7
| | | | | | | | | | | | 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
* Ignore ELF files with 'interpreter' section because KLDs doesn't contain it.bp2000-09-062-0/+10
| | | | Reviewed by: peter
* Fix the kernel default load from "/boot/modules" to "/boot/kernel".obrien2000-09-051-1/+1
| | | | Reported by: dcs
* The kernel is now known as `kernel.ko' and it and its matching modulesobrien2000-09-058-111/+142
| | | | live in ``/boot/kernel/''.
* Teach the NFS && NFS_ROOT case how to pick up information left by themsmith2000-09-052-0/+348
| | | | PXE loader, and use this to build the nfs_diskless structure.
* Fix a bug which prevents parsing this Makefile without having amsmith2000-09-051-0/+2
| | | | previously-built loader binary elsewhere.
* Export the salient configuration items in a non-pxe-specific namespacemsmith2000-09-051-5/+44
| | | | | | | | | | | | 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.
* Don't scan for the "right" network interface by shooting in the dark.msmith2000-09-052-0/+6
| | | | | Assume that the nfs_diskless structure is correctly set up; the provider ought to be getting it right.
* Remove uidinfo hash table lookup and maintenance out of chgproccnt() andtruckman2000-09-0515-170/+258
| | | | | | | | | | | | | | 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().
* Move extern declaration of dead_vnodeop_p to a .h file.phk2000-09-053-7/+12
| | | | Remove race condition in vn_isdisk().
* Register resources in a more opportune order for the hardware.phk2000-09-051-17/+17
|
* initial support for multiple ac97 codecscg2000-09-053-18/+24
|
* add detach supportcg2000-09-051-1/+76
|
* allow a null setdir implementationcg2000-09-051-1/+1
|
* be more verbose about failed unload attemptscg2000-09-051-2/+10
|
* tidy up a little, add a mask for 32bit formatscg2000-09-051-4/+1
|
* Make the basic AIO functions, i.e., aio_read() and aio_write(),alc2000-09-051-3/+3
| | | | | work on the Alpha, at least, for the aio_qphysio() case. Specifically, fix an unaligned access fault.
* MFNetBSD:imp2000-09-051-1/+24
| | | | | | | | | 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...
* Regen.gehenna2000-09-052-2/+9
|
* Add product ID (Prolific ATAPI-4 Bridge Controller).gehenna2000-09-051-0/+1
| | | | Reported by: "K.Sumitani" <sumitani@bd2.hnes.nec.co.jp>
* Regen.n_hibma2000-09-052-4/+264
|
* Fix typo'sn_hibma2000-09-051-2/+2
|
* Loads of scanner Ids.n_hibma2000-09-051-1/+45
|
* Add ZTIA001 - Zoom Internal V90 Faxmodem.sheldonh2000-09-052-0/+2
| | | | | PR: 21028 Submitted by: Glenn Johnson <glennpj@charter.net>
* Various cleanups towards make nullfs functional (it is still brokenbp2000-09-058-76/+260
| | | | | | | | | | | | | | | | | | | | at this point): Replace all '#ifdef DEBUG' with '#ifdef NULLFS_DEBUG' and add NULLFSDEBUG macro. Protect nullfs hash table with lockmgr. Use proper order of operations when freeing mnt_data. Return correct fsid in the null_getattr(). Add null_open() function to catch MNT_NODEV (obtained from NetBSD). Add null_rename() to catch cross-fs rename operations (submitted by Ustimenko Semen <semen@iclub.nsu.ru>) Remove duplicate $FreeBSD$ tags.
* Get rid from the __P() macros.bp2000-09-058-74/+72
| | | | Encouraged by: peter
* o vn_extattr_set() will now call appropriate vn_start_write() andrwatson2000-09-051-2/+8
| | | | | | vn_finished_write() if IO_NODELOCKED is not set. Obtained from: TrustedBSD Project
* o Remove commented out code which modified return values fromrwatson2000-09-052-20/+0
| | | | | | extattr_{get,set} syscalls in the face of partial reads or writes. Obtained from: TrustedBSD Project
* Regeneratepeter2000-09-052-2/+18
|
* Catch a few more bogosities in certain chipsets before they mess us up.peter2000-09-056-114/+534
| | | | | | | | | | | | | Some have dual host->PCI bridges for the same logical pci bus (!), eg: some of the RCC chipsets. This is a 32/64 bit 33/66MHz and dual pci voltage motherboard so persumably there are electical or signalling differences but they are otherwise the same logical bus. The new PCI probe code however was getting somewhat upset about it and ended up creating two pci bridges to the same logical bus, which caused devices on that logical bus to appear and be probed twice. The ACPI data on this box correctly identifies this stuff, so bring on ACPI! :-)
* Add compaq hotplug PCI device id.peter2000-09-051-9/+27
| | | | | Tidy up some loose ends. Be a little more consistent how the ign driver probes with the rest of the drivers in this file.
* When dumping the 'found devices' list in verbose mode, actually show thepeter2000-09-052-0/+4
| | | | | | bus/slot/function numbers. The old PCI code used other markers or something, but without it here under the new pci code it is very hard to tell which device is which (this only affects bootverbose mode).
* When we are picking the next available unit number, specifically saypeter2000-09-051-3/+3
| | | | | what we picked. Otherwise it is anybody's guess as to where the device ended up.
* o Add missing "\n" to warning output in netinet/if_loop.c, when anrwatson2000-09-041-1/+1
| | | | | | | | | unsupported address family is used on localhost interface. looutput: af=0 unexpected Speculation as to the reasons for my seeing this error are welcome, of course. :-)
* Add AS1200 (Tincup) to descriptionwilko2000-09-042-2/+2
|
* LINT -> NOTESwilko2000-09-042-6/+6
|
* Off by one error.phk2000-09-041-1/+1
| | | | Submitted by: des
* Remove obsolete comment (see rev 1.84 of procfs_vnops.c)des2000-09-042-16/+0
|
* Remove a comment that has been not only obsolete but patently wrong for thedes2000-09-042-16/+0
| | | | last 31 revisions (almost three years).
* Support for RBC devices, like Sony Memory Sticks.n_hibma2000-09-041-3/+65
| | | | | | Not extensively tested yet, so be warned. Submitted by: Gerd Knops <gerti@bitart.com>
* Add the id for the Sony memory sticks.n_hibma2000-09-041-0/+4
|
OpenPOWER on IntegriCloud