summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-1829-35/+13
|
* Fix bogon introduce by last commit.sos2001-05-181-1/+1
|
* BDECFLAGS cleanupkris2001-05-187-23/+32
|
* Remove GCC-ism (-Wall).ru2001-05-181-3/+0
|
* mdoc(7) police: Fix markup and spelling.ru2001-05-181-37/+34
|
* Don't leak memory when compiling text following the `a', `c' or `i' command.ru2001-05-181-1/+1
| | | | | | | | | Testcase: echo FOO | sed "/FOO/c\\ `jot -b 'aaaa\' 500`" Submitted by: Max Khon <fjoe@newst.net>
* Run network6_pass1 if ipv6_enable is YESbrian2001-05-181-0/+15
|
* Add scrshot to the i386 specific section. If someone can test this on thenik2001-05-181-0/+1
| | | | Alpha I'd appreciate it.
* By default build make(1) as a static binary. It costs only 100k of additionalsobomax2001-05-181-0/+2
| | | | | | | disk space, buf provides measureable speed increase for make-intensive operations, such as pkg_version(1), `make world' and so on. MFC after: 1 week
* Note, previous commit wasnik2001-05-180-0/+0
| | | | Reviewed by: -arch
* New scrshot utility, using the CONS_SCRSHOT ioctl. Usage isnik2001-05-183-0/+253
| | | | | | | | scrshot /dev/ttyv0 > shot.scr See the shot2{txt,png} utilities (soon to be) in the ports collection. Reviewed by: -arch
* Add a new ioctl to syscons, CONS_SCRSHOT. Given a userland buffer, itnik2001-05-182-0/+28
| | | | | | | | | | | copies out the current contents of the video buffer for a syscons terminal, providing a snapshot of the text and attributes. Based heavily on work originally submitted by Joel Holveck <joelh@gnu.org> for 2.2.x almost 30 months ago, which I cleaned up a little, and forward ported to -current. See also the usr.bin/scrshot utility.
* Currently there is no way to tell if write operation invoked viabp2001-05-182-2/+2
| | | | | | | vn_start_write() on the given vnode will be successful. VOP_LEASE() may help to solve this problem, but its return value ignored nearly everywhere. For now just assume that the missing upper layer on write means insufficient access rights (which is correct for most cases).
* Fixed typo in the description.ru2001-05-183-6/+6
| | | | | PR: docs/27411 Submitted by: David Wimsey <dwimsey@rtci.com>
* Add mbstate_t and wint_t.obrien2001-05-181-0/+10
|
* Missed a few things.obrien2001-05-181-3/+4
|
* In a word -- style(9).obrien2001-05-181-43/+51
|
* Sort.obrien2001-05-181-23/+24
|
* Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,obrien2001-05-182-3/+12
| | | | | | which makes lgoin more like getty in its ability to be configured. Submitted by: tlambert (code only)
* 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.
OpenPOWER on IntegriCloud