summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* This patch will fix the lockups associated with AMD 751,761,762 based AGPcokane2001-12-074-14/+104
| | | | | | | | | controllers. There still seems to be some issues with the DRI copying code for some adapters, at least it doesn't hang the system now. Input would be appreciated. PR: 32301 Obtained from: Eric Anhlot <eanholt@gladstone.uoregon.edu>, Joe <joeo@nks.net>
* Back out my "joy" change. It was really the for some uncommitted ataimp2001-12-071-1/+1
| | | | code I have.
* - malloc should be passed M_WAITOK, not M_WAIT (a mbuf flag)arr2001-12-071-4/+1
| | | | - make use of M_ZERO to remove a call to bzero()
* MFS (merge from stable): rev 1.13.4.13, fix ordering of IFF_RUNNING mods.peter2001-12-071-2/+3
| | | | | | The reason we are required to commit to -current first is so that later MFC's do not risk the loss of existing bug fixes. Even if this was not strictly required in -current, it should still be fixed there too.
* MFS (merge from stable): rev 1.9.2.28, fix ordering of IFF_RUNNING mods.peter2001-12-072-4/+4
| | | | | | The reason we are required to commit to -current first is so that later MFC's do not risk the loss of existing bug fixes. Even if this was not strictly required in -current, it should still be fixed there too.
* Part 2 of previous commit. Add joy_isa.c and joy_pccard.c.peter2001-12-061-0/+2
| | | | Submitted by: jhb
* o A few more minor whitespace and other style fixes.rwatson2001-12-061-6/+7
| | | | Submitted by: bde
* o Remove unnecessary inclusion of opt_global.h.rwatson2001-12-062-2/+0
| | | | Submitted by: bde
* Add multiple inclusion protection.jhb2001-12-062-0/+10
|
* Somebody moved joy.c from isa/ to dev/joy/ without updating conf/files.peter2001-12-061-1/+1
| | | | Pointy-hat to: imp
* Compile all kernels with "-ffreestanding":obrien2001-12-061-1/+1
| | | | | | | | Assert that compilation takes place in a freestanding environment. This implies `-fno-builtin'. A freestanding environment is one in which the standard library may not exist, and program startup may not necessarily be at main. The most obvious example is an OS kernel. This is equivalent to `-fno-hosted'.
* Fixed two problems:pdeuskar2001-12-062-9/+5
| | | | | | | | | | 1. Changed incorrect conditional in fxhw.c which would never evaluate to true. Thanks to John Polstra for pointing that out. 2. Write to PCI config space by default, enabling memory access and bus master enable. Submitted by:Prafulla Deuskar MFC after:3 days
* The pccard/cardbus power interface should depend on having pccard orimp2001-12-061-1/+1
| | | | | | cardbus in the kernel, not on all the bridges that implement it. Note: this is NEWCARD only, so we don't want it for the 'card' case, unlike card_if.m, which is both NEWCARD and OLDCARD.
* o Make kern.security.bsd.suser_enabled TUNABLE.rwatson2001-12-051-0/+1
| | | | Requested by: green
* Fixed remotely exploitable DoS in arpresolve().ru2001-12-051-1/+3
| | | | | | | | | Easily exploitable by flood pinging the target host over an interface with the IFF_NOARP flag set (all you need to know is the target host's MAC address). MFC after: 0 days
* o Whitespace sync to GENERICrwatson2001-12-051-1/+1
|
* Fix initialisation of struct nat entry, to solve a panic that occursguido2001-12-051-0/+1
| | | | | | | | when reloading a nat table after reboot Submitted by: Arjan de Vet <devet@devet.org> Reviewed by: IP Filter mailing list MFC after: 3 days
* Fix resume for HP Omnibook 500's.guido2001-12-051-0/+7
| | | | MFC after: 1 week
* Add suspend/resume hooks to this driver; necessary to overcomeguido2001-12-051-0/+38
| | | | | | problems on HP Omnibook 500. MFC after: 1 week
* Add VLAN support.jhay2001-12-051-0/+11
| | | | MFC after: 7 days
* Moved to dev/joyimp2001-12-051-275/+0
|
* Move joy from isa to dev/joy.imp2001-12-051-1/+1
|
* Use new location for joy, plus list its new bus front ends.imp2001-12-051-2/+2
|
* Split joystick driver into ISA and PC Card front ends.imp2001-12-054-148/+322
| | | | | | | | | Similar code was submitted in PR 5559 by Takeshi OHASHI-san, but the PC Card system has changed much since then, so this is a fresh implementation. PR: i386/5559 Submitted by: Takeshi OHASHI
* Implement prism2 detection from NetBSD. This mostly obsoletes theimp2001-12-052-27/+107
| | | | | | | | | prism2 flag in pccard.conf, but I'm leaving it place for the moment in case the small sample of PrismII cards that I've tried is not representative. MFC After: 30 days Obtained from: NetBSD
* Newer SA is prefered for a out-bound packet than old oneume2001-12-052-7/+89
| | | | | | | when net.key.prefered_oldsa is set to zero. Obtained from: KAME MFC after: 1 week
* Update pathnames for creation of tags file.mckusick2001-12-053-5/+3
|
* Add entries to allow setting the CD type on cue sheetssos2001-12-041-0/+11
|
* Allow setting the CD type on cue sheetssos2001-12-041-2/+4
|
* When VOP_SYMLINK fails, the value of *vpp is junk, so we must NULLiedowse2001-12-041-3/+2
| | | | | | | | | | | out nd.ni_vp to prevent the resource cleanup code at the end of nfsrv_symlink from trying to vrele it. This fixes a "vrele: negative ref cnt" panic that can occur when a symlink is attempted on an NFS filesystem with no free space. Found locally, but the symptoms correspond to those in the PR referenced below. PR: kern/26878 MFC after: 3 days
* implement MFC links properly (and I think long links too). This makeimp2001-12-041-42/+7
| | | | | | | the sprint wireless card try to attach. Sadly, the pci code at the bridge keeps this from happening. Bug w/o PR: jhb :-)
* The entry for the 'set' command no longer has a list of variables.des2001-12-041-2/+0
| | | | | | PR: 32454 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* PROCFS requires PSEUDOFS.des2001-12-041-1/+2
|
* s/^options\t\t/options \t/des2001-12-041-15/+15
|
* PROCFS requires PSEUDOFS.des2001-12-045-5/+10
|
* PROCFS requires PSEUDOFS. I forgot that GENERIC didn't have PSEUDOFS yet.des2001-12-042-2/+4
|
* When translating the interface name when "eth?" is given, do notmarcel2001-12-041-3/+9
| | | | | | | | | | | | | | use the internal index number as the unit number to compare with. The first ethernet interface in Linux is called "eth0", whereas our internal index starts wth 1 and is not unique to ethernet interfaces (lo0 has index 1 for example). Instead, use a function- local index number that starts with 0 and is incremented only for ethernet interfaces. This way the unit number will match the n-th ethernet interface in the system, which is exactly what it means in Linux. Tested by: Glenn Johnson <gjohnson@srrc.ars.usda.gov> MFC after: 3 days
* MFS: Use correct terminology for RAID 0/1 and 0/5.scottl2001-12-041-3/+3
|
* Remove error messages on mbuf allocation failures, nowluigi2001-12-043-26/+5
| | | | | | this is done more safely in kern/subr_mbuf.c Two-days'-delay-thanks-to: @home shutting down service
* BAH! Missed another change to this file.scottl2001-12-041-0/+4
|
* Bah, I missed this file on the last commitscottl2001-12-041-2/+2
|
* PROCFS requires PSEUDOFS now.des2001-12-042-2/+2
|
* Pseudofsize procfs(5).des2001-12-0420-2044/+483
|
* Back out rev 1.48. The problem is with a bogus __attribute__ in stdio.h.obrien2001-12-041-1/+0
|
* Reduce namespace pollution by removing argument names from prototypes.des2001-12-041-18/+18
|
* Add a missing open paren to a macro that's been broken (and apparentlyjhb2001-12-042-2/+2
| | | | | | unused) since rev 1.1 so it is at least correct. Submitted by: Maxime Henrion <mux@qualys.com>
* Use d_thread_t to reduce diffs between current and stable.scottl2001-12-032-13/+17
| | | | Spell ACQUIRE correctly.
* o Update an instance of 'unprivileged_procdebug_permitted' missedrwatson2001-12-031-6/+6
| | | | | in the previous commit: the comment should also call it 'unprivileged_proc_debug'.
* Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from thebrooks2001-12-038-17/+17
| | | | | | mbuf instead. Suggested by: fenner
* o Introduce pr_mtx into struct prison, providing protection for therwatson2001-12-0310-63/+194
| | | | | | | | | | | | | | | | | | mutable contents of struct prison (hostname, securelevel, refcount, pr_linux, ...) o Generally introduce mtx_lock()/mtx_unlock() calls throughout kern/ so as to enforce these protections, in particular, in kern_mib.c protection sysctl access to the hostname and securelevel, as well as kern_prot.c access to the securelevel for access control purposes. o Rewrite linux emulator abstractions for accessing per-jail linux mib entries (osname, osrelease, osversion) so that they don't return a pointer to the text in the struct linux_prison, rather, a copy to an array passed into the calls. Likewise, update linprocfs to use these primitives. o Update in_pcb.c to always use prison_getip() rather than directly accessing struct prison. Reviewed by: jhb
OpenPOWER on IntegriCloud