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 (16m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 19:46:10 UTC Now

2009-05-29 18:49:22 UTC MAIN commitmail json YAML

2009-05-29 17:30:51 UTC jym-xensuspend commitmail json YAML

- use uvm_km_alloc() instead of kmem_alloc() to enforce alignement when
allocating p2m_frame pages (xentools can only deal with page-aligned addresses)
- *sigh* do not use paddr_t for p2m_frame_list_list with PAE, xentools expect
32 bits addresses even with 64 bits PTE...

(jym)

2009-05-29 14:19:13 UTC MAIN commitmail json YAML

2009-05-29 14:15:45 UTC MAIN commitmail json YAML

2009-05-29 14:06:53 UTC MAIN commitmail json YAML

Add some definitions for alternative GPIO assignments.

(rjs)

2009-05-29 12:33:35 UTC MAIN commitmail json YAML

Missed in previous WIP commit.

(skrll)

2009-05-29 09:32:41 UTC MAIN commitmail json YAML

Make getdirentries set a correct block read position for basep
argument.

(njoly)

2009-05-29 09:12:00 UTC MAIN commitmail json YAML

2009-05-29 08:44:29 UTC MAIN commitmail json YAML

Tidyup error handling around PDC_PIM.

CTASSERT -> KASSERT

(skrll)

2009-05-29 08:39:05 UTC MAIN commitmail json YAML

Save screen space and make machine check output easier to read (for me)

(skrll)

2009-05-29 08:37:34 UTC MAIN commitmail json YAML

2009-05-29 06:13:56 UTC MAIN commitmail json YAML

2009-05-29 06:12:31 UTC MAIN commitmail json YAML

Add a bunch of HP stuff. From OpenBSD.

(skrll)

2009-05-29 04:57:05 UTC MAIN commitmail json YAML

Add vlan support and hardware offload capabilities to agr.
These changes allow vlans to be layered above agr, with the attach
and detach propogated to the member ports in the aggregation.
Note the agr interface must be up before the vlan is attached.

Adds SIOCINITIFADDR support to the wm driver for setting the AF_LINK
address, necessary for agr to be able to set the mac addresses of each
port to the agr address (i.e. so it can receive all intended traffic
at the hardware level).

Adds support for disabling the LACP protocol by setting LINK1 on the agr
interface (e.g. ifconfig agr0 link1).

In consultation with tls@.

(darran)

2009-05-29 00:10:52 UTC MAIN commitmail json YAML

fd_free: reset fd_himap/lomap to make fd_checkmaps comfortable.  PR/41487.

(yamt)

2009-05-28 22:17:04 UTC MAIN commitmail json YAML

2009-05-28 18:13:46 UTC MAIN commitmail json YAML

For the 'tags' target, use the right path to the Atheros HAL sources.

(dyoung)

2009-05-28 17:35:22 UTC MAIN commitmail json YAML

add a few noteworthy rump developments

(pooka)

2009-05-28 15:21:26 UTC MAIN commitmail json YAML

Redo previous, by simply updating basep earlier, before label.

(njoly)

2009-05-28 14:57:42 UTC MAIN commitmail json YAML

fix typo (Silas Silva)

(christos)

2009-05-28 14:48:20 UTC MAIN commitmail json YAML

Make getdirentries(2) correctly fail with EINVAL for an invalid file
descriptor (not for a directory), by not updating basep syscall
argument on error.

(njoly)

2009-05-28 10:44:30 UTC MAIN commitmail json YAML

Allow building with MKCRYPTO=no.

(joerg)

2009-05-28 10:07:06 UTC MAIN commitmail json YAML

Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.

(njoly)

2009-05-28 09:41:05 UTC MAIN commitmail json YAML

2009-05-28 09:32:18 UTC MAIN commitmail json YAML

Use Dv in more places.

(wiz)

2009-05-28 09:01:02 UTC MAIN commitmail json YAML

2009-05-28 08:53:39 UTC MAIN commitmail json YAML

tz{code,data}2009h out; tzdata2009h imported.

(kleink)

2009-05-28 08:52:29 UTC MAIN commitmail json YAML

2009-05-28 08:50:06 UTC MAIN commitmail json YAML

2009-05-28 08:41:29 UTC MAIN commitmail json YAML

2009-05-28 06:49:30 UTC MAIN commitmail json YAML

clarify vnode locking for vn_rdwr()

(jnemeth)

2009-05-28 01:52:43 UTC MAIN commitmail json YAML

2009-05-28 00:32:07 UTC MAIN commitmail json YAML

2009-05-28 00:29:06 UTC MAIN commitmail json YAML

2009-05-28 00:28:38 UTC MAIN commitmail json YAML

libtool is in the builddir not the srcdir.
wrap "copy the test file" in AT_CHECK

(lukem)

2009-05-28 00:27:39 UTC MAIN commitmail json YAML

sort main tests (arguable asthetic benefit)

(lukem)

2009-05-28 00:27:03 UTC MAIN commitmail json YAML

2009-05-28 00:02:17 UTC MAIN commitmail json YAML

Use a bunch of weak symbols to determine which network components
are present.  This works in userspace as opposed relying in link
sets, which fail miserably.  Later, when the networking stack
becomes modularized, we can move to a dynamic scheme like with file
systems.

Also, this change allows us to do proper autoconfig, namely attach
the loopback interface iff it is present.

(pooka)

2009-05-27 23:44:36 UTC MAIN commitmail json YAML

Make domaininit() take an argument which determines if it should
add the special PF_ROUTE domain or not (if available).

(pooka)

2009-05-27 23:41:20 UTC MAIN commitmail json YAML

Add a dummyif, which doesn't actually traffic any cargo, but since
it has no backend it can always be attached and is therefore
convenient for testing ifconfig.

(pooka)

2009-05-27 23:01:27 UTC MAIN commitmail json YAML

correct vn_stat definition and description

(jnemeth)

2009-05-27 23:01:08 UTC MAIN commitmail json YAML

Put back CVS header.

(rjs)

2009-05-27 22:41:39 UTC MAIN commitmail json YAML

2009-05-27 22:13:06 UTC MAIN commitmail json YAML

2009-05-27 21:46:08 UTC netbsd-5-0 commitmail json YAML

2009-05-27 21:45:21 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #781):
sys/kern/kern_physio.c: revision 1.91
PR kern/39536: bufq related problem when writing DVDR and DVDRWs.
Remove a race where physio_done() may use memory already freed.
Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.

(snj)

2009-05-27 21:44:12 UTC netbsd-5 commitmail json YAML

2009-05-27 21:42:08 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #781):
sys/kern/kern_physio.c: revision 1.91
PR kern/39536: bufq related problem when writing DVDR and DVDRWs.
Remove a race where physio_done() may use memory already freed.
Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.

(snj)

2009-05-27 21:33:50 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #779):
sys/kern/sys_mqueue.c: revision 1.18
- Slightly rework the way permissions are checked. Neither mq_receive() not
  mq_send() should fail due to permissions.  Noted by Stathis Kamperis!
- Check for empty message queue name (POSIX does not allow this for regular
  files, and it's weird), check for DTYPE_MQUEUE, fix permission check in
  mq_unlink(), clean up.

(snj)

2009-05-27 21:32:31 UTC MAIN commitmail json YAML

PR/38260: Brian Seklecki: Improve carp logging.

(christos)

2009-05-27 21:32:05 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #779):
sys/kern/sys_mqueue.c: revision 1.18
- Slightly rework the way permissions are checked. Neither mq_receive() not
  mq_send() should fail due to permissions.  Noted by Stathis Kamperis!
- Check for empty message queue name (POSIX does not allow this for regular
  files, and it's weird), check for DTYPE_MQUEUE, fix permission check in
  mq_unlink(), clean up.

(snj)

2009-05-27 21:21:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #778):
distrib/utils/sysinst/arch/mac68k/md.c: revision 1.54
Fix build by explicitly narrowing dlsize to an unsigned 32-bit quantity as
supported by disklabel.

(snj)

2009-05-27 19:28:42 UTC MAIN commitmail json YAML

Merge two descriptions for same error code.

(wiz)

2009-05-27 19:27:59 UTC MAIN commitmail json YAML

2009-05-27 19:24:00 UTC MAIN commitmail json YAML

2009-05-27 19:23:28 UTC MAIN commitmail json YAML

Drop trailing whitespace. Sort SEE ALSO. Make HTML-ready. Fix Dt argument case.

(wiz)

2009-05-27 18:02:57 UTC MAIN commitmail json YAML

Add note about Postgres WRT the time_t change.

(dholland)

2009-05-27 17:47:46 UTC MAIN commitmail json YAML

Fix a few spelling errors.

(snj)

2009-05-27 17:46:50 UTC MAIN commitmail json YAML

Make it possible to register delayed radix tree head inits which
will be processed when the radix "subsystem" is initialized -- all
users must be attached before any inits to know the max keylength.
Use of link sets is no longer required, and only attached domains
need to be considered.

(pooka)

2009-05-27 17:44:38 UTC MAIN commitmail json YAML

Rearrange where the alternate definition of __dead goes.
It can't be before "include.h" as that includes a bunch of system headers,
but it can't be after either as it also includes a bunch of local headers.
Therefore, it needs to be *in* include.h.

(dholland)

2009-05-27 17:41:03 UTC MAIN commitmail json YAML

2009-05-27 17:17:04 UTC MAIN commitmail json YAML

Fix some longstanding typos and remove an entry that is both redundant
and wrong at the same time.

(snj)

2009-05-27 15:13:22 UTC MAIN commitmail json YAML

use pmf, while there do some cleanup, fix typos etc.

(macallan)

2009-05-27 14:42:07 UTC MAIN commitmail json YAML

2009-05-27 12:20:37 UTC MAIN commitmail json YAML

Use correct linux_clock_t type for _stime, not native clock_t.

(njoly)

2009-05-27 12:15:11 UTC MAIN commitmail json YAML

add comments on KSTACK_LOWEST_ADDR/KSTACK_SIZE.

(yamt)

2009-05-27 12:08:36 UTC MAIN commitmail json YAML

add a comment about USER_TO_UAREA/UAREA_TO_USER.

(yamt)

2009-05-27 09:40:01 UTC MAIN commitmail json YAML

Fix warning, s/.lt/.It/ for list item.

(njoly)

2009-05-27 09:30:14 UTC MAIN commitmail json YAML

s/FLEX_MASK/HPPA_&/ for consistency.

No functional change.

(skrll)

2009-05-27 07:29:48 UTC MAIN commitmail json YAML

2009-05-27 07:00:32 UTC MAIN commitmail json YAML

Ensure we can't verify an unsigned file
Rename a test filename
Add some comments

(lukem)

2009-05-27 06:47:58 UTC MAIN commitmail json YAML

2009-05-27 05:42:25 UTC MAIN commitmail json YAML

CHANGES 1.99.5 -> 1.99.6

+ made --homedir=d consistent with POLS. Default is $HOME/.gnupg, and
  if a directory is specified with --homedir=d, the directory containing
  conf file and keyrings is taken to be "d".

(agc)

2009-05-27 04:47:08 UTC MAIN commitmail json YAML

Use a relative path, rather than an absolute one, to find the source

(agc)

2009-05-27 04:46:33 UTC MAIN commitmail json YAML

2009-05-27 04:08:06 UTC MAIN commitmail json YAML

sync this a little with sparc64: use cpu_setfunc() at the end of cpu_lwp_fork()

(mrg)

2009-05-27 02:19:50 UTC MAIN commitmail json YAML

- use _MAXNCPU instead of 4
- convert xpmsg_lock from a simplelock to a kmutex
- don't wait for sparc_noop IPI calls
- remove xmpsg_func's "retval" parameter and usage
- remove the IPI at high IPL message
- rework cpu_attach() a bunch, refactoring calls to getcpuinfo() and setting
  of cpi, and split most of the non-boot CPU handling into a new function
- make CPU_INFO_FOREACH() work whether modular or not
- move the MP cpu_info pages earlier
- move a few things in cpu.c around to colsolidate the MP code together
- remove useless if (cpus == NULL) tests -- cpus is an array now

with these changes, and an additional change to crazyintr() to not printf(),
i can get to single user shell on my SS20 again.  i can run a fwe commands
but some of them cause hangs.  "ps auxw" works, but "top -b" does not.

tested in UP LOCKDEBUG/DEBUG/DIAGNOSTIC kernel as well.
MP kernel with only cpu0 configured panics starting /sbin/init.
have not yet tested on a real UP machine.

(mrg)

2009-05-27 01:54:22 UTC MAIN commitmail json YAML

2009-05-27 01:35:28 UTC MAIN commitmail json YAML

avoid a local variable in a do {} while (0) macro.

(mrg)

2009-05-27 00:42:01 UTC MAIN commitmail json YAML

2009-05-27 00:38:27 UTC MAIN commitmail json YAML

src/crypto/external/bsd/netpgp/dist/TODO@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/configure@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/configure.ac@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/include/netpgp.h@1.7 / diff / nxr@1.7
src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/netpgp/dist/src/lib/create.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/src/lib/create.h@1.7 / diff / nxr@1.7
src/crypto/external/bsd/netpgp/dist/src/lib/errors.h@1.5 / diff / nxr@1.5
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.h@1.11 / diff / nxr@1.11
src/crypto/external/bsd/netpgp/dist/src/lib/misc.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c@1.17 / diff / nxr@1.17
src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c@1.16 / diff / nxr@1.16
src/crypto/external/bsd/netpgp/dist/src/lib/packet-print.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/netpgp/dist/src/lib/packet-show-cast.h@1.5 / diff / nxr@1.5
src/crypto/external/bsd/netpgp/dist/src/lib/packet-show.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/netpgp/dist/src/lib/reader.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/src/lib/signature.c@1.16 / diff / nxr@1.16
      :
(more 6 files)
CHANGES 1.99.4 -> 1.99.5

+ Luke Mewburn completely overhauled the auto tools infrastructure
+ changed signature (hah!) of some netpgp file management prototypes to
  use const char * for file names and user ids, not char * - suggested by
  christos
+ change some of the openpgpsdk display functions to return integer values,
  and send those values back from the netpgp functions - suggested by
  christos
+ rather than passing a shedload of variables to netpgp_init(), get rid
  of them, and set variables using the netpgp_[gs]etvar() interface
+ replace some magic constants with descriptive names
+ use a netpgp variable to skip userid checks if necessary
+ add ability to allow coredumps via --coredumps if (a) you have taken
  leave of your sanity, and (b) you have some magical persistent
  storage which doesn't spare sectors, and (c) you know how to remove
  a file securely
+ bumped library version on NetBSD to 1.0 for interface changes

(agc)

2009-05-27 00:35:34 UTC MAIN commitmail json YAML

finally commit a lot of stuff that's been sitting in my source tree for
several ages:
- convert to device_t
- add support for programming colour depth and such, use it to reset the
  console to something usable when we enter ddb or exit X etc.
- basic power management
TODO:
- convert to PMF
- get rid of rconsole code so we don't need to map the framebuffer
- power down the whole DAC when not in use

(macallan)

2009-05-27 00:32:10 UTC MAIN commitmail json YAML

add a bunch of register definitions

(macallan)

2009-05-26 23:57:34 UTC MAIN commitmail json YAML

Wrap some long lines.  No functional change intended.

(dyoung)

2009-05-26 23:43:40 UTC MAIN commitmail json YAML

Support IPv6 in rump.  I'd have liked to introduce a netinet6
component, but due to ifdef happiness permeating the sources, it's
a compile decision for now, so netinet pulls in both inet and inet6.

One issue, one single issue: the loopback interface still needs to
be created for IPv6 to work.  I have patches to take care of it
automatically if the appropriate component (net) is present, but
they require a bit more testing before commit.

(pooka)

2009-05-26 22:39:15 UTC MAIN commitmail json YAML

2009-05-26 22:38:51 UTC MAIN commitmail json YAML

rpst_iterate_next: remove an unnecessary assignment.

(yamt)

2009-05-26 22:38:18 UTC MAIN commitmail json YAML

rpst_iterate_first: fix a bug which causes unnecessary scan.

(yamt)

2009-05-26 22:37:50 UTC MAIN commitmail json YAML

sprinkle some inline

(yamt)

2009-05-26 21:58:32 UTC MAIN commitmail json YAML

2009-05-26 20:29:04 UTC MAIN commitmail json YAML

Fix build by explicitly narrowing dlsize to an unsigned 32-bit quantity as
supported by disklabel.

(sborrill)

2009-05-26 19:20:50 UTC netbsd-5 commitmail json YAML

2009-05-26 19:19:53 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #774):
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.88
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

(snj)

2009-05-26 19:19:08 UTC netbsd-5-0 commitmail json YAML

2009-05-26 19:18:05 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #774):
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.88
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

(snj)

2009-05-26 19:03:05 UTC MAIN commitmail json YAML

Filter out ENETRESET from ether_ioctl() since we aren't interested
in multicast hugging.

(pooka)

2009-05-26 16:03:24 UTC MAIN commitmail json YAML

Add compile mode which executes rump system calls.  This is useful
when figuring out Where In The Kernel Is Carmen Sandiego's ioctl
for an ifconfig command line, since we can simply single-step into
the kernel.

Activated by "make RUMP_ACTION=1".  No changes to normal case.

(pooka)

2009-05-26 15:44:35 UTC MAIN commitmail json YAML

add ioctl to list of compile-time translated calls

(pooka)

2009-05-26 14:59:31 UTC MAIN commitmail json YAML

PR kern/39536: bufq related problem when writing DVDR and DVDRWs.

Remove a race where physio_done() may use memory already freed.

Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.

(hannken)

2009-05-26 13:53:07 UTC MAIN commitmail json YAML

Update bozohttpd entry.

(dent)

2009-05-26 08:34:23 UTC MAIN commitmail json YAML

Move all namei flags handling into kobj_load_file().

When I originally wrote this, I was going for maximum flexibility.
However, after a private discussion with dholland@, I see how this
will cause problems with the future world order of namei whenever
that might be.  At the moment, I don't need the extra flexibility,
but if something comes up this may have to be revisited.

(jnemeth)

2009-05-26 08:04:12 UTC MAIN commitmail json YAML

2009-05-26 07:30:51 UTC MAIN commitmail json YAML

Make indentation consistent.

(joerg)

2009-05-26 06:57:38 UTC MAIN commitmail json YAML

PR/41489: Stathis Kamperis: etpriority(2) returns EACCES instead of EPERM

Per discussion on the PR's audit trail, put back original checks for now.

(elad)

2009-05-26 06:38:26 UTC MAIN commitmail json YAML

Remove a now-unused local variable.

(he)

2009-05-26 05:47:33 UTC MAIN commitmail json YAML

2009-05-26 05:42:25 UTC MAIN commitmail json YAML

2009-05-26 05:41:41 UTC MAIN commitmail json YAML

2009-05-26 05:40:03 UTC MAIN commitmail json YAML

Improve SHA256_CTX checks; OS/X provides it in <CommonCrypto/CommonDigest.h>
even though their <openssl/sha.h> is too old.

(lukem)

2009-05-26 05:20:25 UTC MAIN commitmail json YAML

Install libnetpgp.3.
Don't build -static

(lukem)

2009-05-26 05:18:28 UTC netbsd-4 commitmail json YAML

2009-05-26 05:17:29 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1320):
dist/ntp/ntpd/ntp_crypto.c: revision 1.15
Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.

(snj)

2009-05-26 05:16:52 UTC netbsd-4-0 commitmail json YAML

2009-05-26 05:16:16 UTC netbsd-4-0 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1320):
dist/ntp/ntpd/ntp_crypto.c: revision 1.15
Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.

(snj)

2009-05-26 05:11:17 UTC MAIN commitmail json YAML

Provide a generated config.h in the NetBSD build reachover.

(lukem)

2009-05-26 05:03:57 UTC MAIN commitmail json YAML

2009-05-26 05:03:08 UTC MAIN commitmail json YAML

- Require <bzlib.h> -- don't just check for it.
- Check for types: long long, size_t
- <openssl/sha.1> needs <sys/types.h> on some platforms

(lukem)

2009-05-26 04:27:30 UTC MAIN commitmail json YAML

Overhaul build infrastructure:
- use automake to generate the Makefile.in
- style reorg in configure.ac
- ensure <openssl/sha.h> provides SHA256_CTX (openssl 0.9.8 or greater)
- move the "build helpers" to buildaux
- add a rudimentary (and not yet functional) test suite

(There's still more to do.)

Per chat with Alistair.

(lukem)

2009-05-26 04:23:05 UTC netbsd-5-0 commitmail json YAML

2009-05-26 04:22:23 UTC netbsd-5 commitmail json YAML

2009-05-26 04:21:05 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #777):
dist/ntp/ntpd/ntp_crypto.c: revision 1.15
Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.

(snj)

2009-05-26 04:20:22 UTC MAIN commitmail json YAML

2009-05-26 04:20:14 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #777):
dist/ntp/ntpd/ntp_crypto.c: revision 1.15
Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.

(snj)

2009-05-26 03:32:51 UTC MAIN commitmail json YAML

2009-05-26 03:31:12 UTC MAIN commitmail json YAML

use BUS_SPACE_MAP_LARGE to map the framebuffer

(macallan)

2009-05-26 03:30:25 UTC MAIN commitmail json YAML

do as phone suggested - remove sparc_bus_map_large() again and use a flag
instead ( BUS_SPACE_MAP_LARGE )

(macallan)

2009-05-26 01:42:02 UTC MAIN commitmail json YAML

Add CPU topology detection support for AMD processors.
Tested on the following AMD CPUs:
- Family 15, model 65
- Family 15, model 67
- Family 15, model 75
- Family 16, model 2
- Family 17, model 3

Reviewed (slightly older version of patch) by <yamt>.

(rmind)

2009-05-26 01:34:32 UTC MAIN commitmail json YAML

2009-05-26 00:58:59 UTC MAIN commitmail json YAML

Assorted fixes (mostly grammar, some markup) from OpenBSD.

(dholland)

2009-05-26 00:46:22 UTC MAIN commitmail json YAML

Build failure, reported by he@

(ad)

2009-05-26 00:42:33 UTC MAIN commitmail json YAML

PR kern/41487: kern_descrip.c assertion failure

Remove bogus assertion.

(ad)

2009-05-26 00:39:14 UTC MAIN commitmail json YAML

- Slightly rework the way permissions are checked. Neither mq_receive() not
  mq_send() should fail due to permissions.  Noted by Stathis Kamperis!
- Check for empty message queue name (POSIX does not allow this for regular
  files, and it's weird), check for DTYPE_MQUEUE, fix permission check in
  mq_unlink(), clean up.

(rmind)

2009-05-26 00:30:16 UTC MAIN commitmail json YAML

Paranoia about lengths of login names. From pjanzen of OpenBSD.

(dholland)

2009-05-26 00:27:23 UTC MAIN commitmail json YAML

Avoid SIGSEGV on users not in password file. From pjanzen of OpenBSD.

(dholland)

2009-05-26 00:17:56 UTC MAIN commitmail json YAML

POOL_INIT -> pool_init

(pooka)

2009-05-26 00:00:56 UTC MAIN commitmail json YAML

2009-05-25 23:48:32 UTC MAIN commitmail json YAML

attribute noreturn -> __dead

(dholland)

2009-05-25 23:44:04 UTC MAIN commitmail json YAML

We don't need a private #define "unsgn" for "unsigned", especially since
it was used exactly once.

(dholland)

2009-05-25 23:41:23 UTC MAIN commitmail json YAML

Use the time to call srandom(), not getpid().

(dholland)

2009-05-25 23:34:50 UTC MAIN commitmail json YAML

2009-05-25 23:24:54 UTC MAIN commitmail json YAML

2009-05-25 23:17:31 UTC MAIN commitmail json YAML

2009-05-25 23:14:33 UTC MAIN commitmail json YAML

2009-05-25 23:08:45 UTC MAIN commitmail json YAML

2009-05-25 22:49:23 UTC MAIN commitmail json YAML

Remove declaration of unused extern struct ifnet loif[NLOOP], which
was already removed once, but brought back in a wholesale import.
While here, mop up the #ifdef __SomeotherOS__ noise.

(pooka)

2009-05-25 22:35:01 UTC MAIN commitmail json YAML

attribute noreturn -> __dead

(dholland)

2009-05-25 22:33:00 UTC MAIN commitmail json YAML

Phase 0.5 of my options MODULAR enhancements.  As suggested by ad@,
these commits move all path handling into module_do_load() from
kobj_load_file().  This way the final path used to load a module
is available for loading <module>.plist, which will store parameters
for a module.  The end goal of this project is good support for
MODULAR device drivers.

(jnemeth)

2009-05-25 19:22:54 UTC MAIN commitmail json YAML

Convert shutdownhook_establish() to pmf_device_register1().

XXX  This should be done as part of an overall plan to support
power management and device detachment.  However, in order to do
that, I would first have to invent sbus_intr_disestablish().  This
is being done at this time in order to aid in the effort to eliminate
shutdownhook_establish().

This was based on the sys/arch/sparc64/fd.c change.  Thanks to jdc@
for testing this version.

(jnemeth)

2009-05-25 14:54:06 UTC MAIN commitmail json YAML

maintain parent node pointers to speed up search and node removal.

(yamt)

2009-05-25 14:16:55 UTC MAIN commitmail json YAML

2009-05-25 11:38:49 UTC MAIN commitmail json YAML

add VID 0x6011 case to match FT4232H chip.

(nisimura)

2009-05-25 11:36:52 UTC MAIN commitmail json YAML

2009-05-25 11:35:10 UTC MAIN commitmail json YAML

add VID 0x6011 for FT4232H quad channel chip.

(nisimura)

2009-05-25 08:33:57 UTC MAIN commitmail json YAML

Clean up scorefile handling.

This was writing time_t to disk. Worse, the time_t member was at an
unaligned offset in the structure in question, so after the time_t
change the structure layout depended on compiler-inserted structure
padding. This gives three legacy formats: one with 32-bit time, one
with 64-bit time, and one with 64-bit time and 4 bytes of structure
padding.

And of course the file didn't have a header or version coding or
anything.

The new code writes a structure of well-defined size that should not
receive unexpected padding, and gives the file a header and version
number. It reads that format and any of the three legacy formats,
figuring out which one it's dealing with by inspecting the file
contents. For good measure, it also now handles opposite-endian files,
doesn't bail out unceremoniously unless necessary, and won't croak if
the file is corrupt and e.g. contains unterminated strings.

(Was it worth going to this length? Maybe not. But it didn't seem
right to just leave it, and it's not clear where to stop halfway.)

(dholland)

2009-05-25 06:43:33 UTC MAIN commitmail json YAML

src/crypto/external/bsd/netpgp/dist/TODO@1.12 / diff / nxr@1.12
src/crypto/external/bsd/netpgp/dist/configure@1.11 / diff / nxr@1.11
src/crypto/external/bsd/netpgp/dist/configure.ac@1.11 / diff / nxr@1.11
src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/netpgp/dist/src/lib/config.h@1.11 / diff / nxr@1.11
src/crypto/external/bsd/netpgp/dist/src/lib/create.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.h@1.10 / diff / nxr@1.10
src/crypto/external/bsd/netpgp/dist/src/lib/misc.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c@1.16 / diff / nxr@1.16
src/crypto/external/bsd/netpgp/dist/src/lib/netpgpdigest.h@1.1 / diff / nxr@1.1
src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/src/lib/packet-print.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/netpgp/dist/src/lib/packet-show.c@1.9 / diff / nxr@1.9
src/crypto/external/bsd/netpgp/dist/src/lib/packet.h@1.10 / diff / nxr@1.10
src/crypto/external/bsd/netpgp/dist/src/lib/reader.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/netpgp/dist/src/lib/signature.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/src/lib/validate.c@1.14 / diff / nxr@1.14
      :
(more 3 files)
CHANGES 1.99.3 -> 1.99.4

+ get rid of some magic constants
+ revamped regression test script to count number of tests passed
+ made checkhash array in ops_seckey_t dynamic, rather than statically
  allocated
+ made mdc array dynamic, and added a length field to mdc for future use
+ revamped usage message to match reality
+ made portable version again for the autoconfed package sources
+ add separate netpgpdigest.h file so that separate digest sizes can be
  used without having to include "packet.h" in everything

(agc)

2009-05-25 04:33:53 UTC MAIN commitmail json YAML

ANSIfy function declarations.

Some object file diffs, but they are harmless. (Mostly they seem to
come from internal counters in gcc... and in one case the order of two
instructions was harmlessly swapped, which is odd and annoying.)

(dholland)

2009-05-25 03:59:46 UTC MAIN commitmail json YAML

remove prototypes of unexistent functions.  (fd_clear, fd_remove)

(yamt)

2009-05-25 00:53:46 UTC MAIN commitmail json YAML

Remove description of -a option and optional log file name, since
neither has done anything in a long long time. Add previously
undocumented -s/-f (slow vs. fast) options, although I question the
utility thereof and suspect they should just be removed.

Bump date (first time since 1993)

(dholland)

2009-05-25 00:46:02 UTC MAIN commitmail json YAML

sprintf -> snprintf

(dholland)

2009-05-25 00:43:34 UTC MAIN commitmail json YAML

2009-05-25 00:39:45 UTC MAIN commitmail json YAML

2009-05-25 00:37:27 UTC MAIN commitmail json YAML

Use random() instead of rand(), so we get something like random
numbers out.

This changes the "tournament codes"; that is, the same code will give
you a different game now from what it used to. (This is because the
codes are basically random seeds.) I really really doubt anyone cares
about this, especially since the tournament feature appears to be
undocumented.

(dholland)

2009-05-25 00:29:08 UTC MAIN commitmail json YAML

Remove obviously botched test for "fast mode" based on terminal speed.
Default to "fast mode" as ~nobody has a 300 baud terminal any more.
("Fast mode" apparently controls whether short-range scans are printed
by default at certain times.)

(dholland)

2009-05-25 00:25:59 UTC MAIN commitmail json YAML

Use getopt to handle the remaining (all currently undocumented) options.

(dholland)

2009-05-25 00:20:23 UTC MAIN commitmail json YAML

Remove last traces of undocumented -p option (apparently related to
process priority) and documented -a option, neither of which have
done anything since CSRG days.

(dholland)

2009-05-25 00:12:32 UTC MAIN commitmail json YAML

Don't give special privileges to uid 13107.

(dholland)

2009-05-25 00:07:14 UTC MAIN commitmail json YAML

__attribute__((__noreturn__)) -> __dead

(dholland)

2009-05-25 00:05:56 UTC MAIN commitmail json YAML

Null for pointers, not 0.

(dholland)

2009-05-25 00:03:18 UTC MAIN commitmail json YAML

Fix score printing so columns line up.

(dholland)

2009-05-24 23:20:22 UTC MAIN commitmail json YAML

Abolish cgetc(). It contained one line of code, which was wrong.
Call getchar() directly, and handle EOF properly instead of looping
(in some cases) or pretending that EOF is 0 (which it isn't).

(dholland)

2009-05-24 23:13:49 UTC MAIN commitmail json YAML

Add BSDCan 2009 paper to SEE ALSO.

(pooka)

2009-05-24 23:00:46 UTC MAIN commitmail json YAML

Remove unnecessary initialization that silenced a compiler warning in 1997.

(dholland)

2009-05-24 22:59:18 UTC MAIN commitmail json YAML

file(1) no longer provides the plain text "magic" database.

change the install.md script to not need file(1) similar to what the
sparc port did.

(mlelstv)

2009-05-24 22:57:37 UTC MAIN commitmail json YAML

Sprinkle some blank lines for readability.

(dholland)

2009-05-24 22:55:03 UTC MAIN commitmail json YAML

2009-05-24 21:55:24 UTC MAIN commitmail json YAML

Don't use literal ^G's in string constants. Use \a.

(dholland)

2009-05-24 21:44:57 UTC MAIN commitmail json YAML

2009-05-24 21:42:39 UTC MAIN commitmail json YAML

Note fd changes.

(ad)

2009-05-24 21:41:44 UTC MAIN commitmail json YAML

More changes to improve kern_descrip.c.

- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.

(ad)

2009-05-24 21:41:26 UTC MAIN commitmail json YAML

More changes to improve kern_descrip.c.

- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.

(ad)

2009-05-24 20:53:22 UTC MAIN commitmail json YAML

Removed old Amiga-specific "sicallback" software interrupts and replaced
them by MI softints. Approved by "is".

Also drop mptr.h from set.

(mlelstv)

2009-05-24 20:43:10 UTC MAIN commitmail json YAML

2009-05-24 20:39:43 UTC MAIN commitmail json YAML

2009-05-24 20:35:41 UTC MAIN commitmail json YAML

Apply fix borrowed from i386:  Fix const issue (cast const pointers
to "const uint8_t *" instead of "caddr_t").

(he)

2009-05-24 20:31:25 UTC MAIN commitmail json YAML

- prevent recursive error calls fatal -> die -> cleanup -> sys_cleanup -> cf* ->
  fatal/error etc.
- prefix all the errors with __func__.
This allows me to unplug my 3G modem and have pppd exit correctly.

(christos)

2009-05-24 20:10:50 UTC MAIN commitmail json YAML

<sys/syscallargs.h> requires <sys/sched.h> to define cpuset_t.

(mlelstv)

2009-05-24 19:18:45 UTC MAIN commitmail json YAML

2009-05-24 19:06:45 UTC MAIN commitmail json YAML

Put DESCRIPTION before HARDWARE. New sentence, new line.

(wiz)

2009-05-24 18:29:03 UTC MAIN commitmail json YAML

Copy build fix from i386:  Fix const issues (cast const pointers
to "const uint8_t *" instead of "caddr_t").

(he)

2009-05-24 18:22:27 UTC MAIN commitmail json YAML

KNF. No change to .o file.

(dholland)

2009-05-24 16:32:58 UTC MAIN commitmail json YAML

- detect FTDI chiptype from bcdDevice field to determine the number of
  channels.
- now capable of quad channel FT4232H.
- mention FT232BM, FT232R, FT2232D, FT2232H and FT4232H chip models.

(nisimura)

2009-05-24 16:24:26 UTC MAIN commitmail json YAML

- detect FTDI chiptype from bcdDevice field to determine the number of
  channels.
- tested on 232BM, 232RL and 2232D chips.
- now capable of quad channel FT4232H.
- minor format nit and legacy title comment removal.
- non UART type bit stream (!= ucom) support is under planning.

(nisimura)

2009-05-24 15:27:08 UTC MAIN commitmail json YAML

Remove a bunch of garbage from previous.

(skrll)

2009-05-24 15:00:24 UTC MAIN commitmail json YAML

Split out kobj structures so crash/ddb can get at them.

(ad)

2009-05-24 14:54:18 UTC MAIN commitmail json YAML

ddb: don't try to stat builtin modules.

(ad)

2009-05-24 12:59:54 UTC MAIN commitmail json YAML

SDHC card was able to be used.

(nonaka)

2009-05-24 12:27:50 UTC MAIN commitmail json YAML

Bus scans can make it appear as if the system has paused, so
twiddle constantly while config_interrupts() jobs are running.

(ad)

2009-05-24 09:17:59 UTC MAIN commitmail json YAML

2009-05-24 09:13:37 UTC MAIN commitmail json YAML

2009-05-24 06:53:35 UTC MAIN commitmail json YAML