Commit Graph

187307 Commits

Author SHA1 Message Date
tnozaki
1166d8dc53 PR/42630 asin(2.0) and acos(2.0) doesn't return NaN.
reported by NARUSE, Yui -san, Thanks!
2010-01-20 16:31:35 +00:00
martin
ed8549d046 Add the mac address as device property "mac-address" to all devices that
look like a network interface.
Also add a boolean "without-seeprom" to all apparently on-board network
interface (which usually have no eeprom of their own on Suns), this
latter can be used to enable driver hacks.
2010-01-20 15:45:52 +00:00
tsutsui
64cc3f120f Backout previous which breaks build on NetBSD. Pointed out by wiz@.
Probably we have to add a check for HAVE_STRUCT_WINSIZE
in src/tools/configure as src/crypto/dist/heimdal/configure does.
2010-01-20 15:03:50 +00:00
wiz
0e068e9935 Fix date. 2010-01-20 14:00:48 +00:00
uebayasi
b833b11a50 Document -t (modify mtime). Bump date. 2010-01-20 13:50:27 +00:00
tsutsui
ad30688c11 Don't include src/include heimdal/roken.h on tools build because
it's "an OS dependent, generated file" configured for the target NetBSD
as noted in itself.  Instead, include <roken-common.h>
(which is included from generated <roken.h> and required
for TRUE and fALSE definitions) and "nbtool_config.h" on tools build.

Fixes PR toolchain/41435 and makes cross build on Cygwin-1.7 work.
No particular comments in the PR.
2010-01-20 12:54:17 +00:00
pooka
01080eaeac add bpf.9 manpage 2010-01-20 12:14:00 +00:00
pooka
b2f1bec003 bpf.4 did not change. point entry to the newly-born bpf.9 2010-01-20 12:12:09 +00:00
pooka
1ca57fc3a6 add short description for bpf.9 2010-01-20 12:09:39 +00:00
yamt
44972f323c - remove unnecessary and confusing initialization of sess->d.
- add an assertion.
2010-01-20 11:50:28 +00:00
plunky
7d4f77f20f Clean up the build framework for pcc
- use <bsd.init.mk> to include <../Makefile.inc> files
  - add Makefile.inc files that pull in appropriate build settings
  - fix the LIBEXECDIR definition (should have trailing /)
  - make cc.1 install as pcc.1 to match the binary
  - use YHEADER= to build the yacc headers
  - general consistency tidy up
2010-01-20 11:45:54 +00:00
yamt
6b4ef1c2b1 implement REPORT LUNS for non-zero LUNs correctly. 2010-01-20 10:33:08 +00:00
tonnerre
9956b4e182 Signedness bug/crash in azalia and hdaudio. Fixes PR 42604.
By Pierre Pronchery.
2010-01-20 09:05:12 +00:00
wiz
57fc1b40ea Remove trailing whitespace. 2010-01-20 07:33:25 +00:00
wiz
f75feb6eff bpf -> bpf(4) 2010-01-20 07:31:59 +00:00
wiz
341409ee85 Bump date for previous. 2010-01-20 07:27:21 +00:00
wiz
af38b12d6c Like the comment at the top says: don't remove entries here, mark them
obsolete.

Do so for pmf_device_resume_subtree.9.
2010-01-20 07:27:09 +00:00
pooka
793cda8e13 __assert.c -> kern_assert.c
(I don't fully understand why __assert.c is needed here.  maybe it
can be removed, but I don't have time to do a full set of mips builds
tonight)
2010-01-20 03:36:26 +00:00
christos
6fbbcd94ce PR/42646: Joachim Kuebart: Shell crashes in libedit when window size changes
(SIGWINCH). Return NULL if el_gets() gets interrupted.
2010-01-20 01:15:52 +00:00
yamt
fdeb814270 add missing trailing newline chars to some of iscsi_err messages. 2010-01-20 00:58:49 +00:00
yamt
a33cb43688 target_transfer_data: fix an incorrect flattening of RETURN_NOT_EQUAL
in rev.1.2.
2010-01-20 00:51:51 +00:00
yamt
ddd2fd462c disk_write: report an error from target_transfer_data instead of
silently write garbage to the storage.
2010-01-20 00:50:09 +00:00
dyoung
b042b809d6 Update PMF documentation: rename pmf_device_resume_subtree to
pmf_device_subtree_resume.  Briefly describe pmf_qual_t and add it to
the PMF function signatures.

There's still a lot left to document.
2010-01-20 00:39:30 +00:00
pooka
f7353c3dbb Remove MKLINKS for VATTR_NULL, so that the obsolete lists don't
have to do the work every build.
2010-01-20 00:35:05 +00:00
pooka
b25b016609 A few more instances of __sigtimedwait1 -> sigtimedwait1 2010-01-19 23:15:50 +00:00
pooka
64cb662564 fix pasto in previous 2010-01-19 23:11:10 +00:00
pooka
50dde0d30a note modularity change to kernel bpf 2010-01-19 22:58:44 +00:00
pooka
89a3fc440c Add components necessary for bpf support (commented out just for
the sheer heck of it).
2010-01-19 22:47:46 +00:00
pooka
93750266f6 add rumpdev_bpf to setlists 2010-01-19 22:46:33 +00:00
pooka
fcad67762f Add bpf rump component (and put in some wscons stuff i forgot to earlier). 2010-01-19 22:38:21 +00:00
christos
654f9c04e7 Fix wrapper for EL_EDITOR, from Michael L. Hitch 2010-01-19 22:38:08 +00:00
pooka
21958f98cc slap dis wit summah dat RCSId 2010-01-19 22:33:35 +00:00
pooka
654415b2b7 Get rid of last "easy" kernel symbols starting with __:
__assert -> kern_assert
__sigtimedwait1 -> sigtimedwait1
__wdstart -> wdstart1

The rest are MD and/or shared with userspace, so they will require
a little more involvement than what is available for this quick
"ride the 5.99.24 bump" action.
2010-01-19 22:28:30 +00:00
pooka
f32c83c1bd Rename a few routines from _file() to _vfs() for consistency.
Ride 5.99.24 bump.
2010-01-19 22:17:44 +00:00
pooka
4b28eb9460 5.99.24: bpf_foo => bpf_ops->bpf_foo
(better bump than bummer)
2010-01-19 22:12:00 +00:00
jmmv
ec8c671751 Note the addition of new security checks to daily.conf and security.conf
for packages.
2010-01-19 22:11:57 +00:00
jmmv
1797e17014 Document the new package-related maintenance options and security checks
in daily.conf and security.conf.
2010-01-19 22:08:52 +00:00
pooka
b014350f7f Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-19 22:08:16 +00:00
jmmv
497b5f8044 Add the fetch_pkg_vulnerabilities option to the daily script to keep the
packages vulnerability database up to date.  This will only fetch the
file from the server if it has changed since the last run.

Add the check_pkg_vulnerabilities and check_pkg_signatures options to the
security script to check that the installed packages are sane.

All of these options are enabled by default but they will only run if
there is, at least, one installed package.
2010-01-19 22:08:11 +00:00
pooka
10fe49d72c Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-19 22:06:18 +00:00
dyoung
71080992ef A new survey of the code indicates that the very highest interrupt
priority level where the kernel accesses alldevs is IPL_VM, where
some hardware interrupt handlers call config_deactivate(9).  Lower
the IPL of alldevs_mtx from IPL_HIGH to IPL_VM, accordingly.
2010-01-19 21:54:53 +00:00
dyoung
2905b5fc8d Refactor: as suggested by rmind@, extract duplicate code into
subroutines config_alldevs_enter() and config_alldevs_exit().  This
change amounts to textual substitution.  No functional change intended.

We do not collect garbage in device_lookup(), so there is no use dumping
it: get rid of the garbage list.  Do not call config_dump_garbage().

In device_lookup_private(), call device_lookup() instead of duplicating
the code from device_lookup().
2010-01-19 21:24:36 +00:00
bouyer
3ccd2d9884 bio(4) is MP-safe but mfi(4) is not. So get the kernel_lock at
mfi_ioctl() entry and release it on exit.
2010-01-19 20:54:32 +00:00
pooka
23a987d2a2 Make build with PF_INET-is-the-"NIC" support again. 2010-01-19 17:51:03 +00:00
pooka
9c403c2e0c Specify bpf_filter attribute only when the device uses the filter engine. 2010-01-19 16:24:44 +00:00
tsutsui
e8b9338c3b Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
in debug printf()s.
2010-01-19 15:28:51 +00:00
tsutsui
1aa1df4953 Add long long (%lld etc.) support and width (%02x etc.) support
in libsa printf(3).  Disabled by default but enabled by
-DLIBSA_PRINTF_LONGLONG_SUPPORT and -DLIBSA_PRINTF_WIDTH_SUPPORT.
Provided by tnozaki@ for my libsa debugging. Thanks!
2010-01-19 15:26:45 +00:00
pooka
27d8901688 Update comment: unloaded modules which were pumped up by the
bootloader are not freed at the end of bootstrap (there should be
none, although this is not asserted.  maybe it should be?).
2010-01-19 15:23:14 +00:00
yamt
5a779e86cd nfs_request: fix races which break congestion window and make nfs client stuck. 2010-01-19 13:39:04 +00:00
yamt
b92b080272 remove unused r_timer member. 2010-01-19 13:29:40 +00:00