Commit Graph

179050 Commits

Author SHA1 Message Date
drochner c4bdad9349 fix typo in sigevent defaults 2009-03-26 16:55:37 +00:00
pooka c67ff2932c Don't abort() if the kernel complains we supplied an invalid type
for lookup, as this most likely means that the fs has some bad file
on it.  Rather, just flag an error to the user and be happy.
2009-03-26 14:03:30 +00:00
wiz 61ae4edccb New sentence, new line. 2009-03-26 09:56:17 +00:00
pooka 32852ecef0 Apply revisions 1.23 and 1.24 from FreeBSD to autocalculate the
necessary geometry when creating a file system directly to a file.

In addition, when creating, do not complain about the file not
being char special and do not try to execute device ioctl's on it.
2009-03-26 08:39:24 +00:00
pooka 02040931ba Handle eof a bit differently. E.g. ffs and msdosfs seem to have
a quite different opinion about what happens in bmap beyond EOF,
so avoid calling it.
2009-03-26 08:22:22 +00:00
uebayasi df37ad1752 Correct the order of arguments in EXAMPLE. Bump date. 2009-03-26 05:00:10 +00:00
macallan 31e90ebd10 add a few more register definitions, needed by the latest crime_drv. 2009-03-26 04:11:58 +00:00
taca ad87c6c8be Latest OpenSSH is 5.2/5.2p1. 2009-03-26 03:15:05 +00:00
mrg b73a4b4545 avoid a useless uninitialised use, picked up by gcc -O3. 2009-03-26 01:52:24 +00:00
taca 99cf38cc25 OpenSSL version 0.9.8k released. 2009-03-26 00:45:57 +00:00
dyoung 3a72540da6 This only got the definition of device_xname() by chance, so explicitly
#include <sys/device.h>.
2009-03-26 00:30:10 +00:00
dyoung b63bf39017 It is only by chance that this gets the prop_array_t definition that it
needs, so explicitly #include <prop/proplib.h>.
2009-03-25 23:35:54 +00:00
dyoung 9fd1ce14c3 It is only by accident that these get the definitions they need from
<sys/device.h>, so explicitly #include <sys/device.h>.
2009-03-25 22:56:00 +00:00
dyoung 61cf8013a0 It is only by accident that this gets the definitions it needs from
<sys/evcnt.h>, so explicitly #include <sys/evcnt.h>.
2009-03-25 22:54:56 +00:00
dyoung f81f62377d It is only by accident that these get definitions they need from
<sys/device.h>, so explicitly #include <sys/device.h>.
2009-03-25 22:53:51 +00:00
dyoung 6506e7a17d ctags(1) gets confused by 'typedef struct X { } X_t', so break 'typedef
struct pmf_private { ... } pmf_private_t' into a struct definition and a
typedef definition.
2009-03-25 21:48:36 +00:00
dyoung 5a65a2f318 DVF_ACTIVE is unconditionally set when we attach a device, so
unconditionally clear it after we give a device's deactivate() routine a
chance.
2009-03-25 21:43:42 +00:00
dyoung c42425328d When we attach a pseudo-device, set its cfdata_t's cf_fstate to
FSTATE_FOUND, as we do in config_attach_loc(), in order to avoid a
DIAGNOSTIC panic in config_detach() if we detach the device.
2009-03-25 21:28:50 +00:00
reinoud b9f5db933c Fix possible overshoot when allocating from a space bitmap when ffs(3) returns
a too big offset for the bitmap.
2009-03-25 20:04:52 +00:00
tls 3559a90485 Fix compilation error on 64-bit platforms. 2009-03-25 19:21:39 +00:00
tls a34cd18b76 Fix build problems caused by crc32 addition to libkern. Also, this makes
the i386 bootblocks about 2K smaller than they were before we monkeyed
with crc32 at all.
2009-03-25 18:41:06 +00:00
tsutsui 6c51ef2df9 Add 4.0.1 config files for reference. 2009-03-25 15:57:17 +00:00
tsutsui 90ae2f0e0c Use nbcompat lib in src/tools/compat so that this can be built
on non-NetBSD hosts.  Tested on CYGWIN_NT-5.1-1.5.25-i686.

XXX: It's enough to have generated boothfs.uue binary
XXX: (for mkisofs -boot-hfs-file option), rather than
XXX: building a tool and generating it at run time.
2009-03-25 15:36:08 +00:00
tsutsui 81d9503824 Use nbcompat lib in src/tools/compat so that this can be built
on non-NetBSD hosts.  Tested on CYGWIN_NT-5.1-1.5.25-i686.

XXX: this should be merged into src/usr.sbin/installboot.
2009-03-25 15:26:49 +00:00
pooka c2f2875913 Need to compile with -D_REENTRANT, otherwise calling putchar() can
cause libc to commit suicide (!!!).
2009-03-25 14:05:03 +00:00
tsutsui 19165a6c8e Remove an extra escape char. bash(1) complains about it. 2009-03-25 13:53:05 +00:00
tsutsui edbc5d2a81 Use ${TOOL_PAX} rather than tar(1) on the build host.
On some system tar(1) doesn't have --fast-read option.
2009-03-25 09:50:21 +00:00
agc 98864a3ee9 Note that the bwi driver also works for Dell's rebadged 1370 Mini-PCI b/g
card, also known as Broadcom 4318.
2009-03-25 07:50:05 +00:00
cegger 798c21064c regen. 2009-03-25 06:51:12 +00:00
cegger 753abffbcf add some CICADA PHYs. from FreeBSD. 2009-03-25 06:49:56 +00:00
wiz 01959862b8 Sort SEE ALSO. 2009-03-25 06:46:21 +00:00
cegger 8d8839858d catch up with i386 xen kernels:
enable cgd by default
2009-03-25 06:26:44 +00:00
dholland ecb714dc77 Update the note about sync returning before buffers are written: it is a
piece of historical behavior, not a current bug. Also, while here, add a
bit about disk write-back caches and point to dkctl/scsictl.
Bump date. (first time since 1993!)
2009-03-25 05:32:52 +00:00
mrg 1c6ecba9bc don't ignore "fsck -f" when given with "-p" on a wapbl filesystem.
ie, "fsck -fp" actually forces the check in preen mode now.
2009-03-25 03:42:41 +00:00
darran 36ea3668b9 Fixes PR kern/41069 and PR kern/41070.
Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION,  CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel.  The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.
2009-03-25 01:26:12 +00:00
agc 5e3c351cee Catch up with the changes in i386 GENERIC, and enable cgd by default
in XEN2 and XEN3 kernels.

Xen really requires cgd, and as users are likely to get a domain given
to them without the possibility of recompiling a kernel for
themselves, we need to provide this by default.

As discussed with bouyer@, and with his OK.
2009-03-24 22:42:50 +00:00
drochner a75975a121 minor fix in description of an error condition 2009-03-24 22:34:54 +00:00
haad 3914ae191c Destroy mutexes used to guard hash table during vfs_detach. Fixes LOCKDEBUG
panic when ptyfs module is unloaded.
2009-03-24 22:05:24 +00:00
martin bce5c2205a Now that we compile the Atheros HAL from source we pass all the right
flags to the compiler so it obeys the same ABI as the rest of the kernel.
Remove the hacks used to work around the abi differences (using %s7 as
curlwp) intruduced for the binary hal.
2009-03-24 21:36:46 +00:00
christos c29e9578af use kauth instead of uid != 0 2009-03-24 21:00:05 +00:00
roy 4ff22349d3 When a route is deleted or it's ifa changed and it's the connected route
for the ifa we should ensure the IFA_ROUTE flag is removed from the ifa
and if applicable, added to the new ifa.
2009-03-24 16:36:52 +00:00
perry 08429de660 remove unneeded special rule for main.o 2009-03-24 13:54:37 +00:00
perry f113e91b18 per dholland, put back MAKE_VERSION for the benefit of third party users. 2009-03-24 13:53:21 +00:00
tsutsui 8567f2b149 Put back zstty0 and zstty1 lines for onboard zs(4) serial ports
so that they are properly assinged to ttya and ttyb as pre-wscons kernels.
Ok'ed by macallan@.
2009-03-24 12:16:12 +00:00
pooka 20f51bbafd need putter too 2009-03-24 11:53:22 +00:00
pooka d2478264ae file-system PUFFS 2009-03-24 11:52:21 +00:00
joerg 614d810747 Remove physical markup. 2009-03-24 00:17:25 +00:00
joerg 833d1509e8 .sp -> .Pp 2009-03-24 00:14:01 +00:00
joerg 91a9a1c98b Remove physical markup. 2009-03-24 00:10:58 +00:00
wiz ec6a61389d Fix typo, sort SEE ALSO. 2009-03-23 22:22:40 +00:00