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 (4h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 02:51:22 UTC Now

2012-05-12 21:28:59 UTC jmcneill-usbmp commitmail json YAML

port this to usbmp and also make it largely MPSAFE, but not yet enough
for D_MPSAFE to be added.  should be merge-ready now, but needs testing.

(mrg)

2012-05-12 19:53:22 UTC MAIN commitmail json YAML

Remove traces of -D option, which no longer does anything.

(dholland)

2012-05-12 19:47:26 UTC MAIN commitmail json YAML

Remove traces of -D flag, which no longer does anything.

(dholland)

2012-05-12 18:42:08 UTC MAIN commitmail json YAML

remove a bogus optimization introduced in the previous change.
fixes hangs in the rump/rumpvfs/t_etfs test.

(chs)

2012-05-12 15:29:22 UTC MAIN commitmail json YAML

Explicitly specify a proper FDC data register address for HD63450 DMAC
to avoid confusion.

Previous one (fdc->sc_addr + fddata) wasn't a right address for
the FDC's data register but one for the command register by accident,
but FDC ignores A0 address input (connected to A1 of x68k address bus)
during DMA xfer (i.e. when DACK is asserted) so it happened to work
as expected on the real X680x0 hardware, but caused trouble on emulators.

The inconsistency was found by Y.Sugahara during debugging XM6i emulator
(and it will be fixed in the next release).
FDC behavior during DMA is confirmed by uPD72068 hardware application note.

XXX: There is no proper MI API to specify DMA address for DMA controller
    (like MC68450) to access devices mapped to memory space by bus_space(9).

(tsutsui)

2012-05-12 15:17:15 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2012-05-12 14:52:58 UTC MAIN commitmail json YAML

Change or add history. I checked the 1bsd archives and this first
appeared in 1BSD (before it was known as 1BSD). I looked at code and
later sccs history to confirm.  In the case of rewritten code, we are
not consistent in manpages indicating that history.

(reed)

2012-05-12 14:42:12 UTC MAIN commitmail json YAML

Clarify description of -s switch.

(reed)

2012-05-12 13:40:21 UTC MAIN commitmail json YAML

No longer wrongly advertise ad-hoc (IBSS) mode as being supported.

Fixes kern/46101

No objection from current-users@

(khorben)

2012-05-12 13:13:24 UTC MAIN commitmail json YAML

Move I2C node adjustment stuff to autoconf.c from iic_eumb.c for
the ease of maintainance.

(nisimura)

2012-05-12 10:27:17 UTC MAIN commitmail json YAML

More "no" designations to reflect the target NAS hardware configuration.
Is provided as a reference for other NAS platforms.  Before-after
factor is the 91% fitness.

(nisimura)

2012-05-12 08:31:53 UTC MAIN commitmail json YAML

Add KURO-BOX/T4 support to sysinst. Tested good with the target
machine.

(nisimura)

2012-05-12 01:40:37 UTC MAIN commitmail json YAML

2012-05-11 21:40:50 UTC MAIN commitmail json YAML

A temporary solution to have KURO-BOX/T4 two way "dialogue" style
sat protocol. Need more work for robustness. Unbreak the previous
commit made by accident.

(nisimura)

2012-05-11 21:22:10 UTC MAIN commitmail json YAML

- have wd[23] and raid[01] device nodes for 4 drive NAS models.
- let sysinst to have atactl(8), dkctl(8) and raidctl(8).

(nisimura)

2012-05-11 21:12:35 UTC MAIN commitmail json YAML

make sure to have the correct I2C TOD attached for KURO-BOX/T4.

(nisimura)

2012-05-11 19:11:07 UTC netbsd-4-0 commitmail json YAML

2012-05-11 19:00:37 UTC MAIN commitmail json YAML

2012-05-11 18:41:13 UTC MAIN commitmail json YAML

Fix alignment display for temperature, fans and integer units.

(njoly)

2012-05-11 18:07:34 UTC MAIN commitmail json YAML

pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)

(drochner)

2012-05-11 17:18:35 UTC netbsd-4-0 commitmail json YAML

Apply patch (requested by drochner in ticket #1444):

crypto/dist/openssl/crypto/mem.c                patch
crypto/dist/openssl/crypto/asn1/a_d2i_fp.c      patch
crypto/dist/openssl/crypto/buffer/buffer.c      patch

        Address CVE-2012-2110.
        [drochner, ticket #1444]

(riz)

2012-05-11 17:18:08 UTC netbsd-4 commitmail json YAML

2012-05-11 17:17:47 UTC netbsd-4 commitmail json YAML

Apply patch (requested by drochner in ticket #1444):

crypto/dist/openssl/crypto/mem.c patch
crypto/dist/openssl/crypto/asn1/a_d2i_fp.c patch
crypto/dist/openssl/crypto/buffer/buffer.c patch

Address CVE-2012-2110.
[drochner, ticket #1444]

(riz)

2012-05-11 17:14:12 UTC MAIN commitmail json YAML

2012-05-11 15:39:18 UTC MAIN commitmail json YAML

2012-05-11 14:51:39 UTC MAIN commitmail json YAML

Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.

Should fix PR kern/44092.

(nakayama)

2012-05-11 04:05:54 UTC MAIN commitmail json YAML

in ether_ifdetach(), clear if_mowner before releasing what it points to.
fixes PR 42982.

(chs)

2012-05-10 19:53:27 UTC MAIN commitmail json YAML

Don't use the cache when building nodes that might have changed since the
last exec.

(christos)

2012-05-10 19:41:52 UTC MAIN commitmail json YAML

2012-05-10 19:40:46 UTC MAIN commitmail json YAML

Fix rt_sigtimedwait():
It is wishful thinking that:
    1. declaring a 32 bit syscall with 64 bit pointers
    2. passing a struct with 32 bit pointers to a 64 bit function
is going to work.

(christos)

2012-05-10 19:38:23 UTC MAIN commitmail json YAML

2012-05-10 19:08:34 UTC MAIN commitmail json YAML

Swap byte order of ext2fs_direct fields in ext2fs_rename_recalculate_fulr.

Symptom found and fix tested by martin.

ok martin

(riastradh)

2012-05-10 15:36:09 UTC MAIN commitmail json YAML

2012-05-10 12:35:53 UTC MAIN commitmail json YAML

xc_wait() does not wait for all cpus to finish
their callback. That means the ucode buffer is released while still in use
and this causes a crash.
Quick fix: check if the ucode buffer has been freed and abort.
You may need to run 'cpuctl ucode' twice to apply it to all cpus.

Per discussion with rmind@ use low priority xcalls and splhigh.

(cegger)

2012-05-10 11:47:09 UTC MAIN commitmail json YAML

2012-05-10 11:03:22 UTC MAIN commitmail json YAML

2012-05-10 11:01:35 UTC MAIN commitmail json YAML

2012-05-10 10:48:24 UTC MAIN commitmail json YAML

2012-05-10 10:27:11 UTC MAIN commitmail json YAML

2012-05-10 09:56:27 UTC MAIN commitmail json YAML

2012-05-10 07:57:02 UTC MAIN commitmail json YAML

Disable scary but probably harmless printf.

Still need to find why this harmless-but-shouldn't-happen case is
happening, but in the mean time, we can stop scaring people with it.

(riastradh)

2012-05-10 07:51:34 UTC MAIN commitmail json YAML

Update ffs, ext2fs, and tmpfs module makefiles to add *_rename.c.

ok martin

(riastradh)

2012-05-10 07:48:07 UTC MAIN commitmail json YAML

Welcome to 6.99.7, courtesy of genfs_rename.

ok martin

(riastradh)

2012-05-10 07:39:48 UTC MAIN commitmail json YAML

2012-05-10 03:16:50 UTC MAIN commitmail json YAML

2012-05-10 01:25:25 UTC MAIN commitmail json YAML

2012-05-09 22:50:52 UTC netbsd-6 commitmail json YAML

2012-05-09 22:49:06 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #243):
sys/arch/powerpc/booke/dev/pq3gpio.c: revision 1.5
Fix P2020 GPIO support (which has pins that are input/output instead of just
input or output).

(riz)

2012-05-09 22:47:04 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #242):
sys/arch/powerpc/include/cpu.h: revision 1.91
Don't use global asm for __clang__

(riz)

2012-05-09 22:46:25 UTC MAIN commitmail json YAML

Fix omitted VN_KNOTE(fvp, NOTE_RENAME) in tmpfs_rename.

Missed that line while refactoring tmpfs_rename to use genfs_rename.

(riastradh)

2012-05-09 22:42:32 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #241):
sys/arch/powerpc/conf/kern-mb.ldscript: revision 1.1
sys/arch/powerpc/include/booke/pmap.h: revision 1.9
sys/arch/powerpc/booke/e500_tlb.c: revision 1.8
sys/arch/powerpc/conf/files.powerpc: revision 1.83
sys/arch/powerpc/booke/booke_pmap.c: revision 1.13
sys/arch/powerpc/include/booke/e500var.h: revision 1.5
sys/arch/evbppc/mpc85xx/machdep.c: revision 1.23
Add ldscript which aligns .data to a 1MB boundary. (used for testing)
Add PMAP_MINIMALTLB defflag
Add vsize_t to pmap_md_{un,}map_poolpage.
Add pmap_kvptefill prototype.
Slightly change pmap_bootstrap prototype.
Add e500_tlb_minimize prototype.
Add support PMAP_MINIMALTLB option.  This changes the default use of TLB1
entries to map all of physical memory to using two TLB1 entries, one for
mapping text and one for data.  The rest of memory is mapped using the
page table which is updated as needed.  This is used to trap memory
corruption issues.
Add support for PMAP_MINIMALTLB.

(riz)

2012-05-09 22:29:06 UTC MAIN commitmail json YAML

Remove an unnecessary space in the manpage.  Patch provided by Bug Hunting.

(jdf)

2012-05-09 22:04:08 UTC MAIN commitmail json YAML

2012-05-09 21:59:10 UTC MAIN commitmail json YAML

2012-05-09 20:11:55 UTC netbsd-6 commitmail json YAML

2012-05-09 20:11:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #240):
sys/dev/ic/ld_cac.c: revision 1.27
Reserve a CCB for the driver.  Stops the annoying cac0: unable to alloc CCB
messages.

(riz)

2012-05-09 20:09:15 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #239):
sys/arch/powerpc/powerpc/vm_machdep.c: revision 1.96
When a stack is specified, make sure the stack has enough for a previous
callframe in which the LR can be stored.  (atf test t_clone:clone_basic
now passes).

(riz)

2012-05-09 20:06:37 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by veego in ticket #238):
Makefile: revision 1.292
Add usr.bin to the exclude list for make includes.
This is no longer needed after flex was moved to the external framework.

(riz)

2012-05-09 20:03:53 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #237):
sys/arch/zaurus/dev/zkbdmap.h: revision 1.7
Fix wrong raw keycode in xt_keymap_c860[] so that right shift properly works
on Xserver on C7x0/860.  From steleto.
Should be pulled up to netbsd-6.

(riz)

2012-05-09 20:01:51 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #236):
sys/arch/x68k/x68k/machdep.c: revision 1.182
sys/arch/x68k/dev/fd.c: revision 1.97
Make x68k's floppy driver actually work with proper bounce buffer xfer ops
on machines with extended high memories:
- dev/fd.c:
- add missing bus_dmamap_sync(9) POSTREAD/POSTWRITE ops
- x68k/machdep.c:
- update avail_end variable (which is used to check DMA'able memory range
  in intio.c) properly per probed extended memory regions
The problem was found during debugging XM6i's FDC emulation by
Y.Sugahara, isaki@, and me.
Should be pulled up to netbsd-6.

(riz)

2012-05-09 19:58:28 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #235):
distrib/common/bootimage/Makefile.bootimage: revision 1.5
Add two optional variables for liveimage/installimage builds:
---
MBR_BOOTCODE
optional MBR bootcode which should be installed by fdisk(8)
(default: empty)
- specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec
- if MBR_BOOTCODE is not specified,
  MBR_DEFAULT_BOOTCODE (default: mbr) will be used
  if the target ${MACHINE} has the one in /usr/mdec
INSTALLBOOTOPTIONS
options passed to installboot(8), e.g., -o console=com0
(default: empty)
---
Proposed by Brook Milligan on current-users@:
http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html
Also make USE_MBR work on ${MACHINE}s which don't have the default
/usr/mdec/mbr bootcode. (no such port has the liveimage target yet though)
XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default
XXX: bootcode even for non-x86 targets if host is x86

(riz)

2012-05-09 18:22:36 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #232):
distrib/sets/lists/comp/mi: revision 1.1756
lib/libm/Makefile: revision 1.124
lib/libm/src/math_private.h: revision 1.17
lib/libm/src/b_tgamma.c: revision 1.1
lib/libm/man/lgamma.3: revision 1.22
lib/libm/src/b_log.c: revision 1.1
lib/libm/src/b_exp.c: revision 1.1
include/math.h: revision 1.58
lib/libm/src/s_tgammaf.c: revision 1.1
add tgamma{,f}
Add tgamma{,f} from FreeBSD via  rudolf, netbsd at eq dot cz
oops, forgot to commit: add tgamma and tgammaf

(riz)

2012-05-09 16:21:06 UTC MAIN commitmail json YAML

Extended usb_hid_usages, with help from the equivalent file from FreeBSD.
Favored NetBSD upon conflicts, except for a typo and consistency.

ok riz@

(khorben)

2012-05-09 15:57:59 UTC netbsd-6 commitmail json YAML

2012-05-09 15:55:06 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #234):
tools/Makefile.gnuhost: revision 1.38
Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.

(riz)

2012-05-09 15:50:38 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #233):
sys/arch/amd64/amd64/db_memrw.c: revision 1.10
sys/arch/amd64/amd64/db_memrw.c: revision 1.11
sys/arch/i386/i386/db_memrw.c: revision 1.29
Use the current destination address to compute PTE, not the address of
origin.
Harmless, except when db_write_text() passes a page boundary.
From Bug Hunting.
XXX has to be pulled up to -5 and -6.
invlpg on a non canonical address is a noop, so no chance to invalidate
the TLB and the CPU will not notice the access right change.
This results in write protection faults in supervisor mode when patching
kernel code through ddb(4) (originally mapped as read only).
Bug reported by David Laight on port-amd64@ (thanks!), patch and test by
me.
i386 is unaffected as PG_LGFRAME does not mask the sign bits. For the
sake of correctness, use VA_SIGN_NEG(...) anyway.
XXX this is the patch that will be pulled-up to -5 and -6.

(riz)

2012-05-09 15:42:09 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #230):
bin/rcp/rcp.c: revision 1.49
allocate a separate buffer in each call to sink().
reusing the buffer across recursive calls just doesn't work right.

(riz)

2012-05-09 13:58:09 UTC MAIN commitmail json YAML

fix crash when booting with -x.

(cegger)

2012-05-09 12:04:27 UTC MAIN commitmail json YAML

Mention import of bzip2-1.0.6, and that zlib-1.2.7 is out.

(wiz)

2012-05-09 08:17:33 UTC MAIN commitmail json YAML

Retry previous, but with proper path this time.

(martin)

2012-05-09 07:59:23 UTC MAIN commitmail json YAML

Format strings don't use all arguments in the non-pluralized case.

(joerg)

2012-05-09 07:52:52 UTC MAIN commitmail json YAML

PR port-acorn32/46435: type mismatch, padbuf should be unsigned char.

(martin)

2012-05-09 03:42:54 UTC netbsd-6 commitmail json YAML

2012-05-09 03:41:00 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by wiz in ticket #229):
usr.sbin/makemandb/makemandb.c: revision 1.9
usr.sbin/makemandb/DBSCHEMA: revision 1.2
usr.sbin/makemandb/apropos-utils.c: revision 1.5
usr.sbin/makemandb/apropos-utils.h: revision 1.3
PR 46419 by Abhinav Upadhyay using his updated patch:
Clean up after removing man page aliases.

(riz)

2012-05-09 03:23:32 UTC netbsd-6 commitmail json YAML

2012-05-09 03:22:55 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #202):
sys/arch/x86/include/cpuvar.h: revision 1.46
sys/arch/xen/include/xenpmap.h: revision 1.34
sys/arch/i386/include/param.h: revision 1.77
sys/arch/x86/x86/pmap_tlb.c: revision 1.5
sys/arch/x86/x86/pmap_tlb.c: revision 1.6
sys/arch/i386/i386/genassym.cf: revision 1.92
sys/arch/xen/x86/cpu.c: revision 1.91
sys/arch/x86/x86/pmap.c: revision 1.177
sys/arch/xen/x86/xen_pmap.c: revision 1.21
sys/arch/x86/acpi/acpi_wakeup.c: revision 1.31
sys/kern/subr_kcpuset.c: revision 1.5
sys/arch/amd64/include/param.h: revision 1.18
sys/sys/kcpuset.h: revision 1.5
sys/arch/x86/x86/mtrr_i686.c: revision 1.26
sys/arch/x86/x86/mtrr_i686.c: revision 1.27
sys/arch/xen/x86/x86_xpmap.c: revision 1.43
sys/arch/x86/x86/cpu.c: revision 1.98
sys/arch/amd64/amd64/mptramp.S: revision 1.14
sys/kern/sys_sched.c: revision 1.42
sys/arch/amd64/amd64/genassym.cf: revision 1.50
sys/arch/i386/i386/mptramp.S: revision 1.24
sys/arch/x86/include/pmap.h: revision 1.52
sys/arch/x86/include/cpu.h: revision 1.50
- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
  kcpuset(9) and thus replace hardcoded CPU bitmasks.  This removes the
  limitation of maximum CPUs.
- Support up to 256 CPUs on amd64 architecture by default.
Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.
- pmap_tlb_shootdown: do not overwrite tp_cpumask with pm_cpus, but merge
  like pm_kernel_cpus.  Remove unecessary intersection with kcpuset_running.
  Do not reset tp_userpmap if pmap_kernel().
- Remove pmap_tlb_mailbox_t wrapping, which is pointless after recent changes.
- pmap_tlb_invalidate, pmap_tlb_intr: constify for packet structure.
i686_mtrr_init_first: handle the case when there are no variable-size MTRR
registers available (i686_mtrr_vcnt == 0).

(riz)

2012-05-09 00:22:26 UTC MAIN commitmail json YAML

Adjust t_renamerace now that ext2fs and ffs have good rename.

(riastradh)

2012-05-09 00:21:18 UTC MAIN commitmail json YAML

2012-05-09 00:16:07 UTC MAIN commitmail json YAML

2012-05-08 23:53:27 UTC MAIN commitmail json YAML

Implement a genfs_rename abstraction.

First major step in incrementally adapting all the file systems to a
saner rename VOP protocol.

(riastradh)

2012-05-08 15:51:14 UTC netbsd-5 commitmail json YAML

Fix XEN2 build after last pullup

(sborrill)

2012-05-08 14:28:55 UTC MAIN commitmail json YAML

Move bfs_file_setsize() from bfs.c to sysvbfs_vnops.c
(and rename it to sysvbfs_file_setsize()) because it's actually
part of vnode ops and bfs.c is also pulled by standalone bootloaders
which don't want vnode header mess.

(tsutsui)

2012-05-08 13:51:34 UTC MAIN commitmail json YAML

Fix harmless error preventing auto-finding non-ISO9660 formatted CD
partitions (when offering sets from CD).

(martin)

2012-05-08 13:38:58 UTC netbsd-6 commitmail json YAML

Additional pullup for ticket #215 requested by martin

(sborrill)

2012-05-08 13:38:13 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by martin in ticket #215):
usr.bin/login/login_pam.c: revision 1.22

Fix build.
trimusername (which does not exist) should be trimloginname.

(sborrill)

2012-05-08 13:22:37 UTC MAIN commitmail json YAML

Add a few modules in booke/4xx compat lists - should fix the evbppc build.

(martin)

2012-05-08 12:12:20 UTC netbsd-5 commitmail json YAML

2012-05-08 12:11:46 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by riz in ticket #1748):
sys/arch/xen/xen/hypervisor.c: revision 1.62 via patch

Retrieve and print the hypervisor "extra" (teeny) version.

(sborrill)

2012-05-08 08:44:49 UTC MAIN commitmail json YAML

Move VFS_EXTATTRCTL to mount_domount().  This makes the
fs/puffs/t_fuzz:mountfuzz7, fs/puffs/t_fuzz:mountfuzz8,
and fs/zfs/t_zpool:create tests pass again.  Patch from
manu, discussed on tech-kern and committed at his request.

(gson)

2012-05-08 05:15:45 UTC MAIN commitmail json YAML

provide a BAT mapping for the PCI IO range on Grackle/Heathrow based macs
now drivers that need PCI IO access work again

(macallan)

2012-05-08 02:25:26 UTC MAIN commitmail json YAML

don't enable IO access - we don't use it and at least on some macppc machines
the IO BAR contains garbage
should probably be pulled into 6.0

(macallan)

2012-05-07 23:04:22 UTC MAIN commitmail json YAML

2012-05-07 21:09:29 UTC MAIN commitmail json YAML

Rejig the way TRAP() and ZTRAP() are defined and add Z/TRAP_NJ() that
  excludes the 'jmp alltraps'.
Use the _NJ versions for trap entries with non-standard code.
Move all the KDTRACE_HOOKS code into a single block inside the
  IDTVEC(trap03) code. This removes a mis-predicted from every
  trap when KDTRACE_HOOKS are enabled.
Add a few blank lines, need some comments as well :-)
No functional changes intended.

(dsl)

2012-05-07 21:07:35 UTC matt-nb5-mips64 commitmail json YAML

Move call to uvm_anon_dropswap to with #ifdef VMSWAP

(matt)

2012-05-07 21:04:10 UTC MAIN commitmail json YAML

Add a ';' that got deleted in a slight tidyup.

(dsl)

2012-05-07 20:51:20 UTC MAIN commitmail json YAML

Move all the XEN differences to a single conditional.
Merge the XEN/non-XEN versions of INTRFASTEXIT and
  INTR_RECURSE_HWFRAME by using extra defines.
Split INTRENTRY so that code can insert extra instructions
  inside user/kernel conditional.

(dsl)

2012-05-07 18:36:16 UTC MAIN commitmail json YAML

Fix wrong raw keycode in xt_keymap_c860[] so that right shift properly works
on Xserver on C7x0/860.  From steleto.

Should be pulled up to netbsd-6.

(tsutsui)

2012-05-07 18:31:55 UTC matt-nb5-mips64 commitmail json YAML

2012-05-07 18:31:25 UTC matt-nb5-mips64 commitmail json YAML

2012-05-07 18:30:56 UTC matt-nb5-mips64 commitmail json YAML

Use uvm_km_pagefree to free a kmap entry page.

(matt)

2012-05-07 18:16:38 UTC MAIN commitmail json YAML

Add dummy bus_dma(9) typedefs (enabled by __HAVE_NO_BUS_DMA) in <sys/bus.h>
for ports which don't bother to have unnecessary bus_dma(9) implementation
to appease MI driver modules that require bus_dma_tag_t.

For amiga, move <m68k/bus_dma.h> inclusion from <machine/pci_machdep.h>
to <machine/bus.h> since amiga will want actual bus_dma(9) in future
for PCI devices.

Fixes builds on sys/modules/if_axe etc on ancient ports.

"Sounds good" from martin@ on port-m68k@.

(tsutsui)

2012-05-07 17:45:29 UTC MAIN commitmail json YAML

Merge i386 and amd64 version of db_memrw.c.

Use this opportunity to skip calculating the VA of the page. Let the CPU
deal with the invalidation itself through invlpg + destination address to
avoid converting between canonical/non canonical forms.

(jym)

2012-05-07 17:07:01 UTC netbsd-6 commitmail json YAML

2012-05-07 17:06:21 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #231):
usr.bin/passwd/krb5_passwd.c: revision 1.20
- fix non pam build
- merge duplicated error code
- fix opt struct leak

(riz)

2012-05-07 17:03:23 UTC netbsd-6 commitmail json YAML

2012-05-07 17:02:08 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by wiz in ticket #228):
usr.sbin/makemandb/makemandb.c: revision 1.8
The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).
Use patch from Abhinav Upadhyay in PR 46408 to fix this.

(riz)

2012-05-07 16:55:33 UTC netbsd-6 commitmail json YAML

Apply patches (requested by christos in ticket #225):
lib/libossaudio/Makefile patch
lib/libossaudio/ossaudio.c patch
lib/libossaudio/soundcard.h patch

Fix compilation of ioctls without the 3rd argument in ossaudio.
[christos, ticket #225]

(riz)

2012-05-07 16:52:04 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #224):
usr.bin/calendar/calendars/calendar.christian: revision 1.4
usr.bin/calendar/calendars/calendar.usholiday: revision 1.4
usr.bin/calendar/calendars/calendar.holiday: revision 1.20
usr.bin/calendar/calendars/calendar.judaic: revision 1.4
usr.bin/calendar/calendars/calendar.netbsd: revision 1.21
Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release
Hopefully, these days will be correct for the first year of NetBSD 6.0.

(riz)

2012-05-07 16:49:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #223):
lib/libc/gen/makecontext.3: revision 1.10
Drop obsolete pthread restriction.

(riz)

2012-05-07 16:47:23 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #222):
include/stdlib.h: revision 1.98
lib/libc/compat/stdlib/Makefile.inc: revision 1.3
lib/libc/compat/include/stdlib.h: revision 1.5
lib/libc/compat/stdlib/compat_putenv.c: revision 1.1
lib/libc/compat/stdlib/compat_putenv.c: revision 1.2
PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.
use setenv so that we don't leak memory.

(riz)

2012-05-07 16:38:43 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #221):
sys/arch/i386/i386/compat_16_machdep.c: revision 1.22
From Bob Lee [glee at force10networks dot com], Preserve the have fpu context
bit for compat_16 signals, because the old 1.6 context does not deal with the
fpu.

(riz)

2012-05-07 16:37:19 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #220):
sys/arch/x86/x86/identcpu.c: revision 1.31
sys/arch/x86/include/specialreg.h: revision 1.58
PR/41267: Andrius V: 5.0 RC4 does not detect second CPU in VIA. VIA Eden cpuid
lies about it's ability to do cmpxchg8b. Turn the feature on using the FCR MSR.
Needs pullup to both 5 and 6.
Add VIA Eden FCR MSR.

(riz)

2012-05-07 16:31:11 UTC netbsd-6 commitmail json YAML

2012-05-07 16:30:20 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #219):
external/gpl3/gcc/dist/gcc/config/m68k/constraints.md: revision 1.2
Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804
Allows libmudflap to compile on m68k:
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function
'__mf_wrap_alloca_indirect':
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error:
insn does not satisfy its constraints:
(insn 360 142 68 13
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI
6 %d6 [159])
        (const:SI (unspec:SI [
                    (symbol_ref:SI ("__mf_state_1") [flags 0x50]
<var_decl 0x7f7ff7304d20 __mf_state_1>)
                    (const_int 1 [0x1])
                ] 6))) 36 {*movsi_m68k}
(nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

(riz)

2012-05-07 16:28:42 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #218):
sys/dev/usb/ums.c: revision 1.84
kern/46391: Nat Sloss:  ums.c doesn't support digitizers or touchscreens

(riz)

2012-05-07 16:26:47 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #217):
usr.bin/m4/main.c: revision 1.42
Fix wrong loop index leading to infinite loop
ifdef(`FOO',
)
XXX: Pullup to 6.

(riz)

2012-05-07 16:25:42 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #216):
sys/dev/usb/ubt.c: revision 1.47
PR/46338: Nat Sloss: Prevent ubt synchronization loss from overwriting memory.

(riz)

2012-05-07 16:24:07 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #215):
usr.bin/login/login.c: revision 1.100
usr.bin/login/login.c: revision 1.101
usr.bin/login/login.c: revision 1.102
usr.bin/login/common.c: revision 1.4
usr.bin/login/common.h: revision 1.2
usr.bin/login/k5login.c: revision 1.28
usr.bin/login/k5login.c: revision 1.29
usr.bin/login/login.c: revision 1.99
usr.bin/login/login_pam.c: revision 1.21
usr.bin/login/Makefile: revision 1.53
usr.bin/login/Makefile: revision 1.54
usr.bin/login/Makefile: revision 1.55
usr.bin/login/k5login.c: revision 1.30
usr.bin/login/k5login.c: revision 1.31
usr.bin/login/k5login.c: revision 1.32
usr.bin/login/k5login.c: revision 1.33
make krb5 compile again. XXX: one function left that is deprecated, what's
the new equivalent?
centralize error function processing.
fix the USE_KERBEROS=no USE_PAM=no build.
remove obsolete comment.
make kerberos work again:
1. make notickets external
2. don't use the tty as part of the credential cache, since pts/1 will not work.
3. Attempt to use the newer functions, but punt for now since it does not work
yet.
don't abuse the instance variable
move more of the compat code in the compat block.
last commit before I nuke the old code.
no more KRB5_DEPRECATED

(riz)

2012-05-07 16:16:44 UTC MAIN commitmail json YAML

Raise per-image text size limit to 256MB. 64MB has seen already, so
provide some margin of grows.

(joerg)

2012-05-07 15:59:37 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #213):
usr.bin/su/su.c: revision 1.70
make this compile again.

(riz)

2012-05-07 15:58:04 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #212):
sys/arch/amd64/amd64/machdep.c: revision 1.181
Fix check_mcontext for PK_32 binaries. Makes gdb work for i386 binaries on
amd64.

(riz)

2012-05-07 15:22:54 UTC MAIN commitmail json YAML

allocate a separate buffer in each call to sink().
reusing the buffer across recursive calls just doesn't work right.

(chs)

2012-05-07 13:14:31 UTC MAIN commitmail json YAML

Push logic to convert a ttyname to a device number into its own
function. Improve dealing with ptyfs by explicitly handling missing
pts/%d entries, if the kernel supports the pts device (PR 40813).

(joerg)

2012-05-07 12:23:05 UTC MAIN commitmail json YAML

For correctness: do not forget VA_SIGN_NEG().

(jym)

2012-05-07 12:20:27 UTC MAIN commitmail json YAML

invlpg on a non canonical address is a noop, so no chance to invalidate
the TLB and the CPU will not notice the access right change.

This results in write protection faults in supervisor mode when patching
kernel code through ddb(4) (originally mapped as read only).

Bug reported by David Laight on port-amd64@ (thanks!), patch and test by
me.

i386 is unaffected as PG_LGFRAME does not mask the sign bits. For the
sake of correctness, use VA_SIGN_NEG(...) anyway.

XXX this is the patch that will be pulled-up to -5 and -6.

(jym)

2012-05-07 12:12:04 UTC MAIN commitmail json YAML

Use the current destination address to compute PTE, not the address of
origin.

Harmless, except when db_write_text() passes a page boundary.

From Bug Hunting.

XXX has to be pulled up to -5 and -6.

(jym)

2012-05-07 11:20:24 UTC MAIN commitmail json YAML

Mention that you should run makemandb -f, or wait for the weekly script.

(wiz)

2012-05-07 11:18:16 UTC MAIN commitmail json YAML

2012-05-07 08:55:46 UTC MAIN commitmail json YAML

Move dist2netbsd script out of dist/ and adapt for new path.

(wiz)

2012-05-07 08:51:48 UTC MAIN commitmail json YAML

Adapt to repository move of dist from external/bsd/bzip2 to
external/bsd/bzip2/dist.

(wiz)

2012-05-07 03:37:00 UTC MAIN commitmail json YAML

Break out the routines (from tnftp) to calculate and draw a progress bar.
The code was originally written by Luke Mewburn - all mangling and bugs
courtesy of agc.

A quick (hypothetical) example of how to use this progress bar:

          progress_t      prog;
          uint64_t        total;
          uint64_t        done;

          total = 15768554;
          progress_init(&prog, "test update bar", total);
          for (done = 0 ; done < total ; done += (total / 20) + ((random() % 20) * 1024)) {
                  progress_draw(&prog, done);
                  sleep(1);
          }
          progress_complete(&prog, done);


Status:

Vendor Tag: LUKEM
Release Tags: progress-base

(agc)

2012-05-07 03:17:51 UTC netbsd-6 commitmail json YAML

2012-05-07 03:16:45 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by gendalia in ticket #211):
share/man/man5/route.conf.5: revision 1.4
etc/rc.d/staticroute: revision 1.6
Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.
Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.
Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.

(riz)

2012-05-07 03:15:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #210):
sbin/gpt/gpt.8: revision 1.10
sbin/gpt/gpt.8: revision 1.11
fix a path
Bump date to date of previous change.

(riz)

2012-05-07 03:12:33 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by enami in ticket #209):
lib/libpthread/pthread.c: revision 1.134
Store allocated lwpctl state in the thread actually forked,
which is the only thread lives in the child process.
The problem originally reported here:
  https://bugs.ruby-lang.org/issues/6341

(riz)

2012-05-07 03:10:28 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by gdt in ticket #208):
sys/dev/pci/if_bnxvar.h: revision 1.3
Use RX_PAGES for rx_bd_chain_{,r}seq.
Before, TX_PAGES was used, but no harm was done because TX_PAGES ==
RX_PAGES == 2.  Found by Frank Kastenholz of BBN.

(riz)

2012-05-07 03:08:35 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #207):
tools/gmp/Makefile: revision 1.2
tools/mpfr/Makefile: revision 1.2
tools/file/Makefile: revision 1.7
tools/binutils/Makefile: revision 1.22
tools/mpc/Makefile: revision 1.2
force ac_cv_path_mkdir to be set to nbinstall -d.  this will avoid
gmp/configure from trying to use its install-sh for mkdir -p, and
should fix sourcesets created tarball builds.
force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.

(riz)

2012-05-07 03:06:16 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #206):
sys/arch/sparc/sparc/intr.c: revision 1.116
don't bother whining about bogusintr on zs.

(riz)

2012-05-07 03:03:18 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #205):
sys/dev/audio.c: revision 1.260
don't hold the thread lock while calling allocm() or freem().  fixes PR#46121

(riz)

2012-05-07 03:01:14 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #204):
sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44
sys/ufs/ffs/ffs_vfsops.c: revision 1.277
sys/fs/v7fs/v7fs_vnops.c: revision 1.11
sys/ufs/chfs/chfs_vnops.c: revision 1.7
sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61
sys/miscfs/genfs/genfs_io.c: revision 1.54
sys/kern/vfs_wapbl.c: revision 1.52
sys/uvm/uvm_pager.h: revision 1.43
sys/ufs/ffs/ffs_vnops.c: revision 1.121
sys/kern/vfs_subr.c: revision 1.434
sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83
sys/fs/ntfs/ntfs_vnops.c: revision 1.51
sys/fs/udf/udf_subr.c: revision 1.119
sys/miscfs/specfs/spec_vnops.c: revision 1.135
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103
sys/fs/udf/udf_vnops.c: revision 1.71
sys/ufs/ufs/ufs_readwrite.c: revision 1.104
change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.
mark all wapbl I/O as BPRIO_TIMECRITICAL.
this is the second part of addressing PR 46325.

(riz)

2012-05-07 02:57:22 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #203):
crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c: revision 1.3
fix for previous fix: correct error code (upstream rev.22474)

(riz)

2012-05-07 02:32:09 UTC MAIN commitmail json YAML

Use pmap_pte_*bits macros to set/clear bits in a PTE. Remove pmap_pte_flush
calls as these operations are synchronously flushed under Xen; they should
not be cached.

XXX the code can be shared between i386 and amd64, but I will merge
them once I figure out why db_write_text() can cause page faults for
certain CPUs in long mode (code looks correct, but single stepping or
adding debug printf's makes the bug magically disappear... sigh)

Bug reported by David Laight on port-amd64@ when attempting to set
breakpoints through ddb(4).

(jym)

2012-05-07 02:15:34 UTC MAIN commitmail json YAML

Remove XXXSMP comment and explain why no TLB shootdown is required here.

(jym)

2012-05-07 02:12:35 UTC MAIN commitmail json YAML

I am not quite sure that __data_start (set through location counter) is
a char... declare it as int, like amd64.

(jym)

2012-05-07 00:45:48 UTC MAIN commitmail json YAML

2012-05-07 00:41:52 UTC MAIN commitmail json YAML

2012-05-07 00:35:35 UTC MAIN commitmail json YAML

2012-05-07 00:30:06 UTC MAIN commitmail json YAML

2012-05-07 00:21:47 UTC MAIN commitmail json YAML

2012-05-06 22:32:05 UTC MAIN commitmail json YAML

Consistently short cut the pattern loop on mismatches.
Don't assign 1 conditionally, if unconditional works as well.

(joerg)

2012-05-06 22:27:01 UTC MAIN commitmail json YAML

Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.

(joerg)

2012-05-06 21:56:08 UTC MAIN commitmail json YAML

Make the matchall case a full short cut.

(joerg)

2012-05-06 19:46:18 UTC MAIN commitmail json YAML

Make x68k's floppy driver actually work with proper bounce buffer xfer ops
on machines with extended high memories:

- dev/fd.c:
- add missing bus_dmamap_sync(9) POSTREAD/POSTWRITE ops

- x68k/machdep.c:
- update avail_end variable (which is used to check DMA'able memory range
  in intio.c) properly per probed extended memory regions

The problem was found during debugging XM6i's FDC emulation by
Y.Sugahara, isaki@, and me.

Should be pulled up to netbsd-6.

(tsutsui)

2012-05-06 18:18:40 UTC agc-netpgp-standalone commitmail json YAML

Move the autoconf-generated config.h file to its destination in the reachover
infrastructure.

(agc)

2012-05-06 18:15:26 UTC agc-netpgp-standalone commitmail json YAML

Reachover Makefile for the bin directory for standalone netpgp

(agc)

2012-05-06 18:14:17 UTC agc-netpgp-standalone commitmail json YAML

2012-05-06 18:08:12 UTC agc-netpgp-standalone commitmail json YAML

clean up a file which has now moved location

(agc)

2012-05-06 18:07:02 UTC agc-netpgp-standalone commitmail json YAML

2012-05-06 17:57:11 UTC agc-netpgp-standalone commitmail json YAML

2012-05-06 17:49:30 UTC agc-netpgp-standalone commitmail json YAML

Add a library solely consisting of signature verification functions.

This is because verfiication is a much more common occurrence than signing,
and requires only public keys to accomplish. Keeping this in its own library
allows the small library to be linked into applications without also linking
every kind of other function.

(agc)

2012-05-06 17:46:45 UTC agc-netpgp-standalone commitmail json YAML

2012-05-06 17:43:10 UTC agc-netpgp-standalone commitmail json YAML

src/crypto/external/bsd/netpgp/dist/src/libnetpgp/Makefile.am@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/Makefile.in@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/bufgap.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/bufgap.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/compress.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/config.h.in@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/create.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/create.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/crypto.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/crypto.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/defs.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/digest.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/digest.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/errors.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/keyring.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/keyring.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/libnetpgp.3@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/memory.h@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/misc.c@1.1.2.1 / diff / nxr@1.1.2.1
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/mkinstalldirs@1.1.2.1 / diff / nxr@1.1.2.1
      :
(more 25 files)
Move the existing netpgp library sources to the libnetpgp sub-directory.

(agc)

2012-05-06 17:40:08 UTC agc-netpgp-standalone commitmail json YAML

Add an API-alike equivalent for openssl cipher functionality.

The ciphers implemented are CAST5 and AES. Camellia code is present,
but has not been fully implemented yet.

The rijndael code is from the NetBSD kernel sources, the CAST source
is based on the libtomcrypt implementation (although the internal
methods of storing intermediate values has been modified to mimic
the openssl code, just in case someone is relying on internal state
for this - probably overkill, but whatever).

(agc)

2012-05-06 17:34:56 UTC agc-netpgp-standalone commitmail json YAML

Add an API-alike equivalent library for openssl BIGNUM functionality.
This is accomplished using the libtommath MPI implementation
internally, without exporting any functions.  All of the BIGNUM
functionality to provide working netpgp signatures, verification,
encryption and encryption is provided.

Functions and macros included:

BN_is_negative(x)
BN_is_zero(a)
BN_is_odd(a)
BN_is_even(a)

BIGNUM *BN_new(void);
BIGNUM *BN_dup(const BIGNUM */*a*/);
int BN_copy(BIGNUM */*b*/, const BIGNUM */*a*/);

void BN_init(BIGNUM */*a*/);
void BN_free(BIGNUM */*a*/);
void BN_clear(BIGNUM */*a*/);
void BN_clear_free(BIGNUM */*a*/);

int BN_cmp(BIGNUM */*a*/, BIGNUM */*b*/);

BIGNUM *BN_bin2bn(const uint8_t */*buf*/, int /*size*/, BIGNUM */*bn*/);
int BN_bn2bin(const BIGNUM */*a*/, unsigned char */*b*/);
char *BN_bn2hex(const BIGNUM */*a*/);
char *BN_bn2dec(const BIGNUM */*a*/);
int BN_hex2bn(BIGNUM **/*a*/, const char */*str*/);
int BN_dec2bn(BIGNUM **/*a*/, const char */*str*/);
int BN_print_fp(FILE */*fp*/, const BIGNUM */*a*/);

int BN_add(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
int BN_sub(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
int BN_mul(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
int BN_div(BIGNUM */*q*/, BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
void BN_swap(BIGNUM */*a*/, BIGNUM */*b*/);
int BN_lshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
int BN_lshift1(BIGNUM */*r*/, BIGNUM */*a*/);
int BN_rshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
int BN_rshift1(BIGNUM */*r*/, BIGNUM */*a*/);
int BN_set_word(BIGNUM */*a*/, BN_ULONG /*w*/);
void BN_set_negative(BIGNUM */*a*/, int /*n*/);

int BN_num_bytes(const BIGNUM */*a*/);
int BN_num_bits(const BIGNUM */*a*/);

int BN_mod_exp(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*p*/, BIGNUM */*m*/, BN_CTX */*ctx*/);
BIGNUM *BN_mod_inverse(BIGNUM */*ret*/, BIGNUM */*a*/, const BIGNUM */*n*/, BN_CTX */*ctx*/);
int BN_mod_mul(BIGNUM */*ret*/, BIGNUM */*a*/, BIGNUM */*b*/, const BIGNUM */*m*/, BN_CTX */*ctx*/);
int BN_mod_sub(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*b*/, const BIGNUM */*m*/, BN_CTX */*ctx*/);

BN_CTX *BN_CTX_new(void);
BIGNUM *BN_CTX_get(BN_CTX */*ctx*/);
void BN_CTX_start(BN_CTX */*ctx*/);
void BN_CTX_end(BN_CTX */*ctx*/);
void BN_CTX_init(BN_CTX */*c*/);
void BN_CTX_free(BN_CTX */*c*/);

int BN_rand(BIGNUM */*rnd*/, int /*bits*/, int /*top*/, int /*bottom*/);
int BN_rand_range(BIGNUM */*rnd*/, BIGNUM */*range*/);

int BN_is_prime(const BIGNUM */*a*/, int /*checks*/, void (*callback)(int, int, void *), BN_CTX */*ctx*/, void */*cb_arg*/);

const BIGNUM *BN_value_one(void);
int BN_is_bit_set(const BIGNUM */*a*/, int /*n*/);

(agc)

2012-05-06 17:27:22 UTC MAIN commitmail json YAML

Comment out the expected failure, as it does not trigger anymore.

(martin)

2012-05-06 17:23:10 UTC MAIN commitmail json YAML

When ejecting a medium, invalidate the in core disklabel - it is not
meaningfull anymore. This makes the following cdclose() use silent
mode and finally fixes PR kern/43785.

(martin)

2012-05-06 16:58:31 UTC MAIN commitmail json YAML

Revert previous and add a comment - I misunderstood what this code is
emulating.

(martin)

2012-05-06 16:42:20 UTC MAIN commitmail json YAML

In cdopen: make the test for media presence always silent. In all cases
requiring a message, we will most likely get that from the spinup attempt
anyway.
This avoids the spurious "Check Condition on CDB, Not Ready, Medium Not
Present, Tray Closed" messages at boot/shutdown time.

(martin)

2012-05-06 16:33:02 UTC MAIN commitmail json YAML

If we are not delivering a host iso file (USE_TOSI_ISO is undefined), use
-1 as file descriptor initially. The -2 value confused a few other checks
later and led to inconsistent "media present" reports.

(martin)

2012-05-06 07:28:48 UTC MAIN commitmail json YAML

Document the new agc-netpgp-standalone branch under
src/crypto/external/bsd/netpgp, used to develop a version of netpgp
with its own BIGNUM/MPI, cipher and signature libraries.  This will
allow netpgp to be used without bootstrapping openssl first, in turn
allowing netpgp to be used in places it would otherwise not be able to
be used.

(agc)

2012-05-06 03:13:11 UTC MAIN commitmail json YAML

- match format with the linux map printing
- fix PK_32 map printing for linux processes
should fix 32 bit java stack guard setting.

(christos)

2012-05-06 02:45:25 UTC MAIN commitmail json YAML

- Fix double-free case on ICMP return case.
- npf_pfil_register: handle kernels without INET6 option correctly.
- Reduce some #ifdefs.

(rmind)

2012-05-05 22:07:58 UTC MAIN commitmail json YAML

oops, forgot to commit: add tgamma and tgammaf

(christos)

2012-05-05 21:24:19 UTC MAIN commitmail json YAML

2012-05-05 21:18:43 UTC MAIN commitmail json YAML

2012-05-05 21:16:16 UTC MAIN commitmail json YAML

rest of previous.
BQS: 1. dholland: 0.

(dholland)

2012-05-05 21:14:55 UTC MAIN commitmail json YAML

2012-05-05 21:03:03 UTC MAIN commitmail json YAML

remove ancient crap

(christos)

2012-05-05 20:48:51 UTC MAIN commitmail json YAML

2012-05-05 20:45:35 UTC MAIN commitmail json YAML

Describe PG_ flags (for struct vm_page).  Reviewed by yamt@.

(rmind)

2012-05-05 19:49:13 UTC MAIN commitmail json YAML

2012-05-05 19:44:02 UTC MAIN commitmail json YAML

use sy_call() so that l->l_sysent gets set, so that we can autoload modules
that define new syscalls properly.

(christos)

2012-05-05 19:37:37 UTC MAIN commitmail json YAML

Add a new type of syscall "EXTERN" which is meant for modules that live
outside the tree (in pkgsrc). Use it to define afssys (210) which has
been reserved for years, and make it autoload the "openafs" module.

(christos)

2012-05-05 19:15:11 UTC MAIN commitmail json YAML

G/C POOL_DIAGNOSTIC option.  No objection on tech-kern@.

(rmind)

2012-05-05 17:54:14 UTC MAIN commitmail json YAML

2012-05-05 17:52:29 UTC MAIN commitmail json YAML

2012-05-05 16:03:55 UTC MAIN commitmail json YAML

Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.

(tsutsui)

2012-05-05 15:57:45 UTC MAIN commitmail json YAML

2012-05-05 15:08:29 UTC MAIN commitmail json YAML

Add latest CR4 bits:
- CR4_VMXE: VMX operations, used for hardware virtualization.
- CR4_SMXE: SMX operations, used for safer Mode Extensions (ground for
            Intel's TXT - Trusted Execution Technology - platform).
- CR4_FSGSBASE: enable *FSBASE and *GSBASE instructions, for R/W access
                to FS/GS segment base addresses.
- CR4_PCIDE: enable Process Context IDentifiers (other architectures may call
            these "address space identifiers").
- CR4_OSXSAVE: enable xsave and xrestore instructions
- CR4_SMEP: Supervisor Mode Execution Prevention. Allows enforcing --x rights
            from cpl 0.

From Intel® 64 and IA-32 Architectures Software Developer’s Manual,
March 2012.

Align declarations.

CPUID_* bits for these features follow.

(jym)

2012-05-05 15:04:58 UTC MAIN commitmail json YAML

avoid using cpp variadic macros and explain why.

(christos)

2012-05-05 13:47:07 UTC MAIN commitmail json YAML

make sure opt_sunkbd.h exists

(macallan)

2012-05-05 04:08:53 UTC MAIN commitmail json YAML

comments and cosmetics.  no functional changes.

(yamt)

2012-05-05 01:29:56 UTC MAIN commitmail json YAML

Update all variable days

- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release

Hopefully, these days will be correct for the first year of NetBSD 6.0.

(jnemeth)

2012-05-04 23:50:26 UTC MAIN commitmail json YAML

The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).

Use patch from Abhinav Upadhyay in PR 46408 to fix this.

(wiz)

2012-05-04 17:57:22 UTC MAIN commitmail json YAML

comment out debugging printfs

(christos)

2012-05-04 16:45:05 UTC MAIN commitmail json YAML

2012-05-04 12:28:03 UTC MAIN commitmail json YAML

Drop obsolete pthread restriction.

(joerg)

2012-05-04 12:26:33 UTC MAIN commitmail json YAML

Simplify check for TLS definition to not hide code. Drop it in another
place as it is redundant.

(joerg)

2012-05-04 11:48:12 UTC MAIN commitmail json YAML

- match regular ioctl prototype (3rd argument is optional)
- fix lint issues

(christos)

2012-05-04 02:06:27 UTC MAIN commitmail json YAML

depend on "vcoda" since it has symbols we need.

(christos)