summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Back out patch for cond_timedwait() bug from -current, since other changesjasone1999-05-083-30/+3
| | | | | | | have made the patch obsolete, as pointed out by Daniel Eischen <eischen@vigrid.com>. PR: bin/8872
* Fix some of the places where too much inside knowledge about major/minorphk1999-05-0818-104/+142
| | | | layout and dev_t structure is being (ab)used.
* Fix some disordering I introduced with the jail code.phk1999-05-081-2/+3
|
* I got tired of seeing all the cdevsw[major(foo)] all over the place.phk1999-05-0840-188/+214
| | | | | | | | Made a new (inline) function devsw(dev_t dev) and substituted it. Changed to the BDEV variant to this format as well: bdevsw(dev_t dev) DEVFS will eventually benefit from this change too.
* Protect declarations for C++ users.jkh1999-05-081-1/+3
| | | | Submitted by: Richard Wiwatowski <rjwiwat@ozemail.com.au>
* we don't have <sys/disk.h> anymore.phk1999-05-081-1/+0
|
* The lowercasing of Joliet filenames was not a feature.dcs1999-05-082-4/+4
|
* Make Vinum compile correctly without VINUMDEBUGgrog1999-05-082-1/+2
| | | | Tripped-over-by: Thomas Stromberg <tstromberg@rtci.com>
* Use /usr/bin/finger rather than `safe_finger'.obrien1999-05-081-2/+2
|
* Revive the pam_deny and pam_permit modules from Linux-PAM. They arejdp1999-05-0812-2/+613
| | | | | | | | | | simple enough to be trusted. Add account management functionality to the pam_unix module. These changes should make it possible to use PAM in some ports. Submitted by: Max Khon <fjoe@iclub.nsu.ru>
* Remove one tab from us.iso.kbd so that it now has no tabs in it. Thisimp1999-05-082-12/+13
| | | | | | | | | is likely the intent of the original author since no other places use tabs. Sync us.unix.kdb to us.iso.kbd. It should now only swap ESC and `~, bs and delete, control and caps lock and make no other changes from us.iso.kdb.
* 16 characters for the device name in /etc/dumpdates is not longnectar1999-05-081-2/+2
| | | | | | | enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433
* Impliment elements of TCP Wrappers's `safe_finger'.obrien1999-05-083-2/+46
| | | | | | | * if run by root (or root process) drop privs * ensure output size is not infinate (net finger only) * ensure output lines are not infinate in length (net finger only) * do not allow finger client to run longer than 3 minutes (net finger only)
* Fix a couple of small buglets.wpaul1999-05-071-2/+2
|
* Get rid of extern declarations on gdb stuff so systems compiled withoutmckusick1999-05-073-13/+27
| | | | | DDB will compile. Warn users that try to use GDB without specifying a GDB port in their configuration file.
* The structure Elf_Note does not have 32 and 64 bit variants but alwaysdfr1999-05-074-35/+19
| | | | | | | has 32bit fields. This change allows FreeBSD/alpha to generate well-formed ELF corefiles. Reviewed by: John Polstra <jdp@polstra.com>
* Implement corefiles for FreeBSD/alpha. This requires a separate change todfr1999-05-071-81/+23
| | | | the kernel which is awaiting review.
* Don't install compat22 by default.jkh1999-05-074-8/+18
| | | | Add some more safety belts to package foo.
* Add core-regset.c to the Makefile to allow debugging elf corefiles.dfr1999-05-071-2/+2
|
* Update intpm driver.peter1999-05-072-132/+109
| | | | | PR: 11531 Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
* fix it so it compiles on alpha againmjacob1999-05-072-2/+10
|
* Propagate i386 change to alpha (bdevsw[] -> bdevsw()).mjacob1999-05-071-4/+4
|
* Nit fix.des1999-05-071-2/+2
|
* Yet another kludge to maintain the isa_device illusion, this time mallocpeter1999-05-071-2/+34
| | | | an isa_driver and name pointer so the uc_devlist sysctl can get to it.
* GC stray static prototypes for physread/physwrite which don't existpeter1999-05-071-3/+1
| | | | statically and cause compile warnings.
* Minor style nit (this minor style.9 violation caused a grep miss here)peter1999-05-071-3/+5
|
* Make flood ping flood again. It hasn't worked since 2.2.6. Make the "-l"mckay1999-05-071-4/+6
| | | | | | option work as described in the manual, not as another flood ping variant. Once discussed to death with: bde
* PR: 10918foxfair1999-05-071-2/+2
| | | | | | Submitted by: Yung-Jen Hung <winard@u3717a.dorm.ccu.edu.tw> Reviewed by: bearscorp.bbs@bbs.life.nthu.edu.tw _BIG5_sgetrune() in libc doesn't work well, this commit will fix it.
* Erm, correct mighty braino in previous "don't annoy me" change.jkh1999-05-072-14/+20
|
* Make saving kernel configuration info disable-able (may be useful in certainjkh1999-05-078-41/+63
| | | | situations).
* Continue where Julian left off in July 1998:phk1999-05-0751-342/+240
| | | | | | | | | | | | | | Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline) function. Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention to the order of the cmaj/bmaj arguments!) Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE (ditto!) (Next step will be to convert all bdev dev_t's to cdev dev_t's before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
* Fix a goof in the #ifdef DEVFS case which was found by inspection,phk1999-05-071-2/+2
| | | | | it may have made things very difficult for people if they tried to used DEVFS.
* Include opt_vinum.h to get the VINUMDEBUG definition as early asgrog1999-05-072-4/+1
| | | | | | possible. This fixed a problem building LINT. Tripped-over-by: phk
* Convert to use physread() and physwrite().grog1999-05-073-16/+3
| | | | Advertised-by: phk
* Apply patch included in bin/8872. This fixes a bug that occurs whenjasone1999-05-073-6/+33
| | | | | | | | pthread_cond_timedwait() times out. PR: bin/8872 Submitted by: Jason Evans <jasone@canonware.com> Reviewed by: David Schwartz <davids@webmaster.com>
* Arrange the "CONFIGURATION FILE" section in the order in which thegrog1999-05-071-24/+45
| | | | | | | | | | | | entries go into the config file. Clarify what names can be used for Vinum drives, and what will happen to you if you use other names. Forcibly-demonstrated-by: Thomas Stromberg <tstromberg@rtci.com> Peter K Campbell <PCampbel@vtrlmel1.telstra.com.au> George Cox <george.cox@sophos.com> many others, but those were the only three today.
* Introduce two functions: physread() and physwrite() and use these directlyphk1999-05-0738-526/+95
| | | | | | in *devsw[] rather than the 46 local copies of the same functions. (grog will do the same for vinum when he has time)
* Generalize to allow any serial port to be used as the GDB port.mckusick1999-05-074-56/+154
| | | | | | | | | Mark the GDB port in the config file with flags 0x80. Currently only the sio driver checks these flags and sets up a GDB port, but adding similar code to other serial drivers would be easy. For backward compatibility, if an sio port is marked as the console and no port is marked as the gdb port, the GDB port will be mapped to the console port. This hack should go away at some point.
* There seems to be a problem (most likely when there is no hosts.allow)markm1999-05-071-2/+2
| | | | with wrapping the internal services, so do not wrap them for now.
* Use a more correct filesystem type name if given a "UFS" mountpoint that'sjkh1999-05-072-4/+20
| | | | | | not really UFS. PR: 10711
* Null commit.jkoshy1999-05-074-4/+4
| | | | | | | > PR: bin/6399 > Submitted by: David Malone <dwmalone@maths.tcd.ie> Also reviewed by: bde
* 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'jkoshy1999-05-074-78/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | options: -o fstab brings in filesystem options specified in /etc/fstab -o current incorporates the current set of options for the file system The rightmost option wins in the case of conflicting options being specified. E.g.:- # mount -u -o current,nosuid /home will preserve the current mount options while adding the 'nosuid' flag. 2. Rewording of manual page to be hopefully clearer; small -Wall cleanups. Thanks to David Malone for his patience and willingness to work multiple patches on request. PR: bin/6399 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Whitespace cleanup.mckusick1999-05-073-6/+6
|
* Commit a more general version of the last patch; don't do any back-fillingjkh1999-05-072-36/+42
| | | | of values more than once. User might want to override them.
* Get rid of random debugging cruft; sync up with latest version.mckusick1999-05-073-114/+30
|
* 1. Silence warning.jkh1999-05-075-7/+10
| | | | 2. Deal with potential whitespace evil early (PR#7455).
* My 5520 turned out to be a 5510 in disguise.. correct the probe message.julian1999-05-071-2/+2
|
* Add support to wicontrol(8) and wi(4) for enabling and configuringwpaul1999-05-076-11/+105
| | | | | | | power management. This will only work on newer firmware revisions; older firmware will silently ignore the attempts to turn power management on. Patches supplied by: Brad Karp <karp@eecs.harvard.edu>
* Remove the last trace of disk.hgrog1999-05-071-109/+0
| | | | Put-up-to-it-by: phk
* Severe slowdowns have been reported when creating or removing manymckusick1999-05-073-324/+870
| | | | | | | | | | | | | | | | | | | | | | files at once on a filesystem running soft updates. The root of the problem is that soft updates limits the amount of memory that may be allocated to dependency structures so as to avoid hogging kernel memory. The original algorithm just waited for the disk I/O to catch up and reduce the number of dependencies. This new code takes a much more aggressive approach. Basically there are two resources that routinely hit the limit. Inode dependencies during periods with a high file creation rate and file and block removal dependencies during periods with a high file removal rate. I have attacked these problems from two fronts. When the inode dependency limits are reached, I pick a random inode dependency, UFS_UPDATE it together with all the other dirty inodes contained within its disk block and then write that disk block. This trick usually clears 5-50 inode dependencies in a single disk I/O. For block and file removal dependencies, I pick a random directory page that has at least one remove pending and VOP_FSYNC its directory. That releases all its removal dependencies to the work queue. To further hasten things along, I also immediately start the work queue process rather than waiting for its next one second scheduled run.
OpenPOWER on IntegriCloud