Commit Graph

161468 Commits

Author SHA1 Message Date
blymn
2b4f2c9caf Fix a crash caused by having a single NULL character as a string capability.
This fix is about the best we can do given the current interfaces. We
could extend the cgetcap(3) interfaces with a function that would return
a character count and handle this in libterm which would provide a more
complete fix and allow a NULL character in a string capability.
2007-08-28 12:28:18 +00:00
pooka
6ae9cab127 In quotactl, move vrele() to after the VFS call: protects the
mountpoint from being wiped under us better.

from David Holland
2007-08-28 09:28:10 +00:00
xtraeme
8972430efc - Remove reference to unexistent sysmon_power(9). (I will work on this
manpage, but no ETA yet).
- Xref envstat(8).
2007-08-28 08:36:18 +00:00
xtraeme
d4dc22f1aa The buffer returned by prop_dictionary_externalize() must be freed
by the caller, so update the example.

Also remove all refs to the envsys drivers, they all will be Xref-ed
from envstat(8) (a single source).
2007-08-28 08:22:58 +00:00
msaitoh
7c88b47eff add I82566 2007-08-28 01:11:50 +00:00
msaitoh
7e58a97ba9 regen 2007-08-28 01:11:25 +00:00
msaitoh
a27bb988f0 add Intel I82566 2007-08-28 01:11:05 +00:00
msaitoh
86b9b947e1 add ICH9
need more work?
2007-08-28 01:10:34 +00:00
msaitoh
1f24e62283 regen 2007-08-28 01:09:28 +00:00
msaitoh
2ef753ba17 add ICH9's Ethers 2007-08-28 01:09:01 +00:00
macallan
699639e68b add hardware cursor support 2007-08-28 00:21:43 +00:00
macallan
c86f607779 fix typo 2007-08-28 00:21:04 +00:00
nakayama
506b14959f Make ath(4) work again on sparc64 (and other big-endian machines). 2007-08-28 00:12:46 +00:00
pooka
396d174477 allow to set ffs options with command-line -o
XXX: can't mix puffs and ffs options in one -o foo,bar
2007-08-27 23:15:26 +00:00
hubertf
a1bb1e3040 aspell 2007-08-27 21:58:16 +00:00
dsl
c232133678 ktrace socket control structures (ie msghdr, address etc) using ktrkuser(). 2007-08-27 20:09:44 +00:00
adrianp
67b08a07ec The location of the pkg_info binary can now be specified in /etc/security.conf.
The default remains as /usr/sbin/pkg_info.  This should fix PR# 36746.
2007-08-27 19:57:02 +00:00
jdc
34bea28655 Fix resizing bug where the values of LINES and/or COLS changed while we
were resizing windows, leading to inconsistencies between the sizes of
stdscr and curscr.

Should fix the curses part of PR lib/36702.
2007-08-27 19:54:29 +00:00
dsl
b504fee486 Depracate ND_DEBUG and BIND_DEBUG in favour of RPCBIND_DEBUG.
Add commented out entries for RPCBIND_DEBUG and SVC_RUN_DEBUG in Makefile.
2007-08-27 19:53:32 +00:00
dsl
3d3a92a528 This code has been broken for ~ 20 years!
Initialise the 'fromlen' parameter for recvfrom() prior to the call, instead
of passing in a 'random' value off the stack.
This should fix the problems with ypbind on current.
I suspect the old kernel was not objecting to -ve buffer lengths.
2007-08-27 19:51:50 +00:00
macallan
28ba522d98 add lots of register definitions from the IBM561 datasheet 2007-08-27 19:46:45 +00:00
xtraeme
7479c7d76e Use rw_destroy() in the detach function. Spotted by rmind@. 2007-08-27 17:49:54 +00:00
dsl
932f8298e3 Remove 'U' (was scheduler activations) from the list of default trace points. 2007-08-27 16:35:47 +00:00
dsl
22c0ab6d47 Only ktrace the part of the buffer actually read/written. 2007-08-27 16:23:16 +00:00
xtraeme
87186fcca6 Use rwlock(9) rather than lockmgr(9). 2007-08-27 15:57:13 +00:00
matt
89310978dc Add matt-armv6 branch. 2007-08-27 15:57:00 +00:00
xtraeme
3ed930f279 Valid arguments for rw_enter() and rw_tryenter() are RW_READER/RW_WRITER
not RW_READ/RW_WRITE.

Bump date.
2007-08-27 15:43:13 +00:00
dyoung
b4ed197c2d LLADDR -> CLLADDR. 2007-08-27 14:59:11 +00:00
dyoung
d93512cce5 Remove dead code. 2007-08-27 14:57:47 +00:00
dyoung
c3db559a5f Constify: use CLLADDR() instead of LLADDR() wherever possible. 2007-08-27 14:48:54 +00:00
xtraeme
8f56f00890 Fix typo in rev 1.26: alldev -> alldevs. 2007-08-27 14:41:03 +00:00
xtraeme
c463a1309e Fix the $NetBSD$ tag in __KERNEL_RCSID(). 2007-08-27 14:39:19 +00:00
dyoung
c778648a34 Use TAILQ_FOREACH(). 2007-08-27 14:35:09 +00:00
reed
d256941473 Add author's names for two books. 2007-08-27 14:34:17 +00:00
dsl
31c3c56394 Fix inverted test in ktrpoint(), NAMI traces weren't being generated.
Also inline the 'ktrace_on' part of the test.
2007-08-27 13:33:45 +00:00
xtraeme
862b664446 Apply some KNF. 2007-08-27 12:07:39 +00:00
pavel
d4b5db05c7 Add some magic (similar to the one in rc.d/sendmail introduced with 2.0
release) to not start postfix if $postfix is not explicitely set and
another mailer is selected in /etc/mailer.conf. Also print a warning if it
happens because the mailer in rc.conf is the removed sendmail.

This prevents starting two MTAs at once if one uses a custom MTA.

As proposed on tech-userlevel, approved by martin.
2007-08-27 10:59:05 +00:00
xtraeme
5d1b643f3f Attach to the ICH9 SMBus device too. 2007-08-27 09:09:22 +00:00
dyoung
b4124ae5bd Constify. 2007-08-27 07:33:17 +00:00
xtraeme
079789d3c9 Add missing __KERNEL_RCSID(). 2007-08-27 06:18:55 +00:00
xtraeme
70c59631a7 Cosmetic: "device %d-bit timer" -> "device: %d-bit timer". 2007-08-27 06:17:28 +00:00
xtraeme
31ee4220f6 Add missing __KERNEL_RCSID(). 2007-08-27 06:01:10 +00:00
dyoung
64bfe92e2b Cosmetic: 0 -> NULL. Remove unnecessary cast. 2007-08-27 05:39:44 +00:00
macallan
639b5a68a6 let userland mmap() the GLint framebuffer and make it visible when switching
to WSDISPLAYIO_MODE_MAPPED - so X with wsfb can run in 24bit colour
2007-08-27 02:03:15 +00:00
macallan
6a9b8ff83c add type for Fujitsu AG-10e 2007-08-27 02:01:23 +00:00
dyoung
7caec74f02 Reorganize and extract arplookup1() for code-sharing. Share
null_sdl.  Introduce arp_setgate() for initializing a link-layer
nexthop, and use it to fulfill RTM_SETGATE requests.
2007-08-27 01:13:09 +00:00
dyoung
ae7a571b06 Add a new routing message type, RTM_SETGATE. We can use an
RTM_SETGATE message to ask the link layer to fill in the link-layer
nexthop before we try to detect a duplicate route in a multipath-capable
kernel.
2007-08-27 00:34:01 +00:00
uwe
77cf5cb29c Move child_return() and startlwp() to be in the same file with
cpu_lwp_fork() that is used to call them.
2007-08-27 00:22:20 +00:00
dyoung
ea3cf9a639 Let an rc variable, sysdb=YES|NO, control the building of the system
databases.  Defaults to YES.
2007-08-26 23:55:50 +00:00
pooka
59a7b3704a define FFS 2007-08-26 23:53:24 +00:00