Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:43:45 UTC Now

2011-05-19 21:11:15 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1608):
sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.49
Separate xennet(4) backend initialization code ("resume") from the part
that talks with Xenstore to query backend's information. Resuming is now
performed just after xennet(4) attachment instead of waiting for backend
to announce its features in Xenstore and change it state.
This fixes the race observed by Urban Boquist when the domU boots with
root on NFS.
FWIW, the boot code (when root is NFS-backed) can innit() the xennet(4)
interface very early: it tried to access ifnet structures that were not
yet allocated.
Will ask for a pullup. Thanks to Urban for reporting the issue and
investigate it. Confirmed fixed. No regression observed by me for
dynamic attach/detach of xvif(4) and xennet(4) interfaces.
See also http://mail-index.netbsd.org/port-xen/2011/04/18/msg006647.html

(bouyer)

2011-05-19 21:09:26 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1607):
share/i18n/csmapper/CBM/UCS%CBMINT.src: revision 1.2
share/i18n/csmapper/CBM/CBMINT%UCS.src: revision 1.2
add Yen symbol

(bouyer)

2011-05-19 21:08:46 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1606):
distrib/sets/lists/base/mi: revision 1.936
Add new files.

(bouyer)

2011-05-19 21:06:58 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1605):
share/i18n/csmapper/CBM/UCS%CBMINT.src: revision 1.1
share/i18n/esdb/CBM/esdb.alias.CBM.src: revision 1.1
share/i18n/esdb/CBM/esdb.dir.CBM.src: revision 1.1
share/i18n/esdb/CBM/CBMINT.src: revision 1.1
share/i18n/csmapper/Makefile: revision 1.14
share/i18n/csmapper/CBM/CBMINT%UCS.src: revision 1.1
share/i18n/csmapper/CBM/mapper.dir.CBM.src: revision 1.1
share/i18n/csmapper/CBM/Makefile.inc: revision 1.1
etc/mtree/NetBSD.dist.base: revision 1.87 via patch
share/i18n/esdb/Makefile: revision 1.15
share/i18n/csmapper/CBM/charset.pivot.CBM.src: revision 1.1
share/i18n/esdb/CBM/Makefile.inc: revision 1.1
Add Japan CBM character codes.

(bouyer)

2011-05-19 21:06:02 UTC MAIN commitmail json YAML

Update LLVM/clang snapshot for support of -Wa,--fatal-warnings in the
integrated assembler

(joerg)

2011-05-19 21:00:16 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1604):
sys/fs/puffs/puffs_msgif.c: revision 1.84 via patch
Apply patch from PR kern/44093 by yamt:
Interrupt server wait only on certain signals (same set at nfs -i)
instead of all signals.  According to the PR this helps with
"git clone" run on a puffs file system.

(bouyer)

2011-05-19 20:37:50 UTC MAIN commitmail json YAML

Expand tests for unaligned writes to cgd.  No more xfail.

PR kern/44515
PR kern/44965

(riastradh)

2011-05-19 20:34:13 UTC MAIN commitmail json YAML

Reject unaligned writes to cgd.

Fixes the following PRs:

PR kern/44515 (cgd dies on non-aligned writes to the raw device)
PR kern/44964 (cgd seems to panic on unaligned writes instead of giving EINVAL)

ok christos

(riastradh)

2011-05-19 19:53:03 UTC netbsd-5-1 commitmail json YAML

2011-05-19 19:52:52 UTC netbsd-5 commitmail json YAML

tickets 1560, 1579, 1591, 1592, 1602, 1603

(bouyer)

2011-05-19 19:52:44 UTC netbsd-5-0 commitmail json YAML

2011-05-19 19:51:01 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1603):
external/bsd/dhcpcd/dist/dhcp.c                        patch
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in          patch
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in            patch
external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf    patch
external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname      patch
Escape | and & characters before passing the value to the shell
Ensure we set a valid hostname, DNS domain and NIS domain.
Document the need for input validation in dhcpcd-run-hooks(8).
Fixes CVE-2011-996

(bouyer)

2011-05-19 19:50:54 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1603):
external/bsd/dhcpcd/dist/dhcp.c                        patch
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in          patch
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in            patch
external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf    patch
external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname      patch
Escape | and & characters before passing the value to the shell
Ensure we set a valid hostname, DNS domain and NIS domain.
Document the need for input validation in dhcpcd-run-hooks(8).
Fixes CVE-2011-996

(bouyer)

2011-05-19 19:46:10 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1602):
lib/libc/db/hash/hash_page.c: revision 1.24
lib/libc/db/btree/bt_open.c: revision 1.25
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]

(bouyer)

2011-05-19 19:45:54 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1602):
lib/libc/db/hash/hash_page.c: revision 1.24
lib/libc/db/btree/bt_open.c: revision 1.25
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]

(bouyer)

2011-05-19 19:45:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1602):
lib/libc/db/hash/hash_page.c: revision 1.24
lib/libc/db/btree/bt_open.c: revision 1.25
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]

(bouyer)

2011-05-19 19:42:34 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1592):
external/mit/xorg/bin/ssh-askpass/Makefile: revision 1.3
distrib/sets/lists/xbase/mi: revision 1.108
x11/bin/ssh-askpass/Makefile: revision 1.7
Build the updates ssh-askpass program and add the man page to the xbase set.

(bouyer)

2011-05-19 19:40:36 UTC netbsd-5 commitmail json YAML

xsrc/local/programs/x11-ssh-askpass/ChangeLog@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/Imakefile@1.7.14.1 / diff / nxr@1.7.14.1
xsrc/local/programs/x11-ssh-askpass/README@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/SshAskpass-1337.ad@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/SshAskpass-NeXTish.ad@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/SshAskpass-default.ad@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/SshAskpass-green.ad@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/SshAskpass-motif.ad@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/TODO@1.1.2.2 / diff / nxr@1.1.2.2
xsrc/local/programs/x11-ssh-askpass/drawing.c@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/drawing.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/dynlist.c@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/dynlist.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/resources.c@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/resources.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.c@1.2.22.1 / diff / nxr@1.2.22.1
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.man.in@1.2.2.2 / diff / nxr@1.2.2.2

Pull up following revision(s) (requested by mbalmer in ticket #1591):
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.man.in: revision 1.1
xsrc/local/programs/x11-ssh-askpass/dynlist.c: revision 1.2
xsrc/local/programs/x11-ssh-askpass/dynlist.h: revision 1.2
xsrc/local/programs/x11-ssh-askpass/Imakefile: revision 1.8
xsrc/local/programs/x11-ssh-askpass/SshAskpass-default.ad: revision 1.3
xsrc/local/programs/x11-ssh-askpass/SshAskpass-1337.ad: revision 1.3
xsrc/local/programs/x11-ssh-askpass/resources.c: revision 1.2
xsrc/local/programs/x11-ssh-askpass/SshAskpass-green.ad: revision 1.3
xsrc/local/programs/x11-ssh-askpass/resources.h: revision 1.2
xsrc/local/programs/x11-ssh-askpass/SshAskpass-NeXTish.ad: revision 1.3
xsrc/local/programs/x11-ssh-askpass/drawing.h: revision 1.2
xsrc/local/programs/x11-ssh-askpass/drawing.c: revision 1.2
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.h: revision 1.2
xsrc/local/programs/x11-ssh-askpass/ChangeLog: revision 1.2
xsrc/local/programs/x11-ssh-askpass/x11-ssh-askpass.c: revision 1.3
xsrc/local/programs/x11-ssh-askpass/TODO: revision 1.1
xsrc/local/programs/x11-ssh-askpass/README: revision 1.2
xsrc/local/programs/x11-ssh-askpass/SshAskpass-motif.ad: revision 1.3
Update ssh-askpass to version 1.2.0.  This adds, among other changes,
teh ability to display multiples lines as the message, sth openssh
assumes and a man page.

(bouyer)

2011-05-19 19:36:24 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1579):
lib/libc/locale/wcstombs.3: revision 1.13 via patch
lib/libc/locale/mbstowcs.3: revision 1.12 via patch
Crosslink wcstombs(3) and mbstowcs(3).

(bouyer)

2011-05-19 19:34:14 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #1560):
sys/sys/agpio.h: revision 1.10
sys/dev/pci/agp_via.c: revision 1.21
sys/dev/pci/agp.c: revision 1.77
add AGP v3 support to agp_generic_enable from FreeBSD

(bouyer)

2011-05-19 16:48:16 UTC MAIN commitmail json YAML

allow for multiple header files in an INCS makefile statement (as found in
libbluetooth, for example).

% pwd
/usr/src/lib/libbluetooth
% make setlist
...
[src/distrib/sets/lists/comp/mi]
./usr/include/bluetooth.h              comp-c-include
./usr/include/sdp.h            comp-c-include
./usr/share/man/cat3/bluetooth.0                comp-bluetooth-catman          .cat
...

(agc)

2011-05-19 15:18:29 UTC MAIN commitmail json YAML

Fix a tyop.
The intentions were good...

(hauke)

2011-05-19 15:07:16 UTC MAIN commitmail json YAML

Initialize psshfs root node's readdir waiters queue.

Every other node's readder waiters queue is initialized in makenode,
but the root node is created specially.

ok pooka

(riastradh)

2011-05-19 14:29:27 UTC MAIN commitmail json YAML

Add fine-grained compiler selection, including clang support.

(joerg)

2011-05-19 10:06:56 UTC MAIN commitmail json YAML

radix_tree_clear_tag:
- fix a bug which errornously clears tags on intermediate nodes.
- add comments.

(yamt)

2011-05-19 10:01:21 UTC MAIN commitmail json YAML

radixtree: assertions

(yamt)

2011-05-19 10:00:30 UTC MAIN commitmail json YAML

2011-05-19 09:58:28 UTC MAIN commitmail json YAML

2011-05-19 09:57:21 UTC MAIN commitmail json YAML

g/c unused function prototypes

(yamt)

2011-05-19 08:55:01 UTC MAIN commitmail json YAML

2011-05-19 08:22:38 UTC MAIN commitmail json YAML

2011-05-19 07:51:50 UTC MAIN commitmail json YAML

+ Load TLB-miss-address from SRR0, if ITMISS.
+ Remove a white space.

(kiyohara)

2011-05-19 06:09:36 UTC MAIN commitmail json YAML

Reverting last change; joerg has a better approach

(adam)

2011-05-19 05:13:10 UTC MAIN commitmail json YAML

Add my name to the list.

(riastradh)

2011-05-19 04:43:45 UTC MAIN commitmail json YAML

remove obsolete comment - putchar() does in fact use the blitter now

(macallan)

2011-05-19 03:44:19 UTC MAIN commitmail json YAML

ubc_release: use voff_t for offsets, rather than int.  Constify.
Reviewed by matt@.

(rmind)

2011-05-19 03:43:06 UTC rmind-uvmplock commitmail json YAML

Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.

(rmind)

2011-05-19 03:26:06 UTC MAIN commitmail json YAML

Add some general description of vnode life-cycle.

(rmind)

2011-05-19 03:25:11 UTC MAIN commitmail json YAML

Call ufs_extattr_vnode_inactive before UFS_WAPBL_BEGIN, as the latter will
leave the vnode locked, and ufs_extattr_vnode_inactive does lock/unlock

(manu)

2011-05-19 03:22:27 UTC MAIN commitmail json YAML

2011-05-19 03:21:24 UTC MAIN commitmail json YAML

- tmpfs: do not create dirent/node pools per-mount, there is no need to.
- tmpfs_mount: fix a leak of mount structures in error path.

(rmind)

2011-05-19 03:18:01 UTC MAIN commitmail json YAML

Add missing prototype for __cmpdf2

(christos)

2011-05-19 03:13:58 UTC MAIN commitmail json YAML

Add comments, clean up.

(rmind)

2011-05-19 03:11:59 UTC MAIN commitmail json YAML

2011-05-19 03:09:47 UTC MAIN commitmail json YAML

2011-05-19 03:07:30 UTC MAIN commitmail json YAML

2011-05-19 03:05:19 UTC MAIN commitmail json YAML

include <sys/ioctl.h> for ioctl()
WTF? Fix pasto calling function from a different driver!?!

(christos)

2011-05-19 02:56:03 UTC MAIN commitmail json YAML

2011-05-19 02:54:58 UTC MAIN commitmail json YAML

2011-05-19 02:37:41 UTC MAIN commitmail json YAML

Specify that the sock argument of socktodesc() is an int,
instead of letting it default to int.

(jakllsch)

2011-05-19 00:24:22 UTC MAIN commitmail json YAML

one less magic number - make it obvious what the NetBSD partition id is.

(agc)

2011-05-18 21:51:04 UTC MAIN commitmail json YAML

2011-05-18 21:29:39 UTC MAIN commitmail json YAML

2011-05-18 21:07:09 UTC MAIN commitmail json YAML

Revert previous, -Dlseek64=lseek added to
src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile

(dsl)

2011-05-18 21:00:27 UTC MAIN commitmail json YAML

Fix implicit type declarations for -std=gnu99.

(tsutsui)

2011-05-18 20:55:09 UTC MAIN commitmail json YAML

add -Dlseek64=lseek to fix the build in geode_msr.c

(plunky)

2011-05-18 20:50:50 UTC MAIN commitmail json YAML

Add:
#define lseek64 lseek
so this builds.
Has NetBSD ever had an lseek64 - there isn't one in libc - so has this
code ever actually run.

(dsl)

2011-05-18 19:45:05 UTC MAIN commitmail json YAML

Include err.h and unistd.h to provide protos for err() and getpid().

(mellon)

2011-05-18 19:44:18 UTC MAIN commitmail json YAML

Include err.h to provide prototype for err().

(mellon)

2011-05-18 19:36:36 UTC MAIN commitmail json YAML

2011-05-18 19:17:21 UTC MAIN commitmail json YAML

unconfigure the generated raid set at the end of this utility

(agc)

2011-05-18 18:56:02 UTC MAIN commitmail json YAML

include the SHA2 hashs into the proposal which goes out with
SADB_ACQUIRE -- this doesn't change much because racoon ignores
the proposal from the kernel anyway and applies its own configuration,
but having MD5 and SHA1 in the list but SHA2 not looks strange

(drochner)

2011-05-18 18:41:59 UTC MAIN commitmail json YAML

2011-05-18 18:36:16 UTC MAIN commitmail json YAML

use monotonic time rather than wall time for lifetime related timestamps,
to make key expiration robust against time changes

(drochner)

2011-05-18 15:57:15 UTC MAIN commitmail json YAML

add a hacky version of sigsuspendsetup() to satisfy link requirements.

(christos)

2011-05-18 15:28:12 UTC MAIN commitmail json YAML

- Proper permission checks when doing directory traversal. e.g.: run
rm dir/file while dir was never looked up since the mount. In that
situation, we get lookup with pcn_nameiop NAMEI_DELETE for dir before
we get it for file. But for dir we are just looking for PUFFS_VEXEC.
This is solved by honouring NAMEI_ISLASTCN, which is set for the last
element only

- do not send O_EXCL to FUSE as documentation forbids it.

- fix warning

(manu)

2011-05-18 15:25:19 UTC MAIN commitmail json YAML

Set buffer size as big in nomal mode as we do in debug mode, when
perfused stays in foreground. The difference is a mistake and was not
intended.

There is still a bug ready to bite here, since SOCK_STREAM is not reliable.
We just hope that buffers are big enough to hold all packets, but if they
are overflown, we loose a packet and a file operation gets stuck.

We really nee SOCk_SEQPACKET here, but unfortunately it is very broken at
that time.

(manu)

2011-05-18 15:22:54 UTC MAIN commitmail json YAML

2011-05-18 14:48:04 UTC MAIN commitmail json YAML

No need to mask twice. The setup function does it.

(christos)

2011-05-18 13:08:14 UTC MAIN commitmail json YAML

Add support for LLVM/Clang

(adam)

2011-05-18 12:54:15 UTC MAIN commitmail json YAML

remove unused expression

(drochner)

2011-05-18 12:53:04 UTC MAIN commitmail json YAML

2011-05-18 12:11:46 UTC MAIN commitmail json YAML

2011-05-18 12:10:23 UTC MAIN commitmail json YAML

2011-05-18 06:36:48 UTC MAIN commitmail json YAML

Back out a local change

(dsl)

2011-05-18 03:51:41 UTC MAIN commitmail json YAML

PR/43625: Mark Davies: Fix pselect(2) to honor the temporary mask. pselect(2)
(and pollts(2)) are similar to sigsuspend(2) in that they temporarily change
the process signal mask and wait for signal delivery. Factor out and share the
code that does this.

(christos)

2011-05-18 03:15:12 UTC MAIN commitmail json YAML

Don't depend on the atf timeout stuff, do it ourselves.

(christos)

2011-05-18 03:07:37 UTC MAIN commitmail json YAML

2011-05-18 02:57:49 UTC MAIN commitmail json YAML

Add a test for signal delivery during pselect, with temporary mask change.

(christos)

2011-05-18 01:59:39 UTC MAIN commitmail json YAML

cleanup saving and restoring errno, and make it similar.

(christos)

2011-05-18 01:41:31 UTC MAIN commitmail json YAML

put a comment at the start of the generated raid config file that the file was
generated by genraidconf(8)

(agc)

2011-05-18 01:37:58 UTC MAIN commitmail json YAML

work out the partition letter of the first partition properly

invoke fdisk properly

use the correct partition letter in the raidN.conf file

invoke ci with a default description of the file as well as a commit message.

with these changes, we properly configure and initialise a raid1 set on 2 vnd
devices.

(agc)

2011-05-18 01:07:17 UTC MAIN commitmail json YAML

#include <sys/bus.h>, not <machine/bus.h>.

(dyoung)

2011-05-18 01:03:15 UTC MAIN commitmail json YAML

#include <sys/bus.h>, not <machine/bus.h>.

(dyoung)

2011-05-18 01:02:44 UTC MAIN commitmail json YAML

2011-05-18 01:02:00 UTC MAIN commitmail json YAML

2011-05-17 22:52:28 UTC MAIN commitmail json YAML

add support for running the console in more than 8 bit
Now modes like 1680x1050 work. The hardware requires a stride of a multiple
of 32 bytes, with 1680 this requires 16bit colour.

(macallan)

2011-05-17 22:29:06 UTC MAIN commitmail json YAML

2011-05-17 22:28:15 UTC MAIN commitmail json YAML

2011-05-17 22:26:33 UTC MAIN commitmail json YAML

add some constants, clarify some hw limitations

(macallan)

2011-05-17 22:19:38 UTC MAIN commitmail json YAML

2011-05-17 22:01:41 UTC MAIN commitmail json YAML

Add require root user to test_case_xfail. Avoids reporting expected
failure for the wrong reason with unprivileged runs (puffs access
denied).

(njoly)

2011-05-17 21:56:52 UTC MAIN commitmail json YAML

If a makefile if a multiple of the page size and doesn't end with a
newline, then it all goes horribly wrong when make tries to terminate
the last input line.
This was all ok before the mmap changes (rev 1.169) because the last
32 bytes of the input buffer were never read into.
The non-mmap case has a similar problem.
Bug found because my .depend files don't have a newline at the end of
the .OPTIO|NAL line (don't know if that is a local change).

(dsl)

2011-05-17 18:57:02 UTC MAIN commitmail json YAML

cleanup some error handling to avoid memory leaks and doube frees,
from Wolfgang Stukenbrock per PR kern/44948, and part of kern/44952

(drochner)

2011-05-17 18:43:03 UTC MAIN commitmail json YAML

fix lookup of SAs for outgoing packets in the !prefered_oldsa case,
as done in KAME and FAST_IPSEC after NetBSD imported the code
(The default differs: KAME uses the oldest valid SA while FAST_IPSEC
in NetBSD uses the newest one. I'm not changing this -- there is a lack
of specification and behavior can be changed with the "oldsa" sysctl.)
For incoming packets it shouldn't matter but I made it look similar
just to avoid unnecessary differences.

(drochner)

2011-05-17 17:42:47 UTC MAIN commitmail json YAML

Add some grotty #ifdef'age to make this compile w/o DIAGNOSTIC.

(dyoung)

2011-05-17 17:34:55 UTC MAIN commitmail json YAML

PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name.  Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

(dyoung)

2011-05-17 12:56:44 UTC MAIN commitmail json YAML

2011-05-17 11:23:41 UTC MAIN commitmail json YAML

2011-05-17 07:57:02 UTC MAIN commitmail json YAML

Disable DEBUG=-g by default again (accidently slipped in with last changes).
Ok: mrg

(martin)

2011-05-17 07:16:03 UTC MAIN commitmail json YAML

Add support for source specific AFLAGS and COPTS.

(joerg)

2011-05-17 07:10:39 UTC MAIN commitmail json YAML

Trailing white space

(joerg)

2011-05-17 05:42:40 UTC MAIN commitmail json YAML

2011-05-17 05:40:24 UTC MAIN commitmail json YAML

2011-05-17 05:32:31 UTC MAIN commitmail json YAML

fix the ordering and make UVMHIST enable KERNHIST automatically.

(mrg)

2011-05-17 04:39:57 UTC MAIN commitmail json YAML

Add missing $NetBSD$ header.

(dholland)

2011-05-17 04:18:07 UTC MAIN commitmail json YAML

move and rename the uvm history code out of uvm_stat to "kernhist".

rename "UVMHIST" option to enable the uvm histories.

TODO:
- make UVMHIST properly depend upon KERNHIST
- enable dynamic registration of histories.  this is mostly just
  allocating something in a bitmap, and is only for viewing multiple
  histories in a merged form.

tested on amd64 and sparc64.

(mrg)

2011-05-17 03:51:40 UTC MAIN commitmail json YAML

invoke the commands in the example properly

(agc)

2011-05-17 03:48:50 UTC MAIN commitmail json YAML

initial import of genraidconf, an embryonic RAIDframe configuration file
generator, into opthersrc.

    The genraidconf command constructs a configuration file for a RAID set.
    It uses various pieces of information to construct a number of disklabels
    for the RAID set component disks using disklabel(8), and a configuration
    file for RAID frame itself, raid(4) producing a file as described in
    raidctl(8).

It also can zero components before use, performs some basic sanity checks
on its inputs, and, in general, prepares the RAID set to the stage where a
newfs(8) may occur on it.

This utility is embryonic, since it needs much more testing. As such, it
must be considered experimental at this stage.

Examples of sage:

    % uname -m
    amd64
    % genraidconf.sh -n -o raid5 -d raid0 sd0 sd1 sd2
    fdisk -uai -A 2048 sd0a
    fdisk -uai -A 2048 sd1a
    fdisk -uai -A 2048 sd2a
    disklabel -R sd0 /tmp/label.20322a
    disklabel -R sd1 /tmp/label.20322a
    disklabel -R sd2 /tmp/label.20322a
    raidctl -I 20110516143616 raid0
    raidctl -i raid0
    raidctl -A yes raid0
    % genraidconf.sh -n -o raid1 -d raid1 sd0 sd1 sd2
    RAIDframe RAID1 requires 2 disks
    % genraidconf.sh -n -r 1 -d raid1 sd0 sd1
    fdisk -uai -A 2048 sd0a
    fdisk -uai -A 2048 sd1a
    disklabel -R sd0 /tmp/label.26009a
    disklabel -R sd1 /tmp/label.26009a
    raidctl -I 20110516143702 raid1
    raidctl -i raid1
    raidctl -A yes raid1
    % genraidconf.sh -n -o raid1 -d raid1 -o zero sd0 sd1
    dd if=/dev/zero bs=32k of=/dev/rsd0a
    dd if=/dev/zero bs=32k of=/dev/rsd1a
    fdisk -uai -A 2048 sd0a
    fdisk -uai -A 2048 sd1a
    disklabel -R sd0 /tmp/label.23760a
    disklabel -R sd1 /tmp/label.23760a
    raidctl -I 20110516143710 raid1
    raidctl -i raid1
    raidctl -A yes raid1
    % genraidconf.sh -n -o raid1 -d raid1 -o zero -o root sd0 sd1
    dd if=/dev/zero bs=32k of=/dev/rsd0a
    dd if=/dev/zero bs=32k of=/dev/rsd1a
    fdisk -uai -A 2048 sd0a
    fdisk -uai -A 2048 sd1a
    disklabel -R sd0 /tmp/label.25286a
    disklabel -R sd1 /tmp/label.25286a
    raidctl -I 20110516143738 raid1
    raidctl -i raid1
    raidctl -A yes raid1
    raidctl -A root raid1
    %

With a huge thankyou to Matthew Green for guidance on a number of
issues.


Status:

Vendor Tag: CROOKS
Release Tags: genraidconf-base

(agc)

2011-05-17 03:35:39 UTC MAIN commitmail json YAML

Use Pq or Po macro for better output rather than putting raw open paren
at the end of line.

(enami)

2011-05-17 01:12:34 UTC MAIN commitmail json YAML

Enable c99 mode by default.

This has the side effect of complaining for missing prototypes
implicit type declarations and missing return statements.

NB: I've only ran a build on amd64, so other platforms MI code might break.
If you can't wait for me to fix them, revert this commit.

(christos)

2011-05-17 00:22:44 UTC MAIN commitmail json YAML

print the set name for scripts as well as program definitions (or both)

(agc)

2011-05-16 21:51:31 UTC MAIN commitmail json YAML

2011-05-16 19:27:48 UTC MAIN commitmail json YAML

Update to LLVM/Clang revision 131404. This includes the fix for asm labels
on builtins (broke longjmp usage) and a better cross-compiling support
in combination with -m32/-m64.

Update configuration to include /usr/include/clang-3.0 in the search
path.

(joerg)

2011-05-16 18:08:04 UTC MAIN commitmail json YAML

Hack-around sparc/sun4c case, which modifies const maxdmap/maxsmap.
From he@.  OK mrg@.

(rmind)

2011-05-16 17:21:38 UTC MAIN commitmail json YAML

I was allowing adapt_max_periph to use all available command slots, which
easily exceeds the maximum of 256 tags used by the scsipi layer because
the tag information from the scsipi layer was ignored and all the tagging
is handled implicitly internal to ciss(4).  But with the DIAGNOSTIC option,
the scsipi layer does a check for > 256 tags and will panic.  So, lets just
limit the adapt_max_periph to 256 so the scsipi layer won't try to user more.

(mhitch)

2011-05-16 15:09:31 UTC MAIN commitmail json YAML

Hack for PR 44961: restore the prior "logic" pertaining to looking up /
to prevent a crash when attempting rename("/", "foo"). This is not really
what I want going forward and it may cause e.g. rmdir("blah/") to fail, so
if it causes trouble for anyone back it out. The right fix is going to have
to wait until the qemu/tcp_vtw problems I ran into last night get sorted out.

(dholland)

2011-05-16 14:50:37 UTC MAIN commitmail json YAML

Actually test for sparc v9 architecture, doesn't matter if we are building
32bit or 64bit (fixes 32bit compat library build on sparc64 - yes, they
differ from native sparc libs!)

(martin)

2011-05-16 13:22:56 UTC MAIN commitmail json YAML

2011-05-16 12:43:59 UTC MAIN commitmail json YAML

use err instead of printf, fix missing prototypes.

(christos)

2011-05-16 10:53:20 UTC MAIN commitmail json YAML

fix detach() to avoid use-after-free problems:
-stop transfers before freeing data structures
(and comment out a useless delay)
-free devinfo later
Hot-unplugging an USB cam while in use doesn't crash my box anymore now.

(drochner)

2011-05-16 10:45:56 UTC MAIN commitmail json YAML

-fix maximum length of salt (missing prefix, rounding error)
-clip number of rounds at 31 -- this is log2 of the real number,
and anything larger would break exponentation
-catch possible atoi() error where log2(rounds) is parsed in the
salt prefix
-zero crypto state on exit
from Open/FreeBSD

(drochner)

2011-05-16 10:39:12 UTC MAIN commitmail json YAML

fix ipad/opad buffer length (was one too much), just for sanity

(drochner)

2011-05-16 10:27:49 UTC MAIN commitmail json YAML

split the "crypto_mtx" spinlock into 3: one spinlock each for
the incoming and outgoing request queues (which can be dealt with
by hardware accelerators) and an adaptive lock for "all the rest"
(mostly driver configuration, but also some unrelated stuff in
cryptodev.c which should be revisited)
The latter one seems to be uneeded at many places, but for now I've
done simple replacements only, except minor fixes (where
softint_schedule() was called without the lock held)

(drochner)

2011-05-16 10:18:52 UTC MAIN commitmail json YAML

remove redundant declarations

(drochner)

2011-05-16 10:05:23 UTC MAIN commitmail json YAML

remove redundant declaration

(drochner)

2011-05-16 10:04:02 UTC MAIN commitmail json YAML

remove a useless m_freem() call where the argument is known to be NULL

(drochner)

2011-05-16 10:02:30 UTC MAIN commitmail json YAML

use time_t rather than long for timestamps

(drochner)

2011-05-16 10:00:32 UTC MAIN commitmail json YAML

cosmetical whitespace changes

(drochner)

2011-05-16 07:59:19 UTC MAIN commitmail json YAML

The support of <fenv.h> is actually for __sparc64__, not for __sparc__
(which is also defined on sparc64).  This fixes a build problem for
plain sparc.

(he)

2011-05-16 00:59:38 UTC MAIN commitmail json YAML

don't leave a mess on screen when attaching, while there use VCONS_DONT_READ
if VCONS_DRAW_INTR is set

(macallan)

2011-05-16 00:23:21 UTC MAIN commitmail json YAML

2011-05-16 00:08:33 UTC MAIN commitmail json YAML

2011-05-16 00:03:36 UTC MAIN commitmail json YAML

h_macros need strlcat and random ugh, please someone remove this header.
define _NETBSD_SOURCE so those are defined.

(christos)

2011-05-15 23:59:03 UTC MAIN commitmail json YAML

2011-05-15 23:56:28 UTC MAIN commitmail json YAML

if you don't include the proper include files, you are going to end up
calling functions incorrectly.

(christos)

2011-05-15 23:44:47 UTC MAIN commitmail json YAML

2011-05-15 23:43:56 UTC MAIN commitmail json YAML

2011-05-15 23:42:01 UTC MAIN commitmail json YAML

Disable wsfb, uses old loader api that does not exist anymore

(christos)

2011-05-15 23:16:15 UTC MAIN commitmail json YAML

2011-05-15 23:03:21 UTC MAIN commitmail json YAML

i915 drivers needs the aperture prototype.

(christos)

2011-05-15 22:58:35 UTC MAIN commitmail json YAML

2011-05-15 22:55:01 UTC MAIN commitmail json YAML

2011-05-15 22:54:29 UTC MAIN commitmail json YAML

- fix return
- add missing include file

(christos)

2011-05-15 22:33:55 UTC MAIN commitmail json YAML

2011-05-15 21:35:58 UTC MAIN commitmail json YAML

2011-05-15 21:32:47 UTC MAIN commitmail json YAML

2011-05-15 21:28:51 UTC MAIN commitmail json YAML

2011-05-15 21:25:33 UTC MAIN commitmail json YAML

Add defines to get the proper prototypes in place.

(christos)

2011-05-15 21:19:20 UTC MAIN commitmail json YAML

add HAVE_VASPRINTF so that we use it.

(christos)

2011-05-15 21:09:31 UTC MAIN commitmail json YAML

repeat; fix same mistake from libXaw that broke wide build.

(christos)

2011-05-15 21:05:13 UTC MAIN commitmail json YAML

fix wide char support; don't use the wrong macro names.

(christos)

2011-05-15 20:58:54 UTC MAIN commitmail json YAML

As noted by rmind@, use the _nv() to fetch the new value. A race is
possible between the decrement and the fetch of the ref counter value,
hence we might call the G/C routine twice. Not good.

Also remove the 'volatile' attribute, refcnt is only use by xbdi_put/_get
and should not be exposed anywhere else (except for initialization).

(jym)

2011-05-15 18:33:33 UTC MAIN commitmail json YAML

2011-05-15 17:52:41 UTC MAIN commitmail json YAML

2011-05-15 17:27:49 UTC MAIN commitmail json YAML

2011-05-15 17:13:23 UTC MAIN commitmail json YAML

2011-05-15 16:57:08 UTC MAIN commitmail json YAML

2011-05-15 16:51:09 UTC MAIN commitmail json YAML

2011-05-15 16:16:08 UTC MAIN commitmail json YAML

2011-05-15 15:10:12 UTC MAIN commitmail json YAML

- fix build failure on CentOS 5
  (it looks bash doesn't like redirection operators before commands)
- use ${TOOL_SED}

(tsutsui)

2011-05-15 14:57:56 UTC MAIN commitmail json YAML

2011-05-15 14:57:35 UTC MAIN commitmail json YAML

include "system.h" for idir()

(christos)

2011-05-15 14:35:48 UTC MAIN commitmail json YAML

include <sys/ioctl.h> for ioctl()

(christos)

2011-05-15 14:33:13 UTC MAIN commitmail json YAML

2011-05-15 14:31:13 UTC MAIN commitmail json YAML

2011-05-15 14:30:08 UTC MAIN commitmail json YAML

include headers to make prototypes visible.

(christos)

2011-05-15 13:56:20 UTC MAIN commitmail json YAML

2011-05-15 13:55:21 UTC MAIN commitmail json YAML

include posixver.h to find the prototype for posix2_version()

(christos)

2011-05-15 13:38:20 UTC MAIN commitmail json YAML

Bump SYMTAB_SPACE so that the contents fits again.

(he)

2011-05-15 13:36:13 UTC MAIN commitmail json YAML

Bump SYMTAB_SPACE so that the contents fits again.

(he)

2011-05-15 07:24:15 UTC MAIN commitmail json YAML

Use atomic_ops(3) for ref counting.

(jym)

2011-05-15 01:16:29 UTC MAIN commitmail json YAML

2011-05-15 01:13:30 UTC MAIN commitmail json YAML

2011-05-15 01:00:52 UTC MAIN commitmail json YAML

Add support for Intel 6 series.

(msaitoh)

2011-05-15 01:00:08 UTC MAIN commitmail json YAML

2011-05-15 00:59:37 UTC MAIN commitmail json YAML

Add entries for Intel 6 series' devices.

(msaitoh)

2011-05-15 00:06:23 UTC MAIN commitmail json YAML

Sync usage with manpage.

(wiz)

2011-05-14 22:44:06 UTC MAIN commitmail json YAML

PR/44959: Henning Petersen: glob forgets to closedir on out of space condition.

(christos)

2011-05-14 22:27:58 UTC MAIN commitmail json YAML

Provide correct builtin search path for amd64's -m32 mode.

(joerg)

2011-05-14 22:07:39 UTC MAIN commitmail json YAML

PR kern/44956: add support for Qinheng PCI cards to the puc driver

(martin)

2011-05-14 21:58:49 UTC MAIN commitmail json YAML

2011-05-14 21:57:52 UTC MAIN commitmail json YAML

Add Nanjing QinHeng Electronics, from PR kern/44956.

(martin)

2011-05-14 19:46:10 UTC MAIN commitmail json YAML

Improve documentation of FFS formats and format levels from PR 32100.
Prompted also by recent discussion on tech-kern. Bump date.

(dholland)

2011-05-14 18:50:08 UTC MAIN commitmail json YAML

fork1: fix stop-on-fork case, lend a correct lock to LWP for LSSTOP state.

Fixes PR/44935.

(rmind)

2011-05-14 18:24:48 UTC MAIN commitmail json YAML

2011-05-14 17:57:05 UTC MAIN commitmail json YAML

- Sprinkle __read_mostly, consitify maxdmap and maxsmap.
- Prevent sys/resourcevar.h from inclusion in userland.
- sys_{set,get}priority: use id_t for 'who', not int.
- Make donice() routine static.
- Remove trailing spaces, KNF.

(rmind)

2011-05-14 17:47:28 UTC MAIN commitmail json YAML

Remove any stale .fifo files when doing 'test'.  These may be leaked if
the user aborts the execution of atf-run with Ctrl+C, which will prevent
a subsequent 'make test' from working at all.

(jmmv)

2011-05-14 17:42:29 UTC MAIN commitmail json YAML

2011-05-14 17:12:28 UTC MAIN commitmail json YAML

Improve/fix comments, give more meaningful names for variables.

(rmind)

2011-05-14 16:46:55 UTC MAIN commitmail json YAML

Revert my previous change.  christos@ submitted a different fix pretty much
at the same time.  Did an update amd64 release build to ensure my change was
really not needed.

(jmmv)

2011-05-14 16:27:50 UTC MAIN commitmail json YAML

Declare for-loop control variable outside of the for statement to prevent
a warning and therefore fix the build.

(jmmv)

2011-05-14 16:26:23 UTC MAIN commitmail json YAML

Turn on WARNS to 4, so that magically -std=gnu99 gets turned on and fix
the few warnings. Since the kernel uses c99, this makes kernel code that
uses c99 features compile.

(christos)

2011-05-14 16:17:55 UTC MAIN commitmail json YAML

Fix botch in rev 1.28 that causes wrong results of fcmp and ftst in FPE.
fpu_upd_fpsr() should be called even in discard_result case if an emulated
instruction gets proper result without signal.

Fixes weird behavior of awk(1) seen on /etc/rc.d/postfix on XM6i and
TME emulating sun3 without 68881.

Should be pulled up to all netbsd-4 and netbsd-5 branches.

(tsutsui)

2011-05-14 15:02:29 UTC MAIN commitmail json YAML

Use PXA250 compat. rtc.

(nonaka)

2011-05-14 15:01:51 UTC MAIN commitmail json YAML

- Only when pxa_size isn't set, pxa_size is set.
- Split device_t/softc.

(nonaka)

2011-05-14 14:49:19 UTC MAIN commitmail json YAML

Convert simplelock to mutex in this portion of dmover(4).

(jakllsch)

2011-05-14 14:00:03 UTC MAIN commitmail json YAML

2011-05-14 13:52:00 UTC MAIN commitmail json YAML

Modernize simple_lock() and ltsleep() usage in dmover(4).
(Thanks to rmind for providing hints on what was necessary.)

(jakllsch)

2011-05-14 12:44:16 UTC MAIN commitmail json YAML