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

2024-05-10 11:30:29 UTC Now

2017-02-17 08:27:20 UTC MAIN commitmail json YAML

Take vnode lock for VOP_FSYNC().

(hannken)

2017-02-17 08:26:41 UTC MAIN commitmail json YAML

Flush the log to disk when ffs_sync() gets called with MNT_WAIT.

(hannken)

2017-02-17 08:26:07 UTC MAIN commitmail json YAML

Take fstrans_start before syncing a file system.

(hannken)

2017-02-17 08:25:15 UTC MAIN commitmail json YAML

Let syncer try fstrans_start() before running VFS_SYNC() to get rid
of the syncer lock/unlock from vfs_suspend().

(hannken)

2017-02-17 08:24:07 UTC MAIN commitmail json YAML

Protect attaching and detaching lwp_info to mount with a mutex.

(hannken)

2017-02-17 07:21:28 UTC MAIN commitmail json YAML

more fix about IFF_OACTIVE.

fix TODO of r1.479 and reduce IFF_OACTIVE manipulation.

(knakahara)

2017-02-17 05:20:02 UTC MAIN commitmail json YAML

refactor: functionize deferred_start code holding locks.

(knakahara)

2017-02-17 04:51:01 UTC MAIN commitmail json YAML

refactor: functionize txrxintr disable/enable code.

(knakahara)

2017-02-17 04:32:10 UTC MAIN commitmail json YAML

Protect sysctl_net_inet_ip_pmtudto with icmp_mtx instead of softnet_lock

(ozaki-r)

2017-02-17 04:31:34 UTC MAIN commitmail json YAML

2017-02-17 03:57:18 UTC MAIN commitmail json YAML

Rename if_acquire_NOMPSAFE to if_acquire

It can be used in MP-safe ways. So let's remove the confusing postfix.
If it's used in a unsafe way, warn NOMPSAFE in a comment.

(ozaki-r)

2017-02-17 02:56:53 UTC MAIN commitmail json YAML

Fill rmx_locks too

Otherwise userland sees garbage in it.

This should fix t_mtudisc6 failing on babylon5.

(ozaki-r)

2017-02-17 01:49:24 UTC MAIN commitmail json YAML

Commit TRAP_HWWPT -> TRAP_DBREG switch in <sys/siginfo.h>

This is integral part of the previous two commits.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-17 01:42:59 UTC MAIN commitmail json YAML

Note TRAP_HWWPT -> TRAP_DBREG rename manual steps for build.sh -u

(kamil)

2017-02-17 01:14:31 UTC MAIN commitmail json YAML

Add new si_code TRAP_DBREG

It replaces previous TRAP_HWWPT and is designed to be used for debug
register traps (both watchpoints and breakpoints).

TRAP_HWWPT wasn't documented in siginfo(2) neither noted in doc/CHANGES -
- document it and add new entry in CHANGES. This move is a step towards
switch the watchpoint ptrace(2) api to PT_*DBREGS.

This code was introduced recently and has no impact on stable releases.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-17 00:51:53 UTC MAIN commitmail json YAML

Make the test more stable

(ozaki-r)

2017-02-17 00:51:25 UTC MAIN commitmail json YAML

Make test names self-descriptive

(ozaki-r)

2017-02-16 22:44:06 UTC MAIN commitmail json YAML

2017-02-16 22:42:25 UTC MAIN commitmail json YAML

2017-02-16 22:40:19 UTC MAIN commitmail json YAML

2017-02-16 22:10:50 UTC MAIN commitmail json YAML

2017-02-16 19:11:13 UTC MAIN commitmail json YAML

fix msdos reproducible builds!

(christos)

2017-02-16 18:50:05 UTC MAIN commitmail json YAML

start fixing msdosfs for reproducible builds; does not work yet.

(christos)

2017-02-16 18:49:31 UTC MAIN commitmail json YAML

2017-02-16 17:56:07 UTC MAIN commitmail json YAML

PR/51973: Use proper fd for AuthorizedKeysCommand

(christos)

2017-02-16 17:15:26 UTC MAIN commitmail json YAML

The default values for MKPIC are yes and no for sh3 and m68000, respectively.
Bump date.

(rin)

2017-02-16 15:57:45 UTC MAIN commitmail json YAML

Switch back arch/amd64/t_ptrace_wait.c to r1.6 and restore original DBREGS

This is preparation to replace watchpoint API to dbregs.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-16 15:05:57 UTC MAIN commitmail json YAML

set pixmap pitch alignment to 8 bytes - the blitter will lock up otherwise
which isn't mentioned anywhere in the manual.
Leave in #ifdef DEBUG code to trace blitter timeouts just in case

(macallan)

2017-02-16 15:00:30 UTC MAIN commitmail json YAML

On i386 (but not on amd64) we can enable SSE comparatively very late, when
probing/attaching the FPU.  This is a problem for cpu_rng with the VIA
processors because, by design, cpu_rng attaches, and the entropy subsystem
starts up, very early.

If SSE is not enabled, calls to any "PadLock" instructions (ACE, RNG)
on the VIA processors will trap, per the manual:
linux.via.com.tw/support/beginDownload.action?eleid=181&fid=261

All VIA CPUs with PadLock, or which match the model/stepping test as
possibly having PadLock, have SSE.  Just unconditionally enable it before
trying to turn the crypto block on.

Fixes crash at RNG attach time reported by Andrus V.; fix proposed by
jak@.

(tls)

2017-02-16 14:00:26 UTC MAIN commitmail json YAML

New sentence, new line.
Remove superfluous macros and whitespace.
Some wording improvements.

(wiz)

2017-02-16 13:51:08 UTC MAIN commitmail json YAML

New sentence, new line.
Remove superfluous Oc and merge line to make it less likely to happen again.
Fix typo.

(wiz)

2017-02-16 13:13:39 UTC MAIN commitmail json YAML

Make sure to prepare /dev/xp node entry.

Missed in the initial xp(4) support import:
http://mail-index.netbsd.org/source-changes/2016/12/03/msg079493.html

(tsutsui)

2017-02-16 08:48:34 UTC MAIN commitmail json YAML

update doc/CHAGES

(knakahara)

2017-02-16 08:45:43 UTC MAIN commitmail json YAML

add l2tp(4) to amd64/GENERIC and amd64/ALL config.

(knakahara)

2017-02-16 08:44:48 UTC MAIN commitmail json YAML

2017-02-16 08:39:10 UTC MAIN commitmail json YAML

2017-02-16 08:32:21 UTC MAIN commitmail json YAML

2017-02-16 08:28:03 UTC MAIN commitmail json YAML

add l2tp(4) subcomands to ifconfig(8).

originally implemented by IIJ SEIL team.

(knakahara)

2017-02-16 08:23:36 UTC MAIN commitmail json YAML

2017-02-16 08:13:43 UTC MAIN commitmail json YAML

support interface name which includes digit.

(knakahara)

2017-02-16 08:12:47 UTC MAIN commitmail json YAML

Use nc instead of ftp/httpd

ftp with rumphijack is unstable probably because ftp uses siglongjmp from
a signal hander. So stop using ftp and use nc instead. This fixes test
failures of t_mtudisc on some environments such as my development machine
(amd64) and anita on sparc64.

(ozaki-r)

2017-02-16 08:12:44 UTC MAIN commitmail json YAML

2017-02-16 08:08:01 UTC MAIN commitmail json YAML

Support paccept for nc

(ozaki-r)

2017-02-16 08:01:11 UTC MAIN commitmail json YAML

Do if_snd check even if IXGBE_LEGACY_TX is used. It's used by ALTQ.

(msaitoh)

2017-02-16 07:58:21 UTC MAIN commitmail json YAML

txt_si softint is used only for multiqueue (ixgbe_mq_start_locked()), so don't
schedule it in ixgbe_legacy_irq().

(msaitoh)

2017-02-16 05:36:41 UTC MAIN commitmail json YAML

fix about IFF_OACTIVE.

It is required manipulate IFF_OACTIVE for old ethernet controllers and ALTQ
to use if_start. To avoid race, txq_lock of 0th txq is needed to write
IFF_OACTIVE.

TODO: read side refactor

(knakahara)

2017-02-16 03:53:20 UTC MAIN commitmail json YAML

Quell maybe-uninitialized false positives from gcc -Os.

reported by John D. Baker at current-users@.
http://mail-index.netbsd.org/current-users/2017/02/15/msg031132.html

(nonaka)

2017-02-16 03:47:23 UTC MAIN commitmail json YAML

2017-02-16 03:32:17 UTC MAIN commitmail json YAML

2017-02-16 02:37:32 UTC MAIN commitmail json YAML

there is no -f in install

(christos)

2017-02-16 01:05:01 UTC MAIN commitmail json YAML

sorry, correct English grammer

(rin)

2017-02-16 01:02:28 UTC MAIN commitmail json YAML

lcWrap.c is miscompiled on vax, which results in input failure via XIM.
Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.

(rin)

2017-02-15 22:47:27 UTC MAIN commitmail json YAML

2017-02-15 20:58:22 UTC MAIN commitmail json YAML

Reintroduce ATF_TP_ADD_TC_HAVE_DBREGS for t_ptrace_wait* ATF tests

PT_GETDBREGS & PT_SETDBREGS API will replace the current one for
watchpoints.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-15 17:44:52 UTC MAIN commitmail json YAML

Fix spelling: s/alogorithms/algorithms

(abhinav)

2017-02-15 16:42:16 UTC MAIN commitmail json YAML

set the default meta_directory where we are installing postfix-files.

(christos)

2017-02-15 12:39:29 UTC MAIN commitmail json YAML

Fix an inverted logic.

(tsutsui)

2017-02-15 11:52:11 UTC MAIN commitmail json YAML

ftp(1): split the auth processing function.

(nonaka)

2017-02-15 06:53:55 UTC MAIN commitmail json YAML

- Print Data Select and Data Scale in pci_conf_print_pcipm_cap().
- The Message Data register of MSI cap is not 32bit but 16bit.
- When the PCIE_LCAP_MAX_SPEED bitfiled is 0, it means it supports 2.5GT/s only.
- Print link de-emphasis value by "-X dB".
- Print Completion Timeout Ranges Supported filed with alphabets.
- Print TPH Completer Supported fileld's meaning.
- Print PCIE_DCAP2_MAX_EETLP correctly. 0 means 4 End-End TLP Prefixes.
- If the Supported Link Speed Vector is 0, the Link Capability 2 register is not
  implemented. Don't decode LCAP2 when the vector is 0.
- The ACS's Egress Control Vector is 32bit, so print with 0x%08x.
- Print SR-IOV's device ID.
- Use __SHIFTOUT() to avoid using magic number.
- Prefix "0x" for hexadecimal value.

(msaitoh)

2017-02-15 02:55:53 UTC MAIN commitmail json YAML

Remove stray closef.

(nat)

2017-02-15 02:48:31 UTC MAIN commitmail json YAML

Increase buffer size reported to strlcpy() to be one larger than the
length of the string we copy in so that there is space for the '\0'.

(elric)

2017-02-15 01:48:44 UTC MAIN commitmail json YAML

Avoid if_dl and if_sadl to be NULL

Calling if_deactivate_sadl and then if_sadl_setrefs exposes NULL-ed if_dl
and if_sadl to users for a moment. It's harmful because users expect that
they're always non-NULL. Fix it.

Note that a race condition still remains; if_dl and if_sald aren't updated
atomically so a user can see different data from if_dl and if_sadl.
Fortunately none uses both if_dl and if_sadl at the same time, so the race
condition doesn't hurt nobody for now. (In the first place exposing one
data with two ways is problematic?)

(ozaki-r)

2017-02-14 18:38:07 UTC MAIN commitmail json YAML

Add new entry to TODO.ptrace

research ipkdb(4)

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-14 17:01:55 UTC netbsd-6 commitmail json YAML

2017-02-14 16:59:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1433):
sys/compat/linux/arch/amd64/linux_machdep.c: 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(snj)

2017-02-14 16:59:08 UTC netbsd-6-1 commitmail json YAML

2017-02-14 16:58:44 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1433):
sys/compat/linux/arch/amd64/linux_machdep.c: 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(snj)

2017-02-14 16:58:20 UTC netbsd-6-0 commitmail json YAML

2017-02-14 16:57:57 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1433):
sys/compat/linux/arch/amd64/linux_machdep.c: 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(snj)

2017-02-14 16:56:05 UTC netbsd-7-0 commitmail json YAML

2017-02-14 16:55:27 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1359):
sys/compat/linux/arch/amd64/linux_machdep.c: 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(snj)

2017-02-14 16:54:50 UTC netbsd-7 commitmail json YAML

2017-02-14 16:54:25 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1359):
sys/compat/linux/arch/amd64/linux_machdep.c: revisions 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(snj)

2017-02-14 16:50:31 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #1358):
sys/miscfs/procfs/procfs_map.c: revision 1.45
Maps don't change that frequently between reads, so don't give up and
do what linux does (support reading from an offset).

(snj)

2017-02-14 13:29:09 UTC MAIN commitmail json YAML

2017-02-14 13:25:22 UTC MAIN commitmail json YAML

x86: add e820 memory type.

(nonaka)

2017-02-14 13:23:50 UTC MAIN commitmail json YAML

2017-02-14 09:59:16 UTC MAIN commitmail json YAML

also compile poly1305.c with -O0 on vax to address ssh login failure from/to
some hosts

(rin)

2017-02-14 09:41:29 UTC MAIN commitmail json YAML

Don't call grow_mixer_states with sc_intr_lock held.

Addresses PR kern/51965.

(nat)

2017-02-14 09:11:05 UTC MAIN commitmail json YAML

Add most of my USER_LDT code for amd64, but disable it and put a comment
about why Wine still does not work.

Nothing changes, but at least it is a step forward.

(maxv)

2017-02-14 09:07:35 UTC MAIN commitmail json YAML

correct grammar

(rin)

2017-02-14 09:05:18 UTC MAIN commitmail json YAML

add hack for libmandoc on vax:
mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c

(rin)

2017-02-14 09:03:48 UTC MAIN commitmail json YAML

Check %eip with USER_LDT too.

(maxv)

2017-02-14 09:00:04 UTC MAIN commitmail json YAML

2017-02-14 08:43:06 UTC MAIN commitmail json YAML

2017-02-14 06:45:21 UTC nick-nhusb commitmail json YAML

2017-02-14 06:44:31 UTC nick-nhusb commitmail json YAML

2017-02-14 03:05:06 UTC MAIN commitmail json YAML

Do ND in L2_output in the same manner as arpresolve

The benefits of this change are:
- The flow is consistent with IPv4 (and FreeBSD and OpenBSD)
  - old: ip6_output => nd6_output (do ND if needed) => L2_output (lookup a stored cache)
  - new: ip6_output => L2_output (lookup a cache. Do ND if cache not found)
- We can remove some workarounds in nd6_output
- We can move L2 specific operations to their own place
- The performance slightly improves because one cache lookup is reduced

(ozaki-r)

2017-02-14 01:18:39 UTC MAIN commitmail json YAML

2017-02-14 01:16:50 UTC MAIN commitmail json YAML

src/external/ibm-public/postfix/Makefile.inc@1.18 / diff / nxr@1.18
src/external/ibm-public/postfix/dist/README_FILES/ADDRESS_VERIFICATION_README@1.8 / diff / nxr@1.8
src/external/ibm-public/postfix/dist/README_FILES/INSTALL@1.7 / diff / nxr@1.7
src/external/ibm-public/postfix/dist/README_FILES/TLS_README@1.11 / diff / nxr@1.11
src/external/ibm-public/postfix/dist/conf/dynamicmaps.cf@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/conf/main.cf@1.6 / diff / nxr@1.6
src/external/ibm-public/postfix/dist/conf/master.cf@1.8 / diff / nxr@1.8
src/external/ibm-public/postfix/dist/conf/post-install@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/conf/postfix-files@1.6 / diff / nxr@1.6
src/external/ibm-public/postfix/dist/conf/postfix-script@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/conf/postfix-tls-script@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/conf/postmulti-script@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/html/ADDRESS_VERIFICATION_README.html@1.8 / diff / nxr@1.8
src/external/ibm-public/postfix/dist/html/INSTALL.html@1.7 / diff / nxr@1.7
src/external/ibm-public/postfix/dist/html/TLS_README.html@1.12 / diff / nxr@1.12
src/external/ibm-public/postfix/dist/html/postconf.5.html@1.15 / diff / nxr@1.15
src/external/ibm-public/postfix/dist/makedefs@1.12 / diff / nxr@1.12
src/external/ibm-public/postfix/dist/man/man1/postalias.1@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/man/man1/postcat.1@1.2 / diff / nxr@1.2
src/external/ibm-public/postfix/dist/man/man1/postconf.1@1.2 / diff / nxr@1.2
      :
(more 610 files)
Resolve conflicts.

(christos)

2017-02-14 01:12:02 UTC MAIN commitmail json YAML

2017-02-14 01:11:28 UTC MAIN commitmail json YAML

2017-02-14 00:20:20 UTC MAIN commitmail json YAML

2017-02-13 22:31:09 UTC MAIN commitmail json YAML

PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1
As a workaround, compile dse.c with -O0.

(rin)

2017-02-13 21:51:30 UTC MAIN commitmail json YAML

sqlite-3.17.0 out.

(wiz)

2017-02-13 20:31:46 UTC MAIN commitmail json YAML

Update current versions of some 3rd party components

(maya)

2017-02-13 19:49:06 UTC MAIN commitmail json YAML

2017-02-13 16:53:41 UTC MAIN commitmail json YAML

fix number of arguments of kmem_alloc and kmem_zalloc macro. ok skrll.

(zafer)

2017-02-13 16:33:14 UTC MAIN commitmail json YAML

prune duplicate xkeyboard-config and xkbcomp

(snj)

2017-02-13 15:29:18 UTC MAIN commitmail json YAML

Update TODO.ptrace

Note BSD4.4-like /proc debugging removal
Explain kevent(2)-based debugging proposal

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-13 15:03:18 UTC MAIN commitmail json YAML

Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.

(maxv)

2017-02-13 14:54:11 UTC MAIN commitmail json YAML

Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.

(maxv)

2017-02-13 11:16:46 UTC MAIN commitmail json YAML

2017-02-13 11:11:32 UTC MAIN commitmail json YAML

2017-02-13 11:10:45 UTC MAIN commitmail json YAML

nvme(4): Limit the number of queues to the number allocated in HW.

(nonaka)

2017-02-13 10:37:37 UTC MAIN commitmail json YAML

Remove more ix*_start_locked() from interrupt context like previous commit.
> Fix a bug that ix*_start_locked() is called in interrput context
> (ix*_msix_que). The function is called in softint(ix*_handle_que()). OK'd by
>k-nakahara.

(msaitoh)

2017-02-13 10:13:54 UTC MAIN commitmail json YAML

2017-02-13 09:46:30 UTC MAIN commitmail json YAML

2017-02-13 07:37:19 UTC MAIN commitmail json YAML

2017-02-13 07:18:20 UTC MAIN commitmail json YAML

Protect mtudisc and redirect stuffs of icmp/icmp6 with mutex

We have to run pr_init of icmp and icmp6 prior to tcp and tcp6 ones
for mutex initialization.

(ozaki-r)

2017-02-13 06:38:45 UTC MAIN commitmail json YAML

Fix a bug that ix*_start_locked() is called in interrput context
(ix*_msix_que). The function is called in softint(ix*_handle_que()). OK'd by
k-nakahara.

(msaitoh)

2017-02-13 06:11:01 UTC MAIN commitmail json YAML

2017-02-13 05:02:21 UTC MAIN commitmail json YAML

2017-02-13 04:47:59 UTC MAIN commitmail json YAML

Fix build of ALL of amd64

(ozaki-r)

2017-02-13 04:42:15 UTC MAIN commitmail json YAML

remove extra crlf.

(nonaka)

2017-02-13 04:23:19 UTC MAIN commitmail json YAML

2017-02-13 04:06:39 UTC MAIN commitmail json YAML

Use IFQ_LOCK instead of splnet for if_snd

(ozaki-r)

2017-02-13 04:05:58 UTC MAIN commitmail json YAML

2017-02-13 04:05:19 UTC MAIN commitmail json YAML

Remove unnecessary splnet

ok @knakahara

(ozaki-r)

2017-02-13 04:01:11 UTC MAIN commitmail json YAML

Add BRIDGE_IPF

(ozaki-r)

2017-02-13 03:44:45 UTC MAIN commitmail json YAML

Update comments to reflect bpf MP-ification

(ozaki-r)

2017-02-13 02:34:11 UTC MAIN commitmail json YAML

2017-02-13 02:33:22 UTC MAIN commitmail json YAML

2017-02-13 01:59:14 UTC MAIN commitmail json YAML

Use fnullop_fcntl instead of audiofcntl.

(nat)

2017-02-12 22:37:49 UTC MAIN commitmail json YAML

fix off-by-one, found by asan.

(christos)

2017-02-12 22:09:51 UTC netbsd-7 commitmail json YAML

2017-02-12 22:07:17 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1357):
libexec/httpd/CHANGES: revision 1.25
libexec/httpd/bozohttpd.8: revisions 1.63-1.65
libexec/httpd/bozohttpd.c: revisions 1.85, 1.86
libexec/httpd/bozohttpd.h: revision 1.47
libexec/httpd/cgi-bozo.c: revisions 1.36, 1.37
libexec/httpd/libbozohttpd/libbozohttpd.3: revision 1.4
libexec/httpd/testsuite/Makefile: revision 1.7
libexec/httpd/testsuite/html_cmp: revision 1.5
libexec/httpd/testsuite/test-bigfile: revision 1.4
libexec/httpd/testsuite/test-simple: revisions 1.3, 1.4
libexec/httpd/testsuite/t11.in: revision 1.1
libexec/httpd/testsuite/t11.out: revision 1.1
libexec/httpd/testsuite/cgi-bin/empty: revision 1.1
Update bozohttpd to 20170201:
- fix an infinite loop in cgi processing
- fixes and clean up for the testsuite
- no longer sends encoding header for compressed formats

(snj)

2017-02-12 22:03:49 UTC netbsd-7-0 commitmail json YAML

bah, combine revisions for ticket 1357

(snj)

2017-02-12 22:00:49 UTC netbsd-7-0 commitmail json YAML

2017-02-12 21:59:45 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1357):
libexec/httpd/CHANGES: revision 1.25
libexec/httpd/bozohttpd.8: revisions 1.63-1.65
libexec/httpd/bozohttpd.c: revisions 1.85, 1.86
libexec/httpd/bozohttpd.h: revision 1.47
libexec/httpd/cgi-bozo.c: revisions 1.36, 1.37
libexec/httpd/libbozohttpd/libbozohttpd.3: revision 1.4
libexec/httpd/testsuite/Makefile: revision 1.7
libexec/httpd/testsuite/html_cmp: revision 1.5
libexec/httpd/testsuite/test-bigfile: revision 1.4
libexec/httpd/testsuite/test-simple: revisions 1.3, 1.4
libexec/httpd/testsuite/t11.in: revision 1.1
libexec/httpd/testsuite/t11.out: revision 1.1
libexec/httpd/testsuite/cgi-bin/empty: revision 1.1
Update bozohttpd to 20170201:
- fix an infinite loop in cgi processing
- fixes and clean up for the testsuite
- no longer sends encoding header for compressed formats

(snj)

2017-02-12 21:52:46 UTC MAIN commitmail json YAML

netbsd_elf_signature - look at note segments (phdrs) not note
sections.  They point to the same data in the file, but sections are
for linkers and are not necessarily present in an executable.

The original switch from phdrs to shdrs seems to be just a cop-out to
avoid parsing multiple notes per segment, which doesn't really avoid
the problem b/c sections also can contain multiple notes.

(uwe)

2017-02-12 21:06:46 UTC MAIN commitmail json YAML

note accept4

(maya)

2017-02-12 21:02:20 UTC MAIN commitmail json YAML

2017-02-12 20:59:23 UTC MAIN commitmail json YAML

Add new entry in doc/CHANGES

ptrace(2): Add signal mask information accessors API:
                PT_GET_SIGMASK and PT_SET_SIGMASK

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-12 19:35:54 UTC MAIN commitmail json YAML

sun4v: Revert previous - paddr_t is not a pointer... noted by nakayama@

(palle)

2017-02-12 18:43:56 UTC MAIN commitmail json YAML

Add a KASSERT, otherwise it looks like a NULL deref; from Mootja.

(maxv)

2017-02-12 18:24:31 UTC MAIN commitmail json YAML

Memory leak, found by Mootja; not tested, but obvious enough.

(maxv)

2017-02-12 18:21:50 UTC MAIN commitmail json YAML

Uninitialized var, found by Mootja; not tested, but obvious enough.

(maxv)

2017-02-12 17:19:00 UTC MAIN commitmail json YAML

overlapping strcpy is UB. use memmove
from asan+ubsan

(maya)

2017-02-12 16:54:06 UTC MAIN commitmail json YAML

Make gpt(8) work when compiled on a glibc-based OS.

This restores the ability to build amd64 install-image's under Linux.

(aymeric)

2017-02-12 16:18:48 UTC MAIN commitmail json YAML

Add entry for prop_ingest in the NAME section.

(abhinav)

2017-02-12 16:00:53 UTC MAIN commitmail json YAML

Use .Fn to refer a function name instead of Nm.
Also, use Xr to refer problib(3) in the HISTORY section instead of Nm.

While parsing the man pages, any .Nm occurrence gets replaced by the
value specified in the NAME section. Referencing individual function
names with .Nm was causing makemandb(8) to replicate the complete
NAME section for every such occurrence. This was leading to an
ugly looking snippet in apropos(1)'s output when searched for
any of these man pages.

(abhinav)

2017-02-12 14:45:09 UTC MAIN commitmail json YAML

file system police.

(wiz)

2017-02-12 14:44:20 UTC MAIN commitmail json YAML

2017-02-12 09:47:32 UTC MAIN commitmail json YAML

2017-02-12 09:36:05 UTC MAIN commitmail json YAML

Remove redundant splnet/splx calls - ec_lock is IPL_NET.

(skrll)

2017-02-12 08:51:45 UTC MAIN commitmail json YAML

Convert to kmem(9)

(skrll)

2017-02-12 08:47:12 UTC MAIN commitmail json YAML

Typo in comment

(skrll)

2017-02-12 08:40:19 UTC MAIN commitmail json YAML

KNF (sort #include <sys/...>) and remove a duplicate

(skrll)

2017-02-12 08:25:32 UTC MAIN commitmail json YAML

RTP timestamp is now set correctly.  The streaming socket is set to non
block blocking and connection state machinre improvement.

(nat)

2017-02-12 06:16:33 UTC MAIN commitmail json YAML

Update TODO.ptrace

Remove:
- add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software

This interface has been committed to HEAD.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-12 06:09:53 UTC MAIN commitmail json YAML

Introduce new interface in ptrace(2) - PT_GET_SIGMASK and PT_SET_SIGMASK

Add new interface to add ability to get/set signal mask of a tracee.
It has been inspired by Linux PTRACE_GETSIGMASK and PTRACE_SETSIGMASK, but
adapted for NetBSD API.

This interface is used for checkpointing software to set/restore context
of a process including signal mask like criu or just to track this property
in reverse-execution software like Record and Replay Framework (rr).

Add new ATF tests for this interface
====================================
getsigmask1:
    Verify that plain PT_SET_SIGMASK can be called

getsigmask2:
    Verify that PT_SET_SIGMASK reports correct mask from tracee

setsigmask1:
    Verify that plain PT_SET_SIGMASK can be called with empty mask

setsigmask2:
    Verify that sigmask is preserved between PT_GET_SIGMASK and
    PT_SET_SIGMASK

setsigmask3:
    Verify that sigmask is preserved between PT_GET_SIGMASK, process
    resumed and PT_SET_SIGMASK

setsigmask4:
    Verify that new sigmask is visible in tracee

Kernel ABI bump delayed as there are more interfaces to come in ptrace(2).

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-12 05:21:34 UTC MAIN commitmail json YAML

Update TODO.ptrace with new entries

Added entries:
- add support to read debugger events via a file descriptor in procfs
  (kevent(2)), it's still useful in cases when a parent traces tracee and has
  to call waitpid(2) for its child - as this clashes with GUI toolkits
- fix more calls for netbsd32 compat

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-11 23:41:36 UTC MAIN commitmail json YAML

sun4v: Fix calculation of mmu data fault address (pointer arithmetic)

(palle)

2017-02-11 22:57:01 UTC MAIN commitmail json YAML

2017-02-11 21:04:29 UTC MAIN commitmail json YAML

2017-02-11 19:35:45 UTC MAIN commitmail json YAML

Don't use slow file_exists_exact if we don't have to.

file_exists_exact function was introduced in 1.26 for the benefit of
cross-building on OS X case-insensitive file system.  It is extremely
slow on diskless machines.  That becomes especially noticeable when
you upgrade a system that has a lot of obsolete files, it can take
literally hours.

(uwe)

2017-02-11 19:34:23 UTC MAIN commitmail json YAML

2017-02-11 19:33:13 UTC MAIN commitmail json YAML

2017-02-11 19:32:41 UTC MAIN commitmail json YAML

Be paranoid about PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2)

Currently a tracer is prohibited to read and write memory of a tracee.
Prohibit reading and faking signal information.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-11 19:10:05 UTC MAIN commitmail json YAML

Update TODO.ptrace

Remove entries:
- remove exect(3) from libc - there is no usecase for it

Interface has been marked obsolete and it's on the queue to be removed for.

- research what happens when a tracee masks signals (including SIGTRAP) and a
  breakpoint is triggered

It has been researched and ATF tests added (signal1 .. signal10).
It's currently broken on NetBSD.

Add:
- research support PT_SYSCALL & PT_STEP combined like in Linux

There are circumstances when we want to sstep and catch syscall events.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-02-11 18:47:36 UTC MAIN commitmail json YAML

Redo rev.1.718, remove trash in line end.

(nakayama)

2017-02-11 18:17:29 UTC MAIN commitmail json YAML

2017-02-11 16:04:59 UTC MAIN commitmail json YAML

2017-02-11 16:02:11 UTC MAIN commitmail json YAML

Put 2MB alignments between the kernel segments. This way the kernel image
is entirely mapped with large pages, which uniformizes performance and
reduces fluctuation. Sent on port-amd64.

(maxv)

2017-02-11 15:37:30 UTC MAIN commitmail json YAML

Allow Unicast Poll from RFC 1122 to bypass DaD checking.

(roy)

2017-02-11 15:32:51 UTC MAIN commitmail json YAML

mention timezone change for -T timestamp

(christos)

2017-02-11 15:27:08 UTC MAIN commitmail json YAML

Note a new tic tool is required for the new terminfo database.

(roy)

2017-02-11 15:13:17 UTC MAIN commitmail json YAML

Warn about unprintable characters in capability strings.

(roy)

2017-02-11 15:11:45 UTC MAIN commitmail json YAML

Fix a few (unused) MSR values, and add some others that I believe are
relevant.

From Murray Armfield (PR/42861).

(maxv)

2017-02-11 15:05:15 UTC MAIN commitmail json YAML

Remove VM_MAX_KERNEL_BUF (unused). Looks like several other ports could
do the same.

(maxv)

2017-02-11 14:57:15 UTC MAIN commitmail json YAML

Following a newline, strip leading whitespace from capability strings.

(roy)

2017-02-11 14:11:25 UTC MAIN commitmail json YAML

Instead of using a global array with per-cpu indexes, embed the tmp VAs
into cpu_info directly. This concerns only {i386, Xen-i386, Xen-amd64},
because amd64 already has a direct map that is way faster than that.

There are two major issues with the global array: maxcpus entries are
allocated while it is unlikely that common i386 machines have so many
cpus, and the base VA of these entries is not cache-line-aligned, which
mostly guarantees cache-line-thrashing each time the VAs are entered.

Now the number of tmp VAs allocated is proportionate to the number of CPUs
attached (which therefore reduces memory consumption), and the base is
properly aligned.

On my 3-core AMD, the number of DC_refills_L2 events triggered when
performing 5x10^6 calls to pmap_zero_page on two dedicated cores is on
average divided by two with this patch.

Discussed on tech-kern a little.

(maxv)

2017-02-11 13:22:58 UTC MAIN commitmail json YAML

As the XXX implicitly suggests, this line is wrong. Many other families
support PMCs (like my 10h amd). While here, put a warning in a comment.

(maxv)

2017-02-11 10:33:44 UTC MAIN commitmail json YAML

2017-02-11 10:23:39 UTC MAIN commitmail json YAML

PR/51953: fix unable to boot on some AMD machine.

Delayed the timing to copy the kernel to actual address.
copy routine from common/lib/libc/arch/x86_64/string/bcopy.S

(nonaka)

2017-02-11 10:18:10 UTC MAIN commitmail json YAML

efiboot: Copy bootinfo to safe arena.

(nonaka)

2017-02-11 10:15:55 UTC MAIN commitmail json YAML

2017-02-11 10:13:46 UTC MAIN commitmail json YAML

2017-02-11 09:15:38 UTC MAIN commitmail json YAML

Sync our changes.

(roy)

2017-02-11 09:12:32 UTC MAIN commitmail json YAML

Import terminfo-20170128.src

(roy)

2017-02-11 08:36:31 UTC MAIN commitmail json YAML

Audio passed the atf test again.

(nat)

2017-02-11 08:14:05 UTC MAIN commitmail json YAML

Clean up another extraneous -f option

(pgoyette)

2017-02-11 08:08:00 UTC MAIN commitmail json YAML

Remove leftover "-f" from when this used to be a cp command.

Unbreak the build for install-image target.

(pgoyette)

2017-02-11 04:59:01 UTC MAIN commitmail json YAML

add sparc64 hack

(christos)

2017-02-11 04:56:37 UTC MAIN commitmail json YAML

Add hack for profiling bimodal label generation with -m32 on sparc64

(christos)

2017-02-11 04:19:25 UTC MAIN commitmail json YAML

2017-02-11 03:07:06 UTC MAIN commitmail json YAML

2017-02-10 23:26:23 UTC MAIN commitmail json YAML

2017-02-10 23:11:30 UTC MAIN commitmail json YAML

remove misleading comment about version 3.0 microcode

The last known microcode to work is 2.4. Version 3.0 changes
the header signature and fails with "block too big for NPE memory".
Provide a backup download URL since intel removed version < 3.0.

(tnn)

2017-02-10 21:03:15 UTC MAIN commitmail json YAML

Committed a temporary copy with extra lines of code not needed. Opps...

(nat)

2017-02-10 20:56:21 UTC MAIN commitmail json YAML

make attach and detach locking symmetric (detaching cloners failed)

(christos)

2017-02-10 20:30:39 UTC MAIN commitmail json YAML

update firmware download URL

(tnn)

2017-02-10 19:31:42 UTC MAIN commitmail json YAML

Audio now uses fdclone, there is no longer a limitation of one audio
instance per process.  Virtual channels are placed in a queue, so there is
no longer a compile time limit of VAUDIOCHANS.

A new sysctl has been added to control multiple user access.
Mixer labels on virtual channels are now prefixed by vchan.

audiobell.c and audioctl have been updated to reflect these changes.

Use of fdclone was posted to tech-kern@ and improvements made.
Multiuser access control changes and the use of a queue were suggessted by
pgoyette@

(nat)

2017-02-10 18:12:52 UTC MAIN commitmail json YAML

2017-02-10 18:11:56 UTC MAIN commitmail json YAML

2017-02-10 18:11:18 UTC MAIN commitmail json YAML

2017-02-10 18:06:59 UTC MAIN commitmail json YAML

2017-02-10 17:56:27 UTC MAIN commitmail json YAML

2017-02-10 17:53:25 UTC MAIN commitmail json YAML