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

2024-05-10 20:49:20 UTC Now

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

Enhance system call prints by printing out the execve() arguments

(reinoud)

2011-12-12 15:04:51 UTC MAIN commitmail json YAML

2011-12-12 13:14:23 UTC MAIN commitmail json YAML

Return ZERO to the child on fork!

(reinoud)

2011-12-12 12:36:48 UTC MAIN commitmail json YAML

Print lwp values on syscall entry

(reinoud)

2011-12-12 12:20:30 UTC MAIN commitmail json YAML

No need for such big stack spaces on lwp_fork() with the new setup.

(reinoud)

2011-12-12 11:38:26 UTC MAIN commitmail json YAML

2011-12-12 11:31:46 UTC MAIN commitmail json YAML

Call bus_space_mallocok earlier.  Moreover, don't bus_space_unmap call.

(kiyohara)

2011-12-12 11:28:04 UTC MAIN commitmail json YAML

Fix arguments for initppc().

(kiyohara)

2011-12-12 11:23:58 UTC MAIN commitmail json YAML

2011-12-12 10:56:47 UTC MAIN commitmail json YAML

Give the child more time to timeout, etc.

(skrll)

2011-12-12 07:40:56 UTC MAIN commitmail json YAML

Revert last change to elf32-hppa.c and pull across the fix to my binutils
PR 13476.

tests/lib/libc/tls on hppa still passes with this change.

(skrll)

2011-12-12 02:44:15 UTC MAIN commitmail json YAML

Using BUS_DMA_NOCACHE for bus_dmamem_map() causes issues on (at least) sparc64.

(jakllsch)

2011-12-12 01:25:29 UTC MAIN commitmail json YAML

remove duplicated code.

(christos)

2011-12-12 01:11:33 UTC MAIN commitmail json YAML

Use RT_ADVANCE when available.
Fixes PR/44838

(roy)

2011-12-12 00:15:52 UTC MAIN commitmail json YAML

Document rtadvd changes

(roy)

2011-12-12 00:06:40 UTC MAIN commitmail json YAML

When adding or scrubbing a prefix, always notify userland even if the
prefix does not have IFA_ROUTE.
Don't scrub the interface in SIOCAIFADDR if the new address does't
have IFA_ROUTE. If more functions are added to in_ifscrub then this logic
might need to be revisited.

Fixes PR/26450.

(roy)

2011-12-11 23:56:10 UTC MAIN commitmail json YAML

2011-12-11 23:01:55 UTC MAIN commitmail json YAML

We usually refer to RCS keywords as "Ids", so make it obvious in the
synopsis that this script strips RCS Ids, and cross reference
ident(1) - makes it easier to find this utility with apropos(1).

(agc)

2011-12-11 22:53:26 UTC MAIN commitmail json YAML

fixup comments - no functional change

(agc)

2011-12-11 22:34:42 UTC MAIN commitmail json YAML

make ttycons a proper tty device, now it can be the console

(jmcneill)

2011-12-11 22:33:49 UTC MAIN commitmail json YAML

2011-12-11 22:07:26 UTC MAIN commitmail json YAML

Align in the stack before calling _rtld in the way the x86_64 ABI
specifies. This is necessary to ensure that init functions are always
called with the correct alignment, e.g. in case they use SSE
instructions.

(joerg)

2011-12-11 20:45:14 UTC MAIN commitmail json YAML

Free the systemcall and pagefault stacks on lwp destroy.

XXX what about the main ucps stackspace that is used for the trampoline?

(reinoud)

2011-12-11 20:44:44 UTC MAIN commitmail json YAML

- sprinkle const
- malloc + memset -> calloc
- free + malloc -> realloc
- syslog("%s", strerror(errno)) -> syslog("%m")

(christos)

2011-12-11 20:43:03 UTC MAIN commitmail json YAML

make sure to set cn_dev and cn_pri in our consdev struct

(jmcneill)

2011-12-11 20:33:53 UTC MAIN commitmail json YAML

Rework the debug printing to use functions instead of clutting the system call
code.

(reinoud)

2011-12-11 15:25:52 UTC MAIN commitmail json YAML

Use __dead. No prototype for main.

(joerg)

2011-12-11 15:15:25 UTC MAIN commitmail json YAML

2011-12-11 15:13:58 UTC MAIN commitmail json YAML

PR# kern/45701: hdaudio stops working after suspend/resume and then detach/reattach

restore BIOS pin widget config on detach, and selected pin widget config on
resume

(jmcneill)

2011-12-11 14:59:24 UTC MAIN commitmail json YAML

Use new -mstack-alignment option to replace the removed internal option.

(joerg)

2011-12-11 14:58:51 UTC MAIN commitmail json YAML

2011-12-11 14:57:08 UTC MAIN commitmail json YAML

Test LD_PRELOAD for stack alignment as well. This exposes issues on
AMD64.

(joerg)

2011-12-11 14:05:39 UTC MAIN commitmail json YAML

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

Mark xassert as __dead

(joerg)

2011-12-11 03:30:24 UTC MAIN commitmail json YAML

2011-12-11 03:19:20 UTC MAIN commitmail json YAML

Split boot.h and memcreg.h for MKSYMS and MODULAR.

(kiyohara)

2011-12-11 03:13:20 UTC MAIN commitmail json YAML

2011-12-10 19:14:29 UTC MAIN commitmail json YAML

2011-12-10 17:50:19 UTC MAIN commitmail json YAML

Give my slow, old hardware more time to complete bsize_ffactor.

(skrll)

2011-12-10 16:16:11 UTC MAIN commitmail json YAML

no need to acquire thread lock in btsco_open / btsco_close, as they are
already held by MI audio when these methods are called

(jmcneill)

2011-12-10 05:53:59 UTC MAIN commitmail json YAML

Move determination of socket buffer sizes from startup to the first
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).
Per discussion with Maxim Konovalov and the FreeBSD problem 162661.

(lukem)

2011-12-10 02:46:07 UTC MAIN commitmail json YAML

Fixes PR kern/20700 reported by Darcy Cain

Make 1000baset connections work even when the user specifies media 1000baset
connections with ifconfig(8) rather then only when media auto is specified.

For a further discussion of this fix, see:
http://mail-index.NetBSD.org/current-users/2011/12/07/msg018561.html

(buhrow)

2011-12-09 19:15:12 UTC MAIN commitmail json YAML

Fix typo. Use more markup.

(wiz)

2011-12-09 17:32:51 UTC MAIN commitmail json YAML

only use PG_G on leaf PTEs.
go back to tlbflush(), all the global entries
that we create in pmap_bootstrap() are permanent.

(chs)

2011-12-09 17:24:25 UTC MAIN commitmail json YAML

Disabled copyin/copyout debugging messages since its swamping the output on
debug output.

(reinoud)

2011-12-09 17:23:33 UTC MAIN commitmail json YAML

Restructure dev/clock to run from the signal stack since its safe to do now.

(reinoud)

2011-12-09 17:21:45 UTC MAIN commitmail json YAML

Disable aio usage in thunkbus_ld since mixing ucontext_t and threads is a NONO
according to the manpage.

Why is AIO using a pthread?

(reinoud)

2011-12-09 17:20:21 UTC MAIN commitmail json YAML

Enhance printing of system callss

(reinoud)

2011-12-09 15:26:48 UTC MAIN commitmail json YAML

- add a CAVEATS
- fix a warning

(yamt)

2011-12-09 15:24:39 UTC MAIN commitmail json YAML

- fix the section
- fix a warning

(yamt)

2011-12-09 15:17:34 UTC MAIN commitmail json YAML

2011-12-09 11:47:49 UTC MAIN commitmail json YAML

Move events/interrupt subsystem initialisation to before when ipis are used

(cherry)

2011-12-09 10:58:51 UTC MAIN commitmail json YAML

2011-12-09 10:14:20 UTC MAIN commitmail json YAML

2011-12-09 10:08:47 UTC MAIN commitmail json YAML

2011-12-09 09:47:39 UTC MAIN commitmail json YAML

auvia reported to work

(mrg)

2011-12-09 09:27:14 UTC MAIN commitmail json YAML

Remove empty lines in ttycons_consinit

(reinoud)

2011-12-09 08:56:55 UTC MAIN commitmail json YAML

provide a lock for mpu_attach.

(mrg)

2011-12-09 06:50:36 UTC MAIN commitmail json YAML

Use random seed file (saved entropy) from default location by default
in i386 and amd64 boot.cfg.

(tls)

2011-12-09 05:08:25 UTC MAIN commitmail json YAML

drop the thread lock in a couple of error cases that were missing.

(mrg)

2011-12-09 05:06:57 UTC MAIN commitmail json YAML

update a little:  zaudio failure, uaudio/umidi success

(mrg)

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

from the usbmp branch:
- drop the thread lock when usbd might sleep on us.

this also makes mixerctl -s vs play work without usbmp.

(mrg)

2011-12-09 03:58:12 UTC MAIN commitmail json YAML

Use mutex(9) instead of spl(9). Add further locks around grant table access.

(cherry)

2011-12-09 01:53:00 UTC jmcneill-usbmp commitmail json YAML

- make pipe->close method take the thread lock

- convert usb_taskq to use mutex/cv

- convert needs_explore usage into a cv on the thread lock

- remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly
  MPSAFE here now

- use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts

- drop the audio thread lock when calling into usb when it may sleep,
  avoiding a deadlock between audiowrite and audioioctl.  this fixes
  mixerctl -a vs. playing hanging the system
  XXX probably need to check this in a bunch more places.

(mrg)

2011-12-08 23:36:57 UTC MAIN commitmail json YAML

- Explain the magic in npf_tcpfl2case().
- Use __unused instead of (void)cast; fix comment.

(rmind)

2011-12-08 22:38:47 UTC jmcneill-usbmp commitmail json YAML

2011-12-08 22:36:42 UTC MAIN commitmail json YAML

pmap_bootstrap: use tlbflushg(), not tlbflush(), since we use global pages.

(rmind)

2011-12-08 22:27:36 UTC MAIN commitmail json YAML

Uses uintptr_t and therefore needs stdint.h.

(dholland)

2011-12-08 22:04:56 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

2011-12-08 21:00:50 UTC MAIN commitmail json YAML

Track if we saved l_private in the mcontext and don't blindly restore it.

This fixes the tests in /usr/tests/lib/libc/setjmp/t_threadjmp

(skrll)

2011-12-08 20:21:31 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

pull across a few more of the changes from the main branch.

(mrg)

2011-12-08 15:35:35 UTC MAIN commitmail json YAML

allow building without direct-map support in non-XEN kernels.

(chs)

2011-12-08 11:01:59 UTC MAIN commitmail json YAML

build fix for keylock secmodel(9).

(jym)

2011-12-08 10:41:28 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

2011-12-08 10:22:40 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

2011-12-08 09:54:30 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

mostly in sync with the branch here now.

(mrg)

2011-12-08 09:36:49 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

2011-12-08 09:09:30 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

partial sync with main branch

(mrg)

2011-12-08 08:56:57 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

2011-12-08 08:52:25 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

sync a couple more changes from the main branch, uaudio@ohci still works.

(mrg)

2011-12-08 08:17:30 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

slightly closer, and still working with uaudio.

(mrg)

2011-12-08 07:53:56 UTC mrg-ohci-jmcneill-usbmp commitmail json YAML

there's something wrong with uaudio@ohci on the usbmp branch.
this is the minimally working port of ohci to mpusb, and it works
with uaudio but is lacking many other changes, yet.

(mrg)

2011-12-08 03:34:48 UTC MAIN commitmail json YAML

kmem_free() the appropriate size.

Thanks cegger@

(cherry)

2011-12-08 03:10:10 UTC jmcneill-usbmp commitmail json YAML

convert the remaining wakeup(xfer)'s to use the xfer->cv.

utoppy - untested.

(mrg)

2011-12-08 02:51:08 UTC jmcneill-usbmp commitmail json YAML

- convert usbd_bus_methods{} and usbd_pipe_methods{} to use
  c99 struct initialisers

- move the locks from the pipe to the bus, since we'll need
  access to them from bus-level ops

- remove dead-for-years SPLUSBCHECK and replaced it with
  asserts that the thread lock is held

- begin to document the locking scheme

- convert usbd_*lock_pipe() into real function-like macros

(mrg)

2011-12-08 02:27:14 UTC MAIN commitmail json YAML

Use a constant array for the MIB. Newer LLVM decided that mib[] warranted
stack protections, with the obvious crash after the setup was done.
As a positive side effect, code size shrinks a bit.

(joerg)

2011-12-08 01:15:03 UTC MAIN commitmail json YAML

According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.

(taca)

2011-12-08 01:11:47 UTC MAIN commitmail json YAML

ISC DHCP 4.2.3-P1 and 4.1-ESV-R4 has released.

(taca)

2011-12-08 01:08:19 UTC MAIN commitmail json YAML

2011-12-07 22:52:54 UTC MAIN commitmail json YAML

be more portable, explain what we are doing, simplify.

(christos)

2011-12-07 22:52:17 UTC jmcneill-usbmp commitmail json YAML

kill some #ifdef USB_DEBUG with some compiler smarts.

(mrg)

2011-12-07 22:14:43 UTC MAIN commitmail json YAML

Add the secmodel_extensions variants of the kernel modules.

(he)

2011-12-07 17:38:50 UTC MAIN commitmail json YAML

2011-12-07 17:35:01 UTC MAIN commitmail json YAML

We need to hold the lock during mpu_find().

(jakllsch)

2011-12-07 16:26:23 UTC MAIN commitmail json YAML

replace malloc() with kmem_zalloc() per request from cherry.
While here fix error path.

XXX: The size allocated and freed for interrupt handlers looks
inconsistent to me.

(cegger)

2011-12-07 16:11:02 UTC MAIN commitmail json YAML

2011-12-07 16:01:39 UTC MAIN commitmail json YAML

2011-12-07 15:47:43 UTC MAIN commitmail json YAML

2011-12-07 15:40:15 UTC MAIN commitmail json YAML

2011-12-07 15:04:19 UTC MAIN commitmail json YAML

2011-12-07 14:41:19 UTC MAIN commitmail json YAML

Welcome to Xen 4.1.2 headers.

New interfaces for PV drivers:
- Xen transcedent memory
- USB IO
- SCSI IO

PCI IO improvements:
- PCI MSI support
- PCI Express AER support

New features:
- xen honors flags to be placed into guest kernel available pte bits
  if enabled (for grant table)
- support for 128 vcpus
  (old interface is still present and supports up to 32 vcpus)
- PCI passthrough: new hypercalls to support SR-IOV
- new hypercall for physical cpu hotplugging
- new hypercall for physical page offlining
- fixes to compile with clang
- machine check recovery mechanism

Status:

Vendor Tag: Xen
Release Tags: xen-4_1_2

(cegger)

2011-12-07 13:49:04 UTC MAIN commitmail json YAML

build fix: add back <sys/malloc.h>. malloc(9) is still in use.

(cegger)

2011-12-07 13:24:04 UTC MAIN commitmail json YAML

2011-12-07 13:15:47 UTC MAIN commitmail json YAML

src/sys/arch/xen/include/xen-public/COPYING@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-ia64.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-ia64/debug_op.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-ia64/hvm/memmap.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-ia64/hvm/save.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-ia64/sioemu.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/cpuid.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/hvm/save.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/xen-mca.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/xen-x86_32.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/xen-x86_64.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/arch-x86/xen.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/callback.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/domctl.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/elfnote.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/elfstructs.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/features.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/hvm/e820.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/hvm/hvm_info_table.h@1.1.1.1 / diff / nxr@1.1.1.1
src/sys/arch/xen/include/xen-public/hvm/hvm_op.h@1.1.1.1 / diff / nxr@1.1.1.1
      :
(more 29 files)
re-import xen3-public to rename this to xen-public

Status:

Vendor Tag: Xen
Release Tags: xen-3_3_0

(cegger)

2011-12-07 12:31:51 UTC MAIN commitmail json YAML

Move to kmem_zalloc() instead of malloc().

(cherry)

2011-12-07 09:08:00 UTC MAIN commitmail json YAML

consolidate bit twiddling functions into one generic case and a bunch of
macros, use them

(macallan)

2011-12-07 08:49:29 UTC MAIN commitmail json YAML

add a bunch of register definitions

(macallan)

2011-12-07 05:41:54 UTC jmcneill-usbmp commitmail json YAML

make this build without DIAGNOSTIC

(macallan)

2011-12-06 21:15:39 UTC MAIN commitmail json YAML

Deal with __MACHINE_STACK_GROWS_UP machines.

constify the other psize while I'm here.

Thanks to Christos for looking.

(skrll)

2011-12-06 19:41:03 UTC MAIN commitmail json YAML

Per [1] the speed of light in a vaccum is exactly 299792458 m/s.
Per [2] a furlong is 220 yards and a yard is exactly 0.9144 m.
Per [3] a fortnight is 14 days.

As I didn't find a good authority for what definition of a day a fortnight is
measured in, I'll assume here a day is 86400 SI seconds.

Thus, the speed of light in a vaccum is approximately
1.80*10^12 furlongs per fortnight.

1.80*10^12 = 299792458*86400*14/(220*0.9144)

[1] Resolution 1 of the 17th meeting of the CGPM (1983)
http://www.bipm.org/en/CGPM/db/17/1/
[2] Weights and Measures Act 1985
http://www.legislation.gov.uk/ukpga/1985/72
[3] The Concise Oxford Dictionary, 5th Edition, 1964, p. 480

(jakllsch)

2011-12-06 19:05:43 UTC MAIN commitmail json YAML

Make break handling (where supported by the hardware/firmware) actually work.

(jakllsch)

2011-12-06 18:18:59 UTC MAIN commitmail json YAML

Remove expected failure now that PR/44708 is fixed.

(njoly)

2011-12-06 18:12:25 UTC MAIN commitmail json YAML

Remove the unneeded rump component; the library already includes the
module code that will be initialised by rump.

Fix PR/44708, t_zpool:create test failure for RUMP_LOCKDEBUG=yes
builds.

(njoly)

2011-12-06 18:04:31 UTC MAIN commitmail json YAML

Do not protect wrong KASSERT by LOCKEDBUG ifdef/endif, the latter uses
its own mecanism. Kill them both.
From discussion with pooka@.

(njoly)

2011-12-06 17:49:35 UTC matt-nb5-mips64 commitmail json YAML

Allocate the locks from the same page we allocate the cpu_info and
pmap_tlb_info structure.  This assures they will be in KSEG0.

(matt)

2011-12-06 17:44:46 UTC matt-nb5-mips64 commitmail json YAML

Use MIPS_COP_0_OSSCRATCH instead $22

(matt)

2011-12-06 17:37:55 UTC matt-nb5-mips64 commitmail json YAML

2011-12-06 05:40:03 UTC jmcneill-usbmp commitmail json YAML

don't take the sc_lock in uhci_device_request() since it is already
taken (as verified by the assert at the top of this function.)

(mrg)

2011-12-06 05:26:26 UTC jmcneill-usbmp commitmail json YAML

kassert the right lock.

(mrg)

2011-12-06 05:06:50 UTC jmcneill-usbmp commitmail json YAML

my compiles-but-un-runtime-tested port of uhci to usbmp branch.
based upon the ohci and ehci changes.

(mrg)

2011-12-06 05:05:30 UTC jmcneill-usbmp commitmail json YAML

don't forget to drop the lock in ohci_intr if we got there when
polling.  also don't try to drop a lock we don't have in ohci_open.

XXX: these might apply to ehci as well, i found them when porting
XXX: to uhci.

(mrg)

2011-12-06 02:10:02 UTC jmcneill-usbmp commitmail json YAML

need to ensure kpreempt_disable() for softint_schedule().

fix the locking in ohci_timeout_task(), ohci_device_isoc_start(),
ohci_device_isoc_abort() and ohci_device_isoc_close().

uaudio(4) can still play with these, but mixerctl -a against it will
hang the writer.  however, mixerctl continues to run in a tight loop
and the system isn't soft-locked up at this point, an advance from
how it is in -current.

(mrg)

2011-12-05 23:04:39 UTC MAIN commitmail json YAML

do_sys_sync() is part of vfs, hence rumpvfs. Used by pmf(9) during
device suspend, so explicitly link against rumpvfs to resolve that
symbol when linking rumpdev.

Unbreaks "rumptest" target.

(jym)

2011-12-05 21:30:48 UTC MAIN commitmail json YAML

close the comment, there is a draft.

(christos)

2011-12-05 20:55:14 UTC MAIN commitmail json YAML

PR/45687: Mike Pumford: savecore: (null): _ksyms_hdr not in namelist
Make it non-static and add a comment so that they don't become static again.

(christos)

2011-12-05 19:20:55 UTC MAIN commitmail json YAML

make joy code consistent (avoid games with pointers), and fix the isa softc
declaration

(christos)

2011-12-05 15:04:27 UTC MAIN commitmail json YAML

Fix mm_md_kernacc to report correct status for the direct mapped pages
between kernel start and end of physical memory.  Report everything else
as unhandled.

(skrll)

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

The union file system is as stable as other layered file systems so
no longer print a warning to the console.

Gnats is waiting ...

(hannken)

2011-12-05 10:43:26 UTC MAIN commitmail json YAML

Remove ".gitignore" files which blacklist some files that actually are
in the NetBSD sources. This should fix build problems for people using
GIT to track current.

Problem reported by Evgeniy Ivanov on "current-users" mailing list.

(tron)

2011-12-05 10:36:40 UTC MAIN commitmail json YAML

Remove trailing whitespace and fix a typo.

(wiz)

2011-12-05 10:27:41 UTC MAIN commitmail json YAML

Do not xref to itself.

(wiz)

2011-12-05 07:36:32 UTC MAIN commitmail json YAML

Remove unused file.

(skrll)

2011-12-05 07:34:51 UTC MAIN commitmail json YAML

2011-12-05 02:04:34 UTC MAIN commitmail json YAML

2011-12-05 00:34:25 UTC MAIN commitmail json YAML

- Add npf_tcpfl2case() and make TCP state table more compact.
- Adjust the state for FIN case on sim-SYN and SYN-RECEIVED.

(rmind)

2011-12-05 00:13:31 UTC MAIN commitmail json YAML

secmodel_eval(9) may want to access securelevel before it is set
to the right value, so init it first before registering secmodel(9).

(jym)

2011-12-04 23:59:25 UTC MAIN commitmail json YAML

KAUTH_GENERIC_CANSEE is no more.

(jym)

2011-12-04 23:55:36 UTC MAIN commitmail json YAML

Update secmodel_examples to better describe the secmodel(9) API.

(jym)

2011-12-04 23:13:54 UTC MAIN commitmail json YAML

Hook secmodel_extensions(9) to modules build.

(jym)

2011-12-04 21:52:37 UTC MAIN commitmail json YAML

GETPARAMS => GETPARAM
SETPARAMS => SETPARAM

(jym)

2011-12-04 21:08:46 UTC MAIN commitmail json YAML

Improvements in secmodel(9). Document secmodel_register(9), _deregister(9)
and _eval(9).

Add secmodel_extensions(9), and indicate the new sysctl(7) to let
ordinary users control the CPU affinity (user_set_cpu_affinity).

(jym)

2011-12-04 21:04:51 UTC MAIN commitmail json YAML

When user_set_cpu_affinity is non-zero, only allow users to modify
the CPU affinity of the LWPs they own.

(jym)

2011-12-04 21:02:27 UTC jmcneill-usbmp commitmail json YAML

2011-12-04 19:48:36 UTC MAIN commitmail json YAML

correct some typos in comments, whitespace adjustments

(jakllsch)

2011-12-04 19:34:22 UTC MAIN commitmail json YAML

change printed indicator and battery charge strings from ON and OFF to TRUE
and FALSE, because messages like "battery present: ON" are difficult for my
brain to parse.

(jmcneill)

2011-12-04 19:25:01 UTC MAIN commitmail json YAML

Implement the register/deregister/evaluation API for secmodel(9). It
allows registration of callbacks that can be used later for
cross-secmodel "safe" communication.

When a secmodel wishes to know a property maintained by another
secmodel, it has to submit a request to it so the other secmodel can
proceed to evaluating the request. This is done through the
secmodel_eval(9) call; example:

    bool isroot;
    error = secmodel_eval("org.netbsd.secmodel.suser", "is-root",
        cred, &isroot);
    if (error == 0 && !isroot)
            result = KAUTH_RESULT_DENY;

This one asks the suser module if the credentials are assumed to be root
when evaluated by suser module. If the module is present, it will
respond. If absent, the call will return an error.

Args and command are arbitrarily defined; it's up to the secmodel(9) to
document what it expects.

Typical example is securelevel testing: when someone wants to know
whether securelevel is raised above a certain level or not, the caller
has to request this property to the secmodel_securelevel(9) module.
Given that securelevel module may be absent from system's context (thus
making access to the global "securelevel" variable impossible or
unsafe), this API can cope with this absence and return an error.

We are using secmodel_eval(9) to implement a secmodel_extensions(9)
module, which plugs with the bsd44, suser and securelevel secmodels
to provide the logic behind curtain, usermount and user_set_cpu_affinity
modes, without adding hooks to traditional secmodels. This solves a
real issue with the current secmodel(9) code, as usermount or
user_set_cpu_affinity are not really tied to secmodel_suser(9).

The secmodel_eval(9) is also used to restrict security.models settings
when securelevel is above 0, through the "is-securelevel-above"
evaluation:
- curtain can be enabled any time, but cannot be disabled if
securelevel is above 0.
- usermount/user_set_cpu_affinity can be disabled any time, but cannot
be enabled if securelevel is above 0.

Regarding sysctl(7) entries:
curtain and usermount are now found under security.models.extensions
tree. The security.curtain and vfs.generic.usermount are still
accessible for backwards compat.

Documentation is incoming, I am proof-reading my writings.

Written by elad@, reviewed and tested (anita test + interact for rights
tests) by me. ok elad@.

See also
http://mail-index.netbsd.org/tech-security/2011/11/29/msg000422.html

XXX might consider va0 mapping too.

XXX Having a secmodel(9) specific printf (like aprint_*) for reporting
secmodel(9) errors might be a good idea, but I am not sure on how
to design such a function right now.

(jym)

2011-12-04 19:22:57 UTC jmcneill-usbmp commitmail json YAML

change callout_stop + usbd_delay_ms to callout_halt + callout_destroy in
ehci_detach

(jmcneill)

2011-12-04 18:34:20 UTC MAIN commitmail json YAML

- add the bool type for IMMEDIATE flag.
- minor tweak to the handler example: it leaks 't' (on stack)
  when passed to sysctl_lookup(9), as it copyout its content via
  sysctl_data. That would not be the case if CTLFLAG_IMMEDIATE flag
  was set for this node but the example does not preclude that.

(jym)

2011-12-04 17:00:10 UTC MAIN commitmail json YAML

2011-12-04 16:53:08 UTC MAIN commitmail json YAML

Use the tlsoffset from the correct object.

(skrll)

2011-12-04 16:24:13 UTC MAIN commitmail json YAML

map all of physical memory using large pages.
ported from openbsd years ago by Murray Armfield,
updated for changes since then by me.

(chs)

2011-12-04 15:15:41 UTC MAIN commitmail json YAML

[merging from cherry-xenmp]
Make MP aware: use mutex(9) instead of spl(9)

(cherry)

2011-12-04 15:12:07 UTC MAIN commitmail json YAML

Revert Christos's accidental changes.

(dholland)

2011-12-04 13:23:17 UTC jmcneill-usbmp commitmail json YAML

2011-12-04 13:09:07 UTC MAIN commitmail json YAML

2011-12-04 13:01:54 UTC MAIN commitmail json YAML

2011-12-04 04:28:41 UTC MAIN commitmail json YAML

Split out the cross-CPU tlb flushing code between XEN and non-XEN.
x86 tlb flushing is asynchronous and uses x86_ipi()
XEN tlb flushing uses synchronous hypercalls.

(cherry)

2011-12-03 23:09:42 UTC MAIN commitmail json YAML

Extend the mppb(4) man page.

(rkujawa)

2011-12-03 22:41:40 UTC MAIN commitmail json YAML

hypervisor_unmask_event(): don't check/update evtchn_pending_sel for the
  current CPU, but for any CPU which may accept this event.
xen/xenevt.c: more use of atomic ops and locks where appropriate, and some
  other SMP fixes. Handle all events on the primary CPU (may be revisited
  later). Set/clear ci_evtmask[] for watched events.

This should fix the problems on dom0 kernels reported by jym@

(bouyer)

2011-12-03 22:36:29 UTC MAIN commitmail json YAML

xbdback_disconnect() can be called twice,  from XenbusStateClosing then from
xbdback_xenbus_destroy(). The second call will wait forever as the first
already caused the xbd thread to exit.
Have xbdback_disconnect() check if we're already disconnected and if so,
do nothing.

(bouyer)

2011-12-03 16:25:50 UTC MAIN commitmail json YAML

If we are DIAGNOSTIC don't try to go further if we failed to take the
lock, because we are going to trigger a KASSERT. Also hold the lock
longer and take the proc lock for kpsignal(). Maybe we should add
mutex_steal() and mutex_return() for the debugger? Lock correction
suggestion from jmcneill.

(christos)

2011-12-03 10:53:10 UTC MAIN commitmail json YAML

Don't try to set ld->sc_maxxfer below MAXPHYS.
At least genfs_io assumes 'ld->sc_maxxfer == MAXPHYS'.

(hannken)

2011-12-03 08:20:12 UTC MAIN commitmail json YAML

the argument of esa_get_locks() is struct esa_voice *, not struct esa_softc *.

ok by mrg@ jmcneill@

(ryo)

2011-12-03 01:56:56 UTC matt-nb5-mips64 commitmail json YAML

Rework things a bit for the XLR/XLS/XLP TLB.  Before dealing with the TLB when
MP on the XL?, disable interrupts and take out a lock to prevent concurrent
updates to the TLB.  In the TLB miss and invalid exception handlers, if the
lock is already owned by another CPU, simply return from the exception and
let it continue or restart as appropriate.  This prevents concurrent TLB
exceptions in multiple threads from possibly updating the TLB multiple times
for a single address.

(matt)

2011-12-03 01:44:04 UTC matt-nb5-mips64 commitmail json YAML

2011-12-02 23:57:59 UTC MAIN commitmail json YAML

deal with the proc_lock mutex.

(christos)

2011-12-02 22:28:47 UTC MAIN commitmail json YAML

actually pass $COPTS to the compiler
ok mrg@

(macallan)

2011-12-02 18:07:26 UTC MAIN commitmail json YAML

PR/32394 -- Don't define 'panic' label unconditionally, or "minimal
mobilepro 780 kernel configuration will not build".

OK by wiz@

(shattered)

2011-12-02 16:54:32 UTC yamt-pagecache commitmail json YAML

2011-12-02 16:37:43 UTC MAIN commitmail json YAML

yamt-pagecache: update

(yamt)

2011-12-02 16:33:59 UTC yamt-pagecache commitmail json YAML

adapt hp700.  compile tested.

(yamt)

2011-12-02 16:33:10 UTC yamt-pagecache commitmail json YAML

2011-12-02 16:17:04 UTC MAIN commitmail json YAML

Define NO_MANUAL_XFER on luna68k as temporary workaround for hangup problem
during probing old drives like DK312C in OMRON LUNA machines.

I'll check this MSGIN xfer problem later.
(NO_MANUAL_XFER also caused hang on heavy load on hp300 with multiple drives)

(tsutsui)

2011-12-02 16:01:50 UTC MAIN commitmail json YAML

- create scsibus1 for external SCSI bus on LUNA-II
- also create sd1 sd2 sd3 cd0 cd1 st1 devices on all_md

(tsutsui)

2011-12-02 15:21:15 UTC MAIN commitmail json YAML

Also ignore out of space conditions for -I so we can create overlapping
partitions on a full disk. Document and add it to the options.

(christos)

2011-12-02 14:38:52 UTC MAIN commitmail json YAML

2011-12-02 13:50:55 UTC MAIN commitmail json YAML

auich(4) tested on port-i386.

(mbalmer)

2011-12-02 13:36:18 UTC MAIN commitmail json YAML

Update status on auixp on i386

(reinoud)

2011-12-02 12:38:59 UTC MAIN commitmail json YAML

- move disk cache flushing code into a separate function.
- more verbose output if vfs.wapbl.verbose_commit >= 2.
  namely, time taken for each DIOCCACHESYNC calls.
wapbl_flush: 1322826000.785245900 this transaction = 546304 bytes
wapbl_cache_sync: 1: dev 0x0 0.017572724
wapbl_cache_sync: 2: dev 0x0 0.007199825
wapbl_flush: 1322826011.860771302 this transaction = 431104 bytes
wapbl_cache_sync: 1: dev 0x0 0.019469753
wapbl_cache_sync: 2: dev 0x0 0.009473410
wapbl_flush: 1322829266.489154342 this transaction = 187904 bytes
wapbl_cache_sync: 1: dev 0x4 0.022270180
wapbl_cache_sync: 2: dev 0x4 0.030749402
- fix a comment.

(yamt)

2011-12-02 12:33:12 UTC MAIN commitmail json YAML

2011-12-02 12:32:38 UTC MAIN commitmail json YAML

2011-12-02 12:31:53 UTC MAIN commitmail json YAML

move priority inheritance code to separate functions

(yamt)

2011-12-02 12:31:03 UTC MAIN commitmail json YAML

2011-12-02 12:30:14 UTC MAIN commitmail json YAML

fix an indent an unwarp a short line.

(yamt)

2011-12-02 12:29:36 UTC MAIN commitmail json YAML

update a comment

(yamt)

2011-12-02 12:17:51 UTC MAIN commitmail json YAML

2011-12-02 11:58:44 UTC MAIN commitmail json YAML

audio cookie is a struct auixp_codec, not auixp_softc

(jmcneill)

2011-12-02 11:09:53 UTC MAIN commitmail json YAML

note that dreamcast/aica works, and that auixp does not.

(mrg)

2011-12-02 10:42:51 UTC MAIN commitmail json YAML

update uaudio status

(mrg)

2011-12-02 10:08:44 UTC matt-nb5-mips64 commitmail json YAML

Merge support for NetLogic XLP processors.

(matt)

2011-12-02 09:44:48 UTC MAIN commitmail json YAML

2011-12-02 09:40:18 UTC MAIN commitmail json YAML

Revert

http://sourceware.org/ml/binutils/2010-01/msg00594.html

which broken TLS relocations for DSOs - the relocation wasn't being
adjusted wrt the GP.

A proper fix is in the pipeline.

(skrll)

2011-12-02 09:06:49 UTC MAIN commitmail json YAML

Restore backwards compatibility by removing unnecessary addition of
dlvsym to Obj_Entry.

Add some comments.

(skrll)

2011-12-02 08:50:18 UTC MAIN commitmail json YAML

Regen to catch up recent changes (x68k/pow and iscsi).

(njoly)

2011-12-02 04:05:20 UTC MAIN commitmail json YAML

Add missing -F flag and -I flag in usage.  Sort the order to match
manpage.

(enami)

2011-12-02 03:04:11 UTC MAIN commitmail json YAML

put the error check in the conditional where it belongs.

(christos)

2011-12-02 00:25:37 UTC MAIN commitmail json YAML

2011-12-02 00:02:02 UTC matt-nb5-mips64 commitmail json YAML

2011-12-02 00:01:38 UTC matt-nb5-mips64 commitmail json YAML

2011-12-01 23:59:14 UTC matt-nb5-mips64 commitmail json YAML

Add code to deal with direct mapped uareas.

(matt)