summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add KTR, a facility that logs kernel events in order to to facilitatejasone2000-09-077-21/+770
| | | | | | | debugging. Acquired from: BSDi (BSD/OS) Submitted by: dfr, grog, jake, jhb
* Remove superfluous `/'s before KODIR.obrien2000-09-074-51/+51
| | | | Acceptability explained by: rgrimes
* With the committed changes to the loaders modules path code, the kernelobrien2000-09-061-1/+1
| | | | path does not need to be hard coded.
* Since AlphaLinux is the weirdest Linux of all, probably best to do theobrien2000-09-061-1/+1
| | | | logic this way.
* Two sys/compat/linux sources aren't applicable on the Alpha at this time.obrien2000-09-061-2/+6
|
* ess maestro driver - not enabled by defaultcg2000-09-063-0/+1541
| | | | Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
* Add support for D-Link DSB-650 USB ethernet adapter.wpaul2000-09-061-2/+7
|
* Regenerate.wpaul2000-09-062-2/+9
|
* Add new device ID for the D-Link DSB-650 USB ethernet adapter. This iswpaul2000-09-061-0/+1
| | | | | a pegasus device, which has product ID 0xABC1. I'm not sure why they changed it; there's already an entry for a DSB-650TX.
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-09-063-499/+217
| | | | Submitted by: gallatin (content, minimization by me)
* Change the calls to panic() in uifree(), chgproccnt(), and chgsbsize()truckman2000-09-061-4/+4
| | | | | to printf(). Any errors detected are not likely to be fatal, so it should be safe to let things keep running.
* Accept filter maintainancealfred2000-09-063-91/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update copyrights. Introduce a new sysctl node: net.inet.accf Although acceptfilters need refcounting to be properly (safely) unloaded as a temporary hack allow them to be unloaded if the sysctl net.inet.accf.unloadable is set, this is really for developers who want to work on thier own filters. A near complete re-write of the accf_http filter: 1) Parse check if the request is HTTP/1.0 or HTTP/1.1 if not dump to the application. Because of the performance implications of this there is a sysctl 'net.inet.accf.http.parsehttpversion' that when set to non-zero parses the HTTP version. The default is to parse the version. 2) Check if a socket has filled and dump to the listener 3) optimize the way that mbuf boundries are handled using some voodoo 4) even though you'd expect accept filters to only be used on TCP connections that don't use m_nextpkt I've fixed the accept filter for socket connections that use this. This rewrite of accf_http should allow someone to use them and maintain full HTTP compliance as long as net.inet.accf.http.parsehttpversion is set.
* Add the AlphaLinux locore support.obrien2000-09-061-0/+50
| | | | Submitted by: gallatin
* 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
OpenPOWER on IntegriCloud