151447 Commits

Author SHA1 Message Date
pavel
3cdb79bdae Replace homegrown tests for FIFO (... & S_IFIFO) by S_ISFIFO. The old code
was "correct" by luck - we don't have any other file type whose S_IF* bits
in sys/stat.h overlap with S_IFIFO.

Originally discovered by Paul Stoeber in OpenBSD.
2006-09-25 16:16:18 +00:00
daniel
c43e654c14 PR/30698: install(1) stripping flags in METALOG [patch] (Jukka Salmi)
Apply patch, thanks!
2006-09-25 16:05:44 +00:00
cube
f6eef99476 Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
2006-09-25 13:47:26 +00:00
rpaulo
8917262dee Remove line that shouldn't have been committed. 2006-09-25 13:21:53 +00:00
daniel
3b6bc88204 PR/32589: install -d ignores existing non-directories (joerg@netbsd.org)
Raise an error if an argument to 'install -d' exists as a non-directory,
as suggested by joerg@ (and acked by some developers on #netbsd-code).
With this change behavior is equal in this respect to FreeBSD and
DragonFly.
2006-09-25 13:21:19 +00:00
rpaulo
f3e1747995 PR/14806: NetBSD uses the wrong default TCP MSS.
No objections in tech-net.
2006-09-25 13:20:20 +00:00
sketch
a38b4ece79 typo. 2006-09-25 12:24:47 +00:00
xtraeme
94e721817e Back out linux_ptrace.c changes, looks like they were removed with
a reason in the past.
2006-09-25 10:55:54 +00:00
xtraeme
8de009a612 linux_ptrace.c is not available in all archs, only in powerpc, arm,
mips and i386... make it so.

Patch from Kurt Schreiner.
2006-09-25 10:36:23 +00:00
martin
77d6e4c5bd As suggested by Johan Veenhuizen in PR 32981, reword slightly to avoid
the impression return values would always be -1.
Approved by christos.
2006-09-25 08:55:33 +00:00
lukem
6dd25eb757 Update to 20060923 for the following changes:
20060201
debug -> ftpd_debug
xstrdup -> ftpd_strdup

20060317
* Make sure that "su" is initialized before dereferencing it.
  Fixes Coverity CID 1075.
* Set file to NULL after calling fclose().
  Fixes Coverity CID 2669.
* Remove unreachable code (res could never be NULL here).
  Fixes Coverity CID 712.

20060509
change (mostly) int to socklen_t.  GCC 4 doesn't like that int and
socklen_t are different signness.

20060923
Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
"ftpd does not update wtmpx".
2006-09-25 06:30:55 +00:00
mrg
8dd1169cb4 print the cpu number in a bunch of fault handler debug messages. 2006-09-25 05:52:34 +00:00
manu
1127a06ee3 style (mostly for testing ipsec-tools-commits@netbsd.org) 2006-09-25 05:08:52 +00:00
manu
22ddfb23b1 Fix double free, from Matthew Grooms 2006-09-25 04:49:39 +00:00
briggs
31c06a3ac5 Obvious (now that Jorge Acereda pointed it out) bug in the restoremmu
section of ENTRY(ofwr_init) (a constant offset of 4 was changed to %r4).
2006-09-25 01:45:27 +00:00
bjh21
5858e7aa70 Arrange that catching an unexpected data abort in the kernel causes a trap
into DDB where possible, even if it happens in an interrupt handler.
2006-09-24 23:38:59 +00:00
bjh21
e0884dc370 PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.
2006-09-24 23:14:58 +00:00
snj
beecc65b09 Add missing rc.d scripts (cgd, ftpd, hostapd, ifwatchd, ipfs, irdaattach,
moused, rtclocaltime, staticroute, tpctl).

From Jukka Salmi in PR misc/33626.
2006-09-24 23:10:47 +00:00
dbj
2df12fb8b5 use _KERNEL_OPT instead of _LKM to check whether to include "opt_ktrace.h" 2006-09-24 21:44:58 +00:00
dbj
f3b496ec9b implement HOST_CPPFLAGS+= -DNO_BASE64
this fixes cross compiling
2006-09-24 21:43:14 +00:00
bjh21
83d7ac871e Turn address exceptions into SIGSEGV rather than SIGBUS, since they're really
just attempts to access unmapped (and incidentally unmappable) memory,
rather than anything special.
2006-09-24 21:42:06 +00:00
bjh21
7841bf68c0 uvm_fault has been sensible about when to return ENOMEM for some time now,
so it's reasonable for us to kill processes when we get it returned,
rather than sleeping.  Do that.
2006-09-24 20:54:14 +00:00
manu
c0a3cb955a twa(4): 3ware's tw_cli management tools now works 2006-09-24 20:19:58 +00:00
manu
841197cd75 ipsec-tools CVS is now part of NetBSD. 2006-09-24 20:13:10 +00:00
briggs
65b5f899a0 Dump the pin and line information only if DEBUG is defined. 2006-09-24 19:17:56 +00:00
briggs
06b73e4c8c Match APPLE_INTREPID2_* 2006-09-24 19:17:28 +00:00
peter
223213b93f Improve some debug texts. 2006-09-24 19:07:26 +00:00
briggs
d9a3e24d2f Regen with new IDs for devices in the last-generation Apple PowerBook G4. 2006-09-24 18:36:40 +00:00
briggs
f1e45a271e Add IDs for the devices in the last-generation PowerBook G4. 2006-09-24 18:35:34 +00:00
peter
d04123ca73 Run the "power button event" hooks when the special button OFF is pressed.
Change the keycodes in the keymaps that are currently using the OFF button
to -1 so that they will still operate the same way (i.e. do nothing).

No objection on port-hpcsh & port-hpcmips.
2006-09-24 18:34:41 +00:00
peter
7644942c0e Minor KNF, replace some spaces with tabs. 2006-09-24 18:24:55 +00:00
bouyer
f99383d432 The Xen folks says everyone should use hypercall call page now, make it so.
Old hypercall call method still still available with
options XEN_NO_HYPERCALLPAGE
but this is disabled by default (xen-3.0.2-2 supports hypercall call page
just fine).
While there add a VIRT_BASE= string in __xen_guest section; from
Bastian Blank on port-xen@.
2006-09-24 18:14:44 +00:00
christos
8b0b9e2db5 Regen 2006-09-24 17:18:49 +00:00
christos
385afe8d48 Fix whitespace inconsistencies; no functional change 2006-09-24 17:18:02 +00:00
christos
da685f2130 From Claus Andersen:
- change uftdi driver to use usb_lookup
- are more devices (from FreeBSD/OpenBSD)
2006-09-24 17:17:17 +00:00
wiz
f98885cd92 Add -m to SYNOPSIS. 2006-09-24 15:56:42 +00:00
wiz
da100ff1d9 Use more macros. New sentence, new line. 2006-09-24 15:52:12 +00:00
peter
bf8bba312d Various cleanup & KNF. 2006-09-24 15:40:14 +00:00
peter
d466201fb2 Add support for timecounter and generic todr.
#ifdef'ed for now until all consumers are using it.
2006-09-24 15:36:34 +00:00
elad
3b4778f8b2 PR/33319: Seebs: base64 is annoying
Thanks to Matt Fleming for implementing a -m switch (base64 mode) for
both uuencode(1) and uudecode(1)! Man-pages updated as well.
2006-09-24 15:32:48 +00:00
bouyer
b6ce42d579 Factor out some hypercall code in macros, so that it's easier to change
the way hypercalls are called.
2006-09-24 15:30:14 +00:00
jmcneill
4fd9dcb2a0 PR# 28660: how to remove bootmenu text from some partition 2006-09-24 15:22:01 +00:00
xtraeme
2e6b13ae04 PR 34478: "modload compat_linux.o fail" by Takehiko NOZAKI.
Applied patch, thanks.
2006-09-24 14:35:22 +00:00
jmcneill
5396cf7fbb PR# 23620: channels are swapped 2006-09-24 14:26:50 +00:00
christos
fbdddce8c7 1) Disable completion and history when grabbing header strings (e.g.,
with '~h' in the mail editor).
2) Eliminate a core dump when hitting '^D' with a zero length line.
From our anonymous user
2006-09-24 14:01:48 +00:00
wiz
1192b414ab Mark up a path with .Pa. 2006-09-24 13:39:36 +00:00
martin
f1dbb9068a Add a note to explain 'c' (or 'd') partition usage in the common example. 2006-09-24 13:28:50 +00:00
jmcneill
e396b69764 PR# 29372: notebook with Maestro 2E sound chip panics (w/ fix) 2006-09-24 13:24:32 +00:00
hubertf
7eef11b485 Revert previous (==) - not worth the trouble. 2006-09-24 13:24:08 +00:00
jmcneill
9fa123aedb Note powerhook_establish(9) API changes. While we're here, correct spelling
in another entry (tiemcounter -> timecounter).
2006-09-24 13:16:37 +00:00