Commit Graph

154207 Commits

Author SHA1 Message Date
christos 6e70cbd24e From Anon Ymous:
Partially restore the "crt" variable: if set, the [pP]rint and [tT]ype
commands invoke the PAGER making them identical to the [pP]age and
[mM]more commands.  Its value is now ignored.  If anyone really
objects, I will do my best to restore the old behavior, but it really
doesn't fit very well into the current paging architecture.
2006-12-06 16:26:24 +00:00
tsutsui fba4e06d1b No need to include PCI header files. 2006-12-06 13:52:46 +00:00
mjf 686f9932fe PR/35194: 0 is returned from confstr(3) in two cases:
- when an error occurred and errno is set appropriately
		- when the variable is undefined.

Thanks to Guy Harris for pointing this out.
2006-12-06 12:02:02 +00:00
mjf c74271d8ea PR/35194: confstr(3) returns 0 on failure, not -1. 2006-12-06 11:05:32 +00:00
skrll ecf6232588 Some installation fixes:
- add a ses(4) major number as the MI MAKEDEV tries to create the
	  nodes. hi elad.

	- create audio devices.

	- provide mount_kernfs and a dmesg command.

	- start sysinst automagically and fix backspace key.

Mostly prompted by David H. Gutteridge on port-hp700.
2006-12-06 10:27:00 +00:00
yamt a575dafacc use KSI_INIT rather than memset. no functional changes. 2006-12-06 10:02:22 +00:00
yamt 9c62b6fe1d nfs_disconnect: 2 -> SHUT_RDWR. no functional change. 2006-12-06 09:13:46 +00:00
yamt 8836e5995d add some more tcp mowners. 2006-12-06 09:10:45 +00:00
yamt f5830ee995 - make tcp_reass static.
- constify.
2006-12-06 09:08:27 +00:00
yamt 6c575a38c3 nfsrv_rcv: claim ownership of received mbufs. 2006-12-06 08:55:52 +00:00
dyoung 0a817c6193 Bump date for previous. 2006-12-06 05:32:18 +00:00
dyoung 2f22b3e668 Add rudimentary documentation for IPSec socket options. Maybe
somebody who groks IPSec will help me out here.
2006-12-06 05:27:32 +00:00
dyoung 2bbeb90e43 Remove stray curly brace. Thanks, yamt! 2006-12-06 04:29:09 +00:00
dyoung 857f0ccbed KNF. 2006-12-06 00:50:34 +00:00
dyoung d7a8741d84 KNF. 2006-12-06 00:39:56 +00:00
dyoung 0394fe1e42 KNF. 2006-12-06 00:38:16 +00:00
pooka 380ec0e482 compile puffs_transport.c 2006-12-05 23:41:46 +00:00
pooka 997d4f41fa shuffle functions around a bit: move the transport (/dev/puffs) to
a different file from the messaging (request contents).  no functional
change
2006-12-05 23:41:24 +00:00
pooka 44576f90f6 fix IO_APPEND for write 2006-12-05 23:14:13 +00:00
pooka a966070d38 adjust file size in write only if file grows. but since this change is
in the "never use ubc" branch, I don't think it matters except for cosmetics.
2006-12-05 23:07:42 +00:00
pooka a0eb335104 adapt to kernel change:
Allow multiple requests to be transferred in each GET/PUTOP
2006-12-05 23:04:21 +00:00
pooka 0435bcee31 Allow multiple requests to be transferred in each GET/PUTOP. For
a single request, the performance is still the same.
2006-12-05 23:03:28 +00:00
elad 97f57b38e7 PR/35021: Brian de Alwis: root cannot get/set rlimit information of user
processes through sysctl

Fix inverted logic in boolean assignment. This is why these tests should
not be done outside the secmodel code.

Thanks for the report.
2006-12-05 21:30:50 +00:00
macallan 27138de097 move int j into #ifdef COMPAT_30 to avoid an unused variable warning when
building without COMPAT_30
2006-12-05 20:45:36 +00:00
macallan f2ee53a3d8 Enable the .note.netbsd section for macppc 2006-12-05 20:41:46 +00:00
christos 2a209e4f3a blurb about mail changes. 2006-12-05 19:01:42 +00:00
christos 682562feb0 fix compilation issues. 2006-12-05 17:35:35 +00:00
skrll 7e7373acc9 Enable the .note.netbsd section for hppa. 2006-12-05 16:58:11 +00:00
is f70b506cfb use m_adj instead of explicit pointer manipulation 2006-12-05 16:36:14 +00:00
is a1f6d5cc3f explain magic constant 2006-12-05 16:33:56 +00:00
martin fe8307c191 Enable the .note.netbsd section 2006-12-05 16:17:20 +00:00
martin 884e5dfbd6 Properly mark the .note.netbsd.ident section as ELF NOTE section.
While there, enable the mark for sparc64.
2006-12-05 16:15:53 +00:00
pooka 05b1899256 only count directories in the number of hard links to a directory 2006-12-05 14:32:03 +00:00
vanhu 3db7f7800e Check keys length regarding proposal_check level 2006-12-05 13:38:40 +00:00
kleink bd9764c5df tz{code,data}2006p out; tzdata2006p imported. 2006-12-05 11:27:31 +00:00
kleink f7c8b2f850 Merge tzdata2006p. 2006-12-05 11:26:10 +00:00
kleink 668014aba7 Import tzdata2006p. 2006-12-05 11:24:15 +00:00
lukem 287af45b8d Crank copyright.
Whitespace & linewrap consistency tweaks.
2006-12-05 10:26:28 +00:00
martin 7013a4813d If we do DHCP (so our ifconfig.* file only has a "up" line), still
write media selection information, if the user chose anything special.
Pointed out by Georg Schwarz in PR 31448.
2006-12-05 10:21:09 +00:00
lukem 24891c430b Fix method to find pf.os so it works with '-s etc.tgz'.
PR 35185 by Valeriy E. Ushakov.

Don't bother to find pf.conf first; the code was a noisy no-op.
2006-12-05 10:18:41 +00:00
pavel 60ca34bcae Add forgotten #include "opt_compat_netbsd.h" because COMPAT_30 is used.
Should fix a build problem reported by Blair Sadewitz.
2006-12-05 08:17:03 +00:00
christos 9a150e0221 revert debug flags I accidentally committed before. 2006-12-05 03:52:02 +00:00
christos 67e2fbb036 fix a core-dump and do some more error checking via asserts. From Anon Ymous 2006-12-05 03:47:41 +00:00
elad ca185532f5 sparc64: don't enable PaX MPROTECT by default for now.
sparc: add commented out 'FILEASSOC'.
2006-12-04 23:43:35 +00:00
dsl 014cba747c There really is no point calling estrdup() to get a copy of the makefile name
into every 'gnode' (aka target), instead just copy a pointer to the string
and avoid freeing the original name when we close the file.
I can't imagine any makefile set where this gives a larger footprint!
2006-12-04 21:34:47 +00:00
agc 221d869ea3 Minor cosmetic changes:
1. use EXIT_SUCCESS and EXIT_FAILURE, rather than 0 or 1, throughout
2. add some comments
3. use descriptive names for variables, so that their use is easily
gleaned.
2006-12-04 21:22:40 +00:00
jdolecek 20480d6fc5 allow compilation without SUPPORT_UTMP 2006-12-04 21:13:22 +00:00
elad edad69123e PR/25741: ITOH Yasufumi: ras(9) sequence is not protected against ptrace(2)
Okay christos@
2006-12-04 18:50:19 +00:00
christos 33b30b1ee3 From Nicolas Joly: restore previous behavior in procfs_validfile_linux, since
readdir passes a NULL lwp.
2006-12-04 18:27:52 +00:00
tsutsui 8687a698bd Add the following network devices:
- wm* at pci?
- makphy* at mii?
- rgephy* at mii?
- rlphy* at mii?
Tested with RTL8139C, RTL8169S-32, and i82544EI on EB164.
2006-12-04 17:33:41 +00:00