summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make _BSD_TIME_T_ (time_t) an `int' rather than `long'. This will helpobrien2001-05-183-3/+3
| | | | | | | flag errors where programmers assume time_t is a long, which it is not on 64-bit platforms. Submitted by: bde
* Style changes -- revert ordering to mostly two revs ago.obrien2001-05-185-291/+293
| | | | | | Embellish some comments, fix tab'ing. Requested by: bde
* Use the correct FreeBSD definitions for wint_t and wchar_t.obrien2001-05-182-2/+6
|
* Fix typo: The awi driver doesn't support PRISM cards, it supports thebmah2001-05-183-3/+3
| | | | | AMD79C930 and Harris (Intersil). What crack was I smoking when I wrote this?
* Condition variable waiters are queued in descending priority order, sojasone2001-05-183-27/+6
| | | | | | | | there is no need to wake all waiters to assure that the highest priority thread is run. As the semaphore code is written, there was no correctness problem, but the change improves sem_post() performance. Pointed out by: deischen
* New release notes: digi driver, FICL 2.05, xargs(1) -J, apmd(8) nowbmah2001-05-185-5/+118
| | | | | | | support battery state monitoring, ncurses 5.2-20010512. Woefully overdue release notes: ddb(4) show pcpu, telnet(1) autologin and encryption defaults and -y option.
* - Use a timeout for the tsleep in scheduler() instead of having vmmeter()jhb2001-05-182-5/+22
| | | | | | | | | | | | | | | wakeup proc0 by hand to enforce the timeout. - When swapping out a process, keep the process locked via the proc lock from the first checks up until we clear PS_INMEM and set PS_SWAPPING in swapout(). The swapout() function now must be called with the proc lock held and releases it before returning. - Comment out the code to attempt to lock a process' VM structures before swapping out. It is broken in that it releases the lock after obtaining it. If it does grab the lock, it needs to hand it off to swapout() instead of releasing it. This can be revisisted when the VM is locked as this is a valid test to perform. It also causes a lock order reversal for the time being, which is the immediate cause for temporarily disabling it.
* Add workaround for embedded NICs, in particular, the 815E boards.jlemon2001-05-172-17/+44
| | | | | There appears to be a bug where the chip will lock up when running in 10Mb/s mode.
* Replace references to the KERNEL variable with KERNCONF.jhb2001-05-171-4/+4
|
* During the code to pick a process to kill when memory is exhausted, keepjhb2001-05-171-3/+18
| | | | | | | the process in question locked as soon as we find it and determine it to be eligible until we actually kill it. To avoid deadlock, we don't block on the process lock but skip any process that is already locked during our search.
* - Don't panic on a try lock operation for a sleep lock if we hold a spinjhb2001-05-171-2/+6
| | | | | | | lock. Since we won't actually block on a try lock operation, it's not a problem. Add a comment explaining why it is safe to skip lock order checking with try locks. - Remove the ithread list lock spin lock from the order list.
* - Remove the global ithread_list_lock spin lock in favor of per-ithreadjhb2001-05-172-37/+34
| | | | | | | | | | | | sleep locks. - Delay returning from ithread_remove_handler() until we are certain that the interrupt handler being removed has in fact been removed from the ithread. - XXX: There is still a problem in that nothing protects the kernel from adding a new handler while the ithread is running, though with our current architectures this is not a problem. Requested by: gibbs (2)
* - Move the setting of bootverbose to a MI SI_SUB_TUNABLES SYSINIT.jhb2001-05-175-19/+15
| | | | | | | | - Attach a writable sysctl to bootverbose (debug.bootverbose) so it can be toggled after boot. - Move the printf of the version string to a SI_SUB_COPYRIGHT SYSINIT just afer the display of the copyright message instead of doing it by hand in three MD places.
* Use NHWI instead of APIC_IMEN_BITS.jhb2001-05-171-1/+1
|
* - Axe the IMEN_BITS and APIC_IMEN_BITS constants.jhb2001-05-172-8/+6
| | | | | | - Add back in a definition of NHWI which is preferred over ICU_LEN. Submitted by: bde
* Primary purpose of this commit is to enable support for the Aviatordmlb2001-05-174-300/+715
| | | | | | | | | | | | | | | | | | | | | | Pro and Raylink cards with version 5 firmware. Only infra-structure mode has been tested. Specific changes for this feature are: o Add RFC1042 encapsulation of IP datagrams o Add authentication and association o Decode of the beacon (although not used) Other changes have been made: o Pass command completion status to *_done (in place for adding proper error recovery) o Move a couple of state variables into the current network parameters structure. This is in prep. for dealing with roaming. MFC after: 1 week
* Disable the wi driver locking for now. The driver tries to tsleep with thejhb2001-05-171-2/+2
| | | | driver lock held on detach which can lead to annoying and useless panics.
* o Modify access control checks in p_candebug() such that the policy is asrwatson2001-05-171-3/+3
| | | | | | | | | | | | follows: the effective uid of p1 (subject) must equal the real, saved, and effective uids of p2 (object), p2 must not have undergone a credential downgrade. A subject with appropriate privilege may override these protections. In the future, we will extend these checks to require that p1 effective group membership must be a superset of p2 effective group membership. Obtained from: TrustedBSD Project
* Add a couple more codes for upcoming raylink driver additions.dmlb2001-05-171-9/+70
| | | | MFC after: 3 days
* Add an entry for RAYLINK pccard using the ray driver.dmlb2001-05-171-0/+6
| | | | MFC after: 3 days
* Cleanupalfred2001-05-171-54/+50
| | | | | | | | | | | | | | | | | | | | | Remove comment about setting error for reads on EOF, read returns 0 on EOF so the code should be ok. Remove non-effective priority boost, PRIO+1 doesn't do anything (according to McKusick), if a real priority boost is needed it should have been +4. Style fixes: .) return foo -> return (foo) .) FLAG1|FlAG2 -> FLAG1 | FlAG2 .) wrap long lines .) unwrap short lines .) for(i=0;i=foo;i++) -> for (i = 0; i=foo; i++) .) remove braces for some conditionals with a single statement .) fix continuation lines. md5 couldn't verify the binary because some code had to be shuffled around to address the style issues.
* Fix typo: s/maestro3_load/snd_maestro3_load/ (pointed out bybmah2001-05-178-5/+29
| | | | | | | | Tadayuki OKADA <tadayuki@mediaone.net>. New release notes: USER_LDT on by default (this entry is way overdue). Add Abocom URE 450 to supported USB Ethernet devices.
* initialize pipe pointersalfred2001-05-171-0/+1
|
* pipe_create has to zero out the select record earlier to avoidalfred2001-05-171-1/+1
| | | | | | | returning a half-initialized pipe and causing pipeclose() to follow a junk pointer. Discovered by: "Nick S" <snicko@noid.org>
* Cosmetics to rev.1.89: removed argument names in a function prototype.ru2001-05-171-1/+1
|
* Describe all current net.inet.tcp MIB variables.ru2001-05-171-3/+61
| | | | | Submitted by: jlemon MFC after: 1 week
* Make the PAM user-override actually override the correect thing.nsayer2001-05-172-6/+6
|
* Allow ``ip4'' as an ``upperspec'' value, and update the manbrian2001-05-174-0/+8
| | | | | | | | | | | | | | | | | | page with *all* the permissible values. This should really be spelt ipencap (as /etc/protocols does), but a precedent has already been set by the ipproto array in setkey.c. It would be nice if /etc/protocols was parsed for the upperspec field, but I don't do yacc/lex... This change allows policies that only encrypt the encapsulated packets passing between the endpoints of a gif tunnel. Setting such a policy means that you can still talk directly (and unencrypted) between the public IP numbers with (say) ssh. MFC after: 1 week
* Fix an off-by-hour bug when crossing Daylight Saving Time boundary.ru2001-05-171-0/+3
| | | | | | PR: bin/27399 Submitted by: "Crist J. Clark" <crist.clark@globalstar.com> MFC after: 3 days
* Suppress compiler warning by adding a type cast.ru2001-05-171-4/+2
|
* Backed out rev.1.8. Rev.1.8 was just to support a bogus unused includebde2001-05-171-2/+1
| | | | in ng_tty.c.
* mdoc(7) police: update document date.ru2001-05-171-1/+1
|
* Update to use the new ioctl interface.sos2001-05-172-73/+71
| | | | Add the list command.
* Update to use the changed ioctl interface.sos2001-05-171-45/+42
|
* Change the ioctl interface to prepare for new functionality.sos2001-05-171-45/+50
|
* Style policy: reformat multiline comments to conform to style(9).sobomax2001-05-1710-46/+83
|
* Fix the rcsid's.obrien2001-05-1784-84/+168
|
* Argh. Fix a long-standing man page filter botch. See terminfo(5) forpeter2001-05-172-2/+2
| | | | the effect.
* This commit was generated by cvs2svn to compensate for changes in r76732,peter2001-05-179-7562/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Update for ncurses 5.2-20010512 importpeter2001-05-176-64/+70
|
* Merge changes from vendor branch to mainline.peter2001-05-173-121/+151
|
* ... but we do provide .St -isoC-99, and it is not required to have theru2001-05-171-5/+1
| | | | | | | | | | | history info as: : .Sh STANDARDS If the command, library function or file adheres to a : specific implementation such as IEEE Std 1003.2 : (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this : should be noted here. If the command does not adhere : to any standard, its history should be noted in the : HISTORY section.
* This commit was generated by cvs2svn to compensate for changes in r76726,peter2001-05-17332-7861/+13642
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import ncurses-5.2-20010512 onto the vendor branchpeter2001-05-17335-7982/+13793
| | | | | | | | Obtained from: ftp://dickey.his.com/ncurses/
* | When a new block is allocated to a directory, an fsync of a filemckusick2001-05-174-39/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | whose name is within that block must ensure not only that the block containing the file name has been written, but also that the on-disk directory inode references that block. When a new directory block is created, we allocate a newdirblk structure which is linked to the associated allocdirect (on its ad_newdirblk list). When the allocdirect has been satisfied, the newdirblk structure is moved to the inodedep id_bufwait list of its directory to await the inode being written. When the inode is written, the directory entries are fully committed and can be deleted from their pagedep->id_pendinghd and inodedep->id_pendinghd lists.
* | Removed reference to non-existing make(7).ru2001-05-171-1/+0
| | | | | | | | | | PR: docs/27392 Submitted by: Hendrik Scholz <hendrik@scholz.net>
* | VOP getwritemount() can be invoked on vnodes with VFREE flag set (used inbp2001-05-172-8/+24
| | | | | | | | snapshots code). At this point upper vp may not exist.
* | Use vop_*vobject() VOPs to get reference to VM object from upper or lower fs.bp2001-05-176-120/+120
| |
* | Do not leave an extra reference on vnode.bp2001-05-172-12/+4
| | | | | | | | | | | | PR: kern/27250 Submitted by: "Vladimir B. Grebenschikov" <vova@express.ru> MFC after: 2 weeks
* | Allocate more memory if necessary.dcs2001-05-171-0/+3
| |
OpenPOWER on IntegriCloud