Commit Graph

151438 Commits

Author SHA1 Message Date
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
elad
20ceabba1e Super-user access only matters for part of the KAUTH_SYSTEM_TIME requests,
so defer the ones we don't care about.

Thanks to Jukka Salmi for the ktrace output!
2006-09-24 12:30:32 +00:00
elad
9eeeb5537f Add /usr/include/sys/systrace.h, pointed out by xtraeme@, thanks! 2006-09-24 12:23:03 +00:00
elad
9b44f0d6f5 PR/33569: Kristaps Johnson: systrace.h is not bundled with NetBSD
distribution

In the spirit of encouraging development on NetBSD, install systrace.h
to /usr/include/sys as well.
2006-09-24 11:49:20 +00:00
elad
4ec2268a16 PR/34594: KIYOHARA Takashi: ifdefed by KTRACE or SYSTRACE in
linux32_syscall.c

Applied patch, thanks for the report!
2006-09-24 11:45:02 +00:00
elad
06a208eecf Move socket calls way up and drop root privileges sooner. 2006-09-24 11:34:35 +00:00
elad
d13f82cf17 On 2nd thought, setuid() is better here. 2006-09-24 11:17:09 +00:00
xtraeme
887cf52b75 Add a quirk table with known CPUs not matching BIOS cpuid and PST
cpuid signature.

Tested by Nino Denhe with a kernel I sent him privately.
2006-09-24 11:12:40 +00:00
wiz
5b70b0ebe3 Bump date for previous. 2006-09-24 11:09:45 +00:00
elad
545c393d67 PR/28741: Michael Santos: ping does [not] drop root privileges
Moved socket calls way up, and called seteuid(getuid()).
2006-09-24 11:05:09 +00:00