Commit Graph

155641 Commits

Author SHA1 Message Date
elad
4f9ade2efc Add missing specificdata_key_delete() in fileassoc_deregister(). 2007-01-26 12:36:46 +00:00
mouse
fa0144b381 Add srtconfig. It builds OK, at least in my tests, so it shouldn't
break anything having it there, and it's pretty much necessary for
anyone who wants to actually use srt.
2007-01-26 07:01:03 +00:00
dyoung
832c31b2c6 Mark some shared variables as volatile. 2007-01-26 03:01:32 +00:00
dyoung
d5268f7ddd Fix grammar in comment. From Patrick Welche. 2007-01-26 02:27:29 +00:00
dyoung
6a0ae17676 Name magic numbers PCI_PMCSR_PME_EN and PCI_PMCSR. 2007-01-26 02:04:44 +00:00
dyoung
c0206e6ab8 #Define PCI_PMCSR_PME_EN. 2007-01-26 02:04:09 +00:00
cbiere
8544bfafc4 Fix for issue reported in PR lib/35401 as well as related overflow bugs. 2007-01-26 00:37:30 +00:00
cbiere
8521e1176a * Consider all negative return values as error, not just -1.
* Corrected cast because (size_t) (INT_MAX + 1) is bogus.
2007-01-26 00:27:54 +00:00
christos
b841c08d29 WARNS=4 2007-01-25 23:51:28 +00:00
christos
7bc0bdf604 - merge the update code in one function
- support wtmpx
- kill local decls of logwtmp; use util.h
2007-01-25 23:51:11 +00:00
christos
b772b1e89b sprinkle const. 2007-01-25 23:47:13 +00:00
pooka
61ffb7330d if strategy fails, set bp->b_error and B_ERROR 2007-01-25 23:43:57 +00:00
cbiere
07c9d403fe * Modified in_cksum() so it can handle unaligned data.
* Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because
   strlcpy() could potentially run out-of-bounds and doesn't zero out
   unused buffer space.
 * Replaced bcopy/bzero() with memcpy/memset().
 * Fixed potential alignment/aliasing issues in measure().
 * Replace u_short/u_long with uint16_t/uint32_t/in_addr_t where appropriate.
 * Renamed sin to addr because sin is a reserved identifier.
 * Use bindresvport() instead of looping over bind(); rresvport() returns
   a SOCK_STREAM socket not SOCK_DGRAM.
2007-01-25 23:25:20 +00:00
perry
34c4900430 Before I completely forget the issue, convert "PROG_PAX" to the
better-named "PAXCTL_FLAGS".
2007-01-25 23:04:28 +00:00
christos
06fe4f2600 - use rresvport() instead of open-coding it.
- use warn/err.
2007-01-25 22:28:03 +00:00
njoly
a293da9ab4 Fix compilation on platforms where sizeof int/size_t differs.
Successfully tested on amd64.

ok by tron@
2007-01-25 21:17:38 +00:00
plunky
4c6d0d2a6f use "%m" instead of "%s", strerror(errno) for syslog(3) 2007-01-25 20:33:41 +00:00
plunky
315d0953b6 minor adjustment to .Bl .. .El after reading mdoc(7) 2007-01-25 20:29:56 +00:00
plunky
d2ce8afd8d make it clearer that its a single-use PIN 2007-01-25 20:28:54 +00:00
pooka
2dcf5f359a don't hold spinlocks (except vnode interlock) when doing vget() 2007-01-25 17:43:56 +00:00
skrll
372930a9c7 Fix the path reference to the firmware package. 2007-01-25 16:16:38 +00:00
christos
2331183c52 PR/35479: djv AT bedford DOT net: fix byte order issue and zero the sockaddr. 2007-01-25 15:29:40 +00:00
elad
fe9f141d4d Fix tyop in comment: specifidata -> specificdata. 2007-01-25 13:58:40 +00:00
elad
73a4d95bb6 Update comment: device -> mount. No functional change. 2007-01-25 13:57:28 +00:00
jschauma
aa5548dece add UUOC 2007-01-25 05:40:26 +00:00
macallan
2b8bf5f8d1 have OF re-initialize the console before calling OF_exit() so we actually
end up in something usable
2007-01-25 02:20:23 +00:00
macallan
f2fda6052d add some flags for chipsfb 2007-01-25 00:11:58 +00:00
dogcow
81bda513ca fix radix 2007-01-24 23:54:24 +00:00
pooka
af33a7d513 include sys/mount.h 2007-01-24 22:49:21 +00:00
dsl
9ac7863b40 Check of open conditionals before we trash 'curFile' - so we can actually
report the filename of the error (without core dumping!).
Also fix tests for reporting errors to the debug_file, and don't add $PWD
to (stdin).
2007-01-24 21:43:01 +00:00
tshiozak
72fabe35a2 In acpi_restorecpu, "pushl ret_addr" was wrong.
this decrease esp unsuitably.  this may crash the kernel while leaving
acpi_md_sleep().  (rely on the code generation options passed to cc)
2007-01-24 20:32:45 +00:00
tls
698fb43463 Remove option COMPAT_386BSD_MBRPART from default kernels. NetBSD has
not used partition ID 0x165 for many, many years, and the presence of
this option in INSTALL kernels can cause overwriting of existing FreeBSD
installations when sysinst writes back the disklabel.  Those with very,
very old NetBSD installations may find that they must update their fdisk
partition tables to use partition ID 0x169 for their NetBSD partitions.

This seems like the best of a number of lousy choices for dealing with
this problem.  Sysinst should perhaps grow code that asks whether an
existing 0x165 partition should be converted.

~
2007-01-24 19:46:25 +00:00
hubertf
be5e286e64 - Don't call basename $0 at many places. Use variable $PROGNAME
- Better check when neither $ACRONYMDB is define nor files in
   /usr/share/misc/ are found
 - Replace cat | fgrep to using fgrep only
 - Replace sort | uniq to using sort -u

By Slava Semushin <slava.semushin@gmail.com> in private email.
2007-01-24 13:17:42 +00:00
hubertf
142c2a33ba Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
drochner
72af1800e4 There are devices which don't report the "self powered" state correctly
in the device status word (at least Palmpilot; comments in Linux
indicate that there are more).
So don't use this information, just use the bit in the configuration
descriptor we are attempting to set. (It is of little use anyway,
perhaps the code can be simplified further.)
Thanks to Steven M. Bellovin for running some tests with a Palmpilot.
2007-01-24 12:36:56 +00:00
drochner
a2f923ec42 In detach(), check for incomplete initialisation which might happen if
attach() encounters an error.
avoids a NULL pointer dereference panic reported by Steven M. Bellovin
2007-01-24 12:26:49 +00:00
abs
06ffa3913a if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)"); 2007-01-24 10:36:33 +00:00
mrg
384736624e add a LOUD comment that this kernel does not work yet. 2007-01-24 05:53:56 +00:00
wiz
b5d2193e6a Add NetBSD-1.3.3 and FreeBSD-6.1 for hashinit(9). 2007-01-23 22:26:06 +00:00
wiz
a6b4bc9d66 Do not give Nx arguments it does not understand. 2007-01-23 22:24:30 +00:00
wiz
6aacb705f6 4 -> 4.0, since Nx does not accept all arguments without complaint. 2007-01-23 22:23:48 +00:00
wiz
15b0193490 Refer to RFC 4716 in two more places (instead of "IETF SECSH").
From jmc@openbsd.
2007-01-23 22:21:54 +00:00
hubertf
b9df58262c Allow using something else than 'cut' to test this with the CUT env variable. 2007-01-23 21:32:55 +00:00
wiz
a0ab6bc85b Bump date for previous. 2007-01-23 20:34:17 +00:00
wiz
656213bfe1 Sort SEE ALSO alphabetically. Fix Xref. 2007-01-23 20:33:38 +00:00
wiz
a297486471 Sort SEE ALSO. 2007-01-23 20:32:05 +00:00
wiz
c0ed8c1e97 Make HTML-safe. 2007-01-23 20:31:33 +00:00
wiz
0f3c9bb729 Sort ERRORS. 2007-01-23 20:31:20 +00:00
reinoud
e54557c432 Fix for atapi devices that have 32 bit databusses selected. The devices
won't error out but will return garbage data. Implemented by generalising
the odd-check for PIO selection to check for 4 byte alignment in offset and
size.

Note that this check could be relaxed by checking if the ATAPI/ide bus
width is 16 for the device but its unknown to me if that information is
available here.
2007-01-23 20:10:06 +00:00
pooka
7fa4b7d96a fix comment (no functional change) 2007-01-23 18:27:50 +00:00