Commit Graph

127034 Commits

Author SHA1 Message Date
martin 00b23860a0 "bufmem" is unsigned long inside the kernel, so don't try to grovel it out
of kmem as a unsigned int.
Also avoid overrunning VCACHE_SIZE, thus scribling over unrelated memory.
Fixes PR port-sparc64/25537.
2004-05-11 21:56:20 +00:00
wiz 7117989465 Sort sections; use \*[Lt]\*[Gt] instead of <>. 2004-05-11 20:02:54 +00:00
kleink 58c660fd11 When using PATH_MAX in the example, make sure we include <limits.h>! 2004-05-11 17:39:36 +00:00
kleink 3bb0518901 Add an example code piece; suggested by Thomas Klausner. 2004-05-11 17:38:18 +00:00
thorpej 07a9ee32ba Don't need cz or cy devices in INSTALL kernel, and they put space
pressure on install media.
2004-05-11 17:36:43 +00:00
drochner f56a8e5871 make this build in the tools/compat reachover
case if HAVE_FPARSELN is not present
patch from Christian Limpach
2004-05-11 17:31:04 +00:00
christos 5820cbfaf6 Welcome to WARNS=3 2004-05-11 17:12:26 +00:00
christos 455c8493fb foliage from pack_dev change :-) 2004-05-11 17:11:03 +00:00
christos 9e68dee1a2 Constify. 2004-05-11 17:09:58 +00:00
wiz d5286aa001 End sentence with a dot. 2004-05-11 12:29:22 +00:00
yamt ca5e02a5f6 _bus_dmamap_load_mbuf: check bounce_thresh in the case when we have paddr hint. 2004-05-11 11:31:34 +00:00
drochner 644e697b54 regen 2004-05-11 10:55:29 +00:00
drochner c736283f11 FreeBSD emulation should not depend on NetBSD binary compatibility
options. Include compat_20_sys_*statfs* unconditionally.
2004-05-11 10:54:51 +00:00
yamt 9c0c68e736 use tab after #define. 2004-05-11 10:30:48 +00:00
he 20bb5ba64c Provide multiple include protection. Fixes build problem in kdump. 2004-05-11 10:13:35 +00:00
kleink 4c5383c22f Don't use tm_zone for %Z: a strictly conforming ISO C application won't
initialize it.  Addresses PR standards/21722 from Richard Earnshaw.
2004-05-11 09:32:02 +00:00
kleink ab12386beb Also set LOGNAME in the environment. 2004-05-11 08:07:37 +00:00
lukem 9b4a373ddf regen for: add Nvidia GeForce4 Ti 4200 Go AGP 8x (0x286) 2004-05-10 23:30:40 +00:00
lukem 814f993a36 add Nvidia GeForce4 Ti 4200 Go AGP 8x (0x286) 2004-05-10 23:29:40 +00:00
kleink 8df3999b0c While I'm at it: add restrict qualifiers to readlink(2). 2004-05-10 22:33:08 +00:00
kleink 90c0c343b0 Regen from syscalls.master rev. 1.142:
POSIX-2001: Change readlink(2)'s return type from int to ssize_t.
2004-05-10 22:30:41 +00:00
kleink 43b7ae77fa POSIX-2001: Change readlink(2)'s return type from int to ssize_t. 2004-05-10 22:28:23 +00:00
thorpej 1e627ed78e Make gmon / mcount work properly for threaded applications by keeping
thread-specific gmonparam structures and then merging them before dumping
the profile buffers.

Written by Nathan J. Williams, contributed by Wasabi Systems, Inc.
2004-05-10 22:16:42 +00:00
drochner 19f047f8d0 SIGTRAMP_VALID() should not pollute the user namespace 2004-05-10 21:51:49 +00:00
he d36cbeadc2 Mmeye also builds Xvfb, so make a set list to match what's built/installed. 2004-05-10 20:47:29 +00:00
jonathan d2dde9d018 Regen src/sys/compat/freebsd_sys{call.h,callargs.h,calls.c,ent.c} from
syscalls.master rev 1.45, with COMPAT_2.0 fix.
2004-05-10 20:47:14 +00:00
drochner 7723c241ec remove creation of the intermediate "sourcefile" which was for debugging 2004-05-10 20:46:44 +00:00
hannken 97b2d1519a Add "sys/dkbad.h" for DIOCSBAD from sys/dkio.h.
Use # to start comment in awk program.
2004-05-10 20:41:32 +00:00
kleink 5f593fa3da Bump to 20040510: readlink(2) buffer handling fixes. 2004-05-10 20:39:37 +00:00
dsl b31522861f Use the disk size from the device driver, not the bios when checking
whether partitions are valid.
Stops problems with broken BIOS, fixes PR bin/25491
2004-05-10 20:32:07 +00:00
christos cec7684b79 Add opt_compat_netbsd.h because we need it for COMPAT_20; pointed out
by Jonathan Stone.
2004-05-10 20:27:42 +00:00
kleink 48c51a151e Ensure readlink(2) result termination within buffer bounds. 2004-05-10 19:59:59 +00:00
kleink 25d6af944a Undo a pointless instance of readlink(2) buffer termination. 2004-05-10 19:23:48 +00:00
christos d24b172c21 avoid overflow in strcpy. 2004-05-10 19:11:31 +00:00
drochner d1a752ca4b put back the CAVEATS section
pointed out by wiz
2004-05-10 17:15:28 +00:00
jdolecek cab648feaf actually, 3ware 9000 doesn't work with the pre-9000 drivers
according to 3ware support person, so remove it from list of supported cards
2004-05-10 17:03:05 +00:00
drochner 1626697cbc remove the fgetstr manpage 2004-05-10 17:02:21 +00:00
drochner 4bf1529244 remove fgetstr() from public sight 2004-05-10 16:53:56 +00:00
drochner 64b5a4f2c6 Add FLOCKFILE() locking - should be threadsafe now.
(Didn't test the !HAVE_FPARSELN && !_REENTRANT case -- this might be
hit in tools/compat on some host platforms.)
2004-05-10 16:50:23 +00:00
drochner db594c6591 After discussion with christos, turn fgetstr() into an internal function.
Its API in inherently non-threadsafe (and it depends on certain properties
of the underlying stdio implementation), so it shouldn't be a first-class
function for general use, polluting the application namespace.
Also remove the FLOCKFILE() code from it - this is under control of the
calling function now.
(XXX I'm not sure whether the FLOCKFILE() should be kept in fgetln(),
this function cannot be used in multiple threads anyway. It doesn't
hurt much, and it might prevent corruption of internal FILE structures.)
2004-05-10 16:47:11 +00:00
christos ff5de51147 Change code to use a switch statement, and add exceptions to fix the
conflicts.

XXX: Fix the conflicts.

1. chio: change to 'x' from 'c' so that it does not conflict with cdio.
   keep the 'c' ioctls in the driver for compat.
2. ppp/slip: change SLCGUNIT to some other number and accept the old number
   in the driver.
3. ipf: [3 instances] Have darren fix them.
2004-05-10 15:25:57 +00:00
christos 1dc2a376ef make it clear that ENTRIES = ENTRYS :-) 2004-05-10 15:14:12 +00:00
wiz b0d0521b43 Do not install ppi(4) -- drochner says that there's no driver for it.
(hp300/ppi.4 is something different and has its own man page.)
2004-05-10 12:48:19 +00:00
yamt 75f99c3465 nfs_lookup: handle "." by ourselves as RFC1813 3.2 says. 2004-05-10 12:43:51 +00:00
christos 540c75a594 PR/25103: Martin Husemann: IP Filter 4.4.1 breaks some connections when NATing
patch from Darren applied.
2004-05-10 12:10:31 +00:00
yamt 2dd754b680 don't do kludge for a reply to a retransmitted request
unless we actually retransmitted the request.
2004-05-10 10:40:42 +00:00
yamt c9290b239d key_sp_unlink: decrement refcnt of the policy only if it was chained.
otherwise SADB_X_SPDDELETE2 and SADB_X_SPDFLUSH can free per-pcb policies
erroneously.  it's the identical with what kame repository has.

ok'ed by itojun@
2004-05-10 09:30:23 +00:00
gendalia 4ff7407fae Add support for Adaptec AAR 2810SA raid controller. 2004-05-10 06:21:09 +00:00
gendalia 2f085ffee7 regen (Add support for Adaptec AAR 2810SA raid controller.) 2004-05-10 06:20:39 +00:00
gendalia f0491fe6e7 Add support for Adaptec AAR 2810SA raid controller. 2004-05-10 06:18:53 +00:00