summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unlock current directory when calling VFS_ROOT() because underlyingbp2000-09-131-3/+10
| | | | | | | filesystem may hold the lock. Otherwise unavoidable deadlock will occur. This shouldn't have any side effects as long as we hold vfs lock. Obtained from: NetBSD
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
* Teach sysinstall about 'aac'.msmith2000-09-133-0/+3
|
* Teach libdisk about 'aac'msmith2000-09-132-2/+4
|
* Teach MAKEDEV about 'aac'.msmith2000-09-131-4/+12
|
* Allow users to add libraries for sendmail (e.g. Cyrus SASL)gshapiro2000-09-132-2/+2
| | | | Obtained from: Sergei Vyshenski <svysh@pn.sinp.msu.ru>
* Add ID for 3C1. It is a etherlink iii in a CompactFlash form factor.imp2000-09-131-1/+4
| | | | | It doesn't seem to work, but at least is identified correctly. Minor tree housekeeping on my part.
* A new driver for PCI:SCSI RAID controllers based on the Adaptec FSAmsmith2000-09-1317-1/+4787
| | | | | design. This includes integrated Dell RAID controllers, the Dell PERC 2/QC and the HP NetRAID-4M.
* Take out some unneeded debugging code and re-enable panic()'ing if we spinjhb2000-09-131-14/+6
| | | | on a spin lock for more then 5 seconds.
* Merge changes from the i386 port to allow userret() to be called bothdfr2000-09-121-11/+37
| | | | with and without holding the Giant mutex.
* * Redo the cmpset inlines to use one less register. This incidentallydfr2000-09-121-22/+156
| | | | | | | | | | | fixes a serious problem with the previous version where an input could have been placed in the same register as an output which would stop the inline from working properly. * Redo atomic_{set,clear,add,subtract}_{32,64} as inlines since the code sequence is shorter than the call sequence to the code in atomic.s. I will remove the functions from atomic.s after a grace period to allow people to rebuild kernel modules.
* Really disable interrupts for spin mutexes instead of just pretending.dfr2000-09-122-16/+12
|
* Use size_t instead of u_int for 4th argument to copyinstr().jhb2000-09-121-1/+1
|
* Don't drop out when we've processed argc - 1 names.... argumentsbrian2000-09-121-7/+3
| | | | | | may expand to more than one user. PR: 21228
* Fix sign extension.mjacob2000-09-121-1/+1
| | | | | PR: 21232 Obtained from: Christian Weisgerber <naddy@mips.inka.de>
* New world order wrt to kernel location and name. This doesn't actuallydcs2000-09-121-2/+2
| | | | | changes anything (in theory), just better document it. I'm waiting for the final word before I tackle the man pages.
* Forgotten in last commit -markm2000-09-120-0/+0
| | | | OK'ed by: imp
* The entropy device is no longer an option in the kernel,markm2000-09-121-0/+12
| | | | | it is a (pseudo-)device. Document this for the upgrading masses.
* Clean up process accounting some more. Unfortunately, it is still notjhb2000-09-128-140/+110
| | | | | quite right on i386 as the CPU who runs statclock() doesn't have a valid clockframe to calculate statistics with.
* Quick fix for hang on booting with -d. mtx_enter() was called beforebde2000-09-123-6/+12
| | | | | | curproc was initialized. curproc == NULL was interpreted as matching the process holding Giant... Just skip mtx_enter() and mtx_exit() in trap() if (curproc == NULL && cold) (&& cold for safety).
* Fixed some serious bugs in ext2_readdir():bde2000-09-122-22/+44
| | | | | | | | | | | | | | | | | The cookie buffer was usually overrun by a large amount whenever cookies were used. Cookies are used by nfs and the Linuxulator, so this bug usually caused panics whenever an ext2fs filesystem was nfs mounted or a Linux utility that calls readdir() was run on an ext2fs filesystem. The directory buffer was sometimes overrun by a small amount. This sometimes caused panics and wrong results even for FreeBSD utilities, but it was usually harmless because FreeBSD utilities use a large enough buffer size (4K). Linux utilities usually triggered the bug since they use a too-small buffer size (512 bytes), at least with the old RedHat utilities that I tested with. PR: 19407 (this fix is incomplete or for a slightly different bug)
* Add VOP_*VOBJECT vops, because MFS requires explicit vop specification.bp2000-09-121-0/+3
| | | | Noted by: knu
* Don't panic for delivery of a multiplexed SWI. Most SWI handlersbde2000-09-122-2/+8
| | | | | | | | | | | | don't take an arg, but swi_generic() is special in order to avoid one whole conditional branch in the old SWI dispatch code. The new SWI dispatch code passed it a garbage arg. Bypass swi_generic() and call swi_dispatcher() directly, like the corresponding alpha code has always done. The panic was rare because because it only occurred if more than one of the {sio,cy,rc} drivers was configured and one was active, and the cy driver doesn't even compile.
* o What a good idea, ``-o'' should be a ``-f'' like in every otherrwatson2000-09-122-6/+6
| | | | | | | utility that is cautious but sometimes you want to be less cautious. Go figure. Submitted by: sheldonh
* Turn the /dev/random device into a (pseudo-)device, not an option.markm2000-09-128-13/+13
| | | | | (I didn't realise that it was this easy!) Submitted by: jhb
* The "struct proc" argument to read_random was ill-conceived, and amarkm2000-09-125-7/+5
| | | | | | | | hangover from previous experimentation. Remove it. This will clean up gratuitous needs for forward references and other namespace pollution. Moaned about by: bde Brought to my attention by: bp
* Clarify the handling of the securelevel.sheldonh2000-09-121-8/+13
| | | | PR: 20974
* Change from using poll(2) to kqueue/kevent when waiting for a DNSps2000-09-121-32/+30
| | | | | | | | | response to return. This will stop processes waiting on DNS requests from being woken up when a select collision occurs. This was tested on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing lists.) Reviewed by: jlemon, peter
* Move the detection of Linksys PCMCIA cards from attach to probe.ps2000-09-123-4/+7
| | | | | | This should solve the problems people were seeing with this driver. Reported by: phk & others.
* Add three new VOPs: VOP_CREATEVOBJECT, VOP_DESTROYVOBJECT and VOP_GETVOBJECT.bp2000-09-1213-166/+201
| | | | | | | They will be used by nullfs and other stacked filesystems to support full cache coherency. Reviewed in general by: mckusick, dillon
* Back out bktr_mem_load. It is not needed because I'm use MODULE_DEPENDroger2000-09-121-1/+0
| | | | | elsewhere. Reminded by: Mike Smith
* o Variety of extended attribute fixesrwatson2000-09-121-26/+39
| | | | | | | | | | | | | | | | | | | | | | | - In ufs_extattr_enable(), return EEXIST instead of EOPNOTSUPP if the caller tries to configure an attribute name that is already configured - Throughout, add IO_NODELOCKED to VOP_{READ,WRITE} calls to indicate lock status of passed vnode. Apparently not a problem, but worth fixing. - For all writes, make use of IO_SYNC consistent. Really, IO_UNIT and combining of VOP_WRITE's should happen, but I don't have that tested. At least with this, it's consistent usage. (pointed out by: bde) - In ufs_extattr_get(), fixed nested locking of backing vnode (fine due to recursive lock support, but make it more consistent with other code) - In ufs_extattr_get(), clean up return code to set uio_resid more consistently with other pieces of code (worked fine, this is just a cleanup) - Fix ufs_extattr_rm(), which was broken--effectively a nop. - Minor comment and whitespace fixes. Obtained from: TrustedBSD Project
* o Add a ``-o'' argument to initattr, which causes extattrctl to overwriterwatson2000-09-122-4/+20
| | | | | | | | | the existing attribute file rather than aborting with an error. o Useful if you want to reset the state of attributes on the system without allocating different disk blocks through deletion and recreation, for example, if you're doing benchmarks of extended attribute code. :-) Obtained from: TrustedBSD Project
* Fix 1.117 as requested by DES, but in a different way. Generallyimp2000-09-121-6/+4
| | | | | degrumpify it, and add pointer to module problem that I had hit with a stale Linux module when I upgraded to SMPNG code.
* Fix screwup in previous commit.billf2000-09-121-1/+3
|
* Fix some printf format string warnings due to sizeof(int) != sizeof(long) onjhb2000-09-112-12/+12
| | | | the alpha.
* Whoops. The AMR_QUARTZ_GOFASTER option is meant to disable, not enablemsmith2000-09-111-1/+1
| | | | this check. It looks like it doesn't work on at least the 466 controllers.
* Add tx to the list of miibus using network drivers. We already build tx inbillf2000-09-112-0/+2
| | | | /sys/modules for alpha, and it compiles on beast.
* Move tx to the list of drivers that now require miibus.billf2000-09-112-2/+2
|
* Well, this works for me and I can now boot my PC164 again.mjacob2000-09-111-34/+41
| | | | Nobody said it broke their system.
* Add the ability to define a "shutdown" and "shutdown and poweroff" keydwmalone2000-09-117-0/+47
| | | | | | | | to syscons. I have a man page to follow describing the format of the kbdmap file. PR: 19273 Reviewed by: sheldonh
* Sign tx driver as using miibus code.semenu2000-09-112-4/+4
|
* Back out previous revision now that sys/random.h is properly fixed.jhb2000-09-111-2/+0
|
* Forward declare 'struct proc'.jhb2000-09-111-0/+2
| | | | Requested by: bde
* Move the prototypes for random_set_wakeup* from yarrow.c to yarrow.h so thatjhb2000-09-114-4/+4
| | | | | | both yarrow.c and harvest.c can use them. Approved by: markm
* Don't do snd_nxt rollback optimization (rev. 1.46) for SYN packets.archie2000-09-111-3/+2
| | | | | | | | It causes a panic when/if snd_una is incremented elsewhere (this is a conservative change, because originally no rollback occurred for any packets at all). Submitted by: Vivek Sadananda Pai <vivek@imimic.com>
* Arrgh. Back out a change used during debugging and fix a typo.bmah2000-09-111-2/+2
|
* New release notes: OpenSSH->2.2.0, binutils->2.10.0, libreadline->4.1,bmah2000-09-112-0/+36
| | | | ifconfig(8) lladdr, bktr(4)->2.1.5.
* revent multiple make_dev() calls on the same dev_t and similar bogosities.phk2000-09-111-0/+16
| | | | | | A couple of new warnings may be emitted during boot if drivers DTWT. Tested by: George Cox <gjvc@gjvc.com>
* Prevent multiple make_dev() calls on the same dev_t and similar bogosities.phk2000-09-112-0/+2
| | | | | | A couple of new warnings may be emitted during boot if drivers DTWT. Tested by: George Cox <gjvc@gjvc.com>
OpenPOWER on IntegriCloud