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


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




switch to index mode

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

2024-05-10 11:39:16 UTC Now

2017-07-02 16:06:42 UTC MAIN commitmail json YAML

2017-07-02 15:28:25 UTC MAIN commitmail json YAML

2017-07-02 15:27:58 UTC MAIN commitmail json YAML

Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.

(jmcneill)

2017-07-02 15:09:53 UTC MAIN commitmail json YAML

In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.

(bouyer)

2017-07-02 15:08:29 UTC netbsd-8 commitmail json YAML

Revert previous; wrong branch

(bouyer)

2017-07-02 15:07:13 UTC netbsd-8 commitmail json YAML

In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.

(bouyer)

2017-07-02 14:10:53 UTC MAIN commitmail json YAML

remove the single use of f_pad...

(christos)

2017-07-02 14:10:23 UTC MAIN commitmail json YAML

remove f_pad, conflicts with new <sys/file.h> define.

(christos)

2017-07-02 13:36:46 UTC MAIN commitmail json YAML

2017-07-02 13:32:51 UTC MAIN commitmail json YAML

If a particular pad device is opened, ie pad1 then configure and use pad1
if it is not already configured.

This improves scriptability as you will know the particular pad(4) device
you have opened.

pad(4) devices still have a cloning interface if pad device (minor
number 254) is opened it will attach the next free device.  This action
can be repeated.

XXX update MAKEDEV scripts to make /dev/pad the cloning device.

Ok christos@.

(nat)

2017-07-02 11:21:14 UTC MAIN commitmail json YAML

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

Use a bitmap-based allocator for i386, same as amd64. Several functions
are now identical - or nearly identical - on both sides. I couldn't test
this change on xen, because I'm having some unrelated issues with my VM
and I've spent enough time not understanding what's wrong with it.

(maxv)

2017-07-02 10:52:35 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-02 10:12:45 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-02 09:02:51 UTC MAIN commitmail json YAML

Hide the computation in a macro.

(maxv)

2017-07-02 09:02:06 UTC MAIN commitmail json YAML

Define MINGDTSIZ/MAXGDTSIZ in bytes, not in number of slots; same as
amd64.

(maxv)

2017-07-02 08:25:52 UTC MAIN commitmail json YAML

2017-07-02 07:02:47 UTC MAIN commitmail json YAML

2017-07-02 05:59:27 UTC MAIN commitmail json YAML

Return early from read if kpause is interrupted by a signal.

(nat)

2017-07-02 02:39:18 UTC MAIN commitmail json YAML

don't warn about AF_LINK sockets with sa_len less than the size of the sockaddr

(christos)

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

2017-07-01 23:31:19 UTC MAIN commitmail json YAML

Pad is now clones its device, attaching upon open and detaching upon close.
This means that only one pad device is required in /dev.

The code contains a compile time limit of 128 units.

Ok christos@.

(nat)

2017-07-01 23:27:17 UTC MAIN commitmail json YAML

On a forcefull detach wait for spkr to close as the detach has to
succeed.

Ok christos@.

(nat)

2017-07-01 23:12:09 UTC MAIN commitmail json YAML

2017-07-01 22:49:09 UTC MAIN commitmail json YAML

2017-07-01 20:08:56 UTC MAIN commitmail json YAML

fix file descriptor locking (from joerg).
fixes kernel crashes by running go
XXX: pullup-7

(christos)

2017-07-01 20:07:00 UTC MAIN commitmail json YAML

Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
Makes go unit tests pass.

(christos)

2017-07-01 16:59:12 UTC MAIN commitmail json YAML

put the code that returns the sizeof the socket by family in one place.

(christos)

2017-07-01 16:36:46 UTC MAIN commitmail json YAML

2017-07-01 16:34:17 UTC MAIN commitmail json YAML

2017-07-01 16:25:16 UTC MAIN commitmail json YAML

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.

(jmcneill)

2017-07-01 15:54:09 UTC MAIN commitmail json YAML

do what other SCSI drivers do - ack MSG_IGN_WIDE_RESIDUE messages and move on
instead of erroring out and resetting the drive
while there, when rejecting a message print which one it is
now my U2 boots without resetting its disk 3 times

(macallan)

2017-07-01 15:30:41 UTC MAIN commitmail json YAML

Whitespace (align comments)

(skrll)

2017-07-01 15:28:18 UTC MAIN commitmail json YAML

2017-07-01 14:51:59 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-01 12:52:01 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-01 12:23:09 UTC MAIN commitmail json YAML

--disable-nls does not work in gdb subdir, so add am_cv_func_iconv=no to
configure env. Fixes build on FreeBSD.

(jmcneill)

2017-07-01 10:44:43 UTC MAIN commitmail json YAML

Remove the osyscall call gate on i386, and emulate it. There is a one-
instruction race in it that could panic the kernel.

(maxv)

2017-07-01 09:26:51 UTC MAIN commitmail json YAML

2017-07-01 09:18:31 UTC MAIN commitmail json YAML

Report an error if compiled with MULTIPROCESSOR support but without
__HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-01 09:17:44 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP to make use of the idlelwp stacks
created by arm32_kvminit.c

(skrll)

2017-07-01 08:58:41 UTC netbsd-8 commitmail json YAML

2017-07-01 08:56:07 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #77):
sys/net/if.h: revision 1.240
sys/netinet/if_arp.c: revision 1.253
sys/net/if.c: revision 1.395
Introduce if_get_bylla to find an interface with the active
local link address.
--
Use if_get_bylla() instead of just looking at the lla of the interface
the address belongs to.
This allows any ARP message we receieved from another interface to
be correctly dropped.
While here, move the protocol length check higher up the food chain.

(snj)

2017-07-01 08:54:08 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #76):
sys/miscfs/specfs/spec_vnops.c: revision 1.174
Refuse to open a block device with zero open count when it has
a mountpoint set.  This may happen after forced detach or unplug
of a mounted block device.

(snj)

2017-07-01 08:53:06 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #75):
sys/fs/udf/udf_vfsops.c: revision 1.76
No need to call vflush from failing udf_mount().  If the system nodes
really have to disappear we should change vrele() to vrecycle() here.

(snj)

2017-07-01 08:51:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #73):
sys/netinet6/ip6_output.c: revision 1.192
Fix usage of ip6_get_membership
It may set nothing to ifp even if returning 0. So we need to NULL-clear
ifp before calling it.
Fix PR kern/52324

(snj)

2017-07-01 08:49:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #72):
sys/arch/evbarm/conf/GEMINI_SLAVE: revision 1.35
sys/arch/evbarm/conf/N900: revision 1.24
sys/arch/evbarm/conf/GOLDENGATE: revision 1.14
sys/arch/evbarm/conf/GEMINI_MASTER: revision 1.34
sys/arch/evbarm/conf/BEAGLEBONE: revision 1.43
sys/arch/evbarm/conf/BCM56340: revision 1.12
sys/arch/evbarm/conf/GEMINI: revision 1.34
sys/arch/evbarm/conf/BEAGLEBOARDXM: revision 1.24
sys/arch/evbarm/conf/BCM5301X: revision 1.27
sys/arch/evbarm/conf/PANDABOARD: revision 1.22
Add a heading to describe the class of device axe(4) is.

(snj)

2017-07-01 08:45:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #67):
sys/dev/sdmmc/ld_sdmmc.c: 1.28
sys/dev/sdmmc/sdmmc_mem.c: 1.58-1.60
sys/dev/sdmmc/sdmmcreg.h: 1.30, 1.31
sys/dev/sdmmc/sdmmcvar.h: 1.25-1.27
Add discard support to ld@sdmmc using the ERASE (CMD38) command.
--
Read SD status register and print card status when a new SD card is found:
  sdmmc0: SD card status: 4-bit, C10, U1, V10
If the SD status register reports discard support, set the DISCARD arg to
the ERASE operation to let the card know that the host doesn't care if the
erase is performed.
--
Revert part of previous; the SD card spec recommends not to issue a DISCARD
command to the file system area.

(snj)

2017-07-01 08:41:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #66):
sys/dev/tc/tc.c: revision 1.56
Fix missing TC bus speed.

(snj)

2017-07-01 08:39:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #65):
share/man/man4/tc.4: revision 1.7
sys/arch/alpha/tc/tcasic.c: revision 1.46
sys/arch/pmax/tc/tcbus.c: revision 1.33
sys/arch/vax/conf/files.vax: revision 1.121
sys/arch/vax/vsa/tc_vsbus.c: revision 1.8, 1.9
sys/dev/tc/tc.c: revision 1.55
sys/dev/tc/tcvar.h: revision 1.27
Make VAXstation 4000 TURBOchannel adaptor work.
PIO and IRQ tested on VS4000/60 and /96 with TC-USB (slhci) and PMAD-AA (le).
DMA is untested.
vax needs space to be mapped out, so memory space is pre-mapped for TC option
drivers not bus_space'ified yet, also providing custom bus_space methods for
this kludge.
--
whitespace
--
Add vax.

(snj)

2017-07-01 06:14:51 UTC MAIN commitmail json YAML

Make $- list flags in the same order they appear in sh(1)

(kre)

2017-07-01 05:50:10 UTC MAIN commitmail json YAML

sc_audiodev should be defined as a device_t as this is what audio_attach_mi
returns.

(nat)

2017-07-01 05:44:52 UTC MAIN commitmail json YAML

Broadcast all conditional variables if in being deactivated so no readers
or writers get stuck.

(nat)

2017-07-01 05:32:24 UTC MAIN commitmail json YAML

Don't keep writing data if an error has occurred.

(nat)

2017-07-01 05:11:58 UTC MAIN commitmail json YAML

Sort options (our default is 0..9AaBbZz).
Fix markup problems and a typo.

(wiz)

2017-06-30 23:48:50 UTC MAIN commitmail json YAML

Correct a markup typo (why did I not see this before the prev commit??)

(kre)

2017-06-30 23:07:29 UTC MAIN commitmail json YAML

Omnibus manual update for prompt expansions and new variables.  Throw in
some random cleanups as a bonus.

(kre)

2017-06-30 23:05:45 UTC MAIN commitmail json YAML

Implement a bunch of new shell environment variables. many mostly useful
in prompts when expanded at prompt time, but all available for general use.
Many of the new ones are not available in SMALL shells (they work as normal
if assigned, but the shell does not set or use them - and there is no magic
in a SMALL shell (usually for install media.))

(kre)

2017-06-30 23:02:56 UTC MAIN commitmail json YAML

Implement PS1, PS2 and PS4 expansions (variable expansions, arithmetic
expansions, and if enabled by the promptcmds option, command substitutions.)

(kre)

2017-06-30 23:01:21 UTC MAIN commitmail json YAML

Include redirections in trace output from "set -x"

(kre)

2017-06-30 23:00:40 UTC MAIN commitmail json YAML

NFC: DEBUG only change - provide an externally visible (to the DEBUG sh
internals) interface to one of the internal (private to trace code) functions

(kre)

2017-06-30 21:39:43 UTC MAIN commitmail json YAML

make this standalone.

(christos)

2017-06-30 20:26:52 UTC MAIN commitmail json YAML

Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the literal sequence (this character
must be one with a printing column width >= 1).  The literal indicator
character (which is just a marker, and not printed anywhere) (the PSlit
parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t,
encoded as that by sh(1) or other applications that support this.)

Note: this has currently only been tested with everything ascii (C locale).

(kre)

2017-06-30 18:28:31 UTC MAIN commitmail json YAML

Avoid DIAGNOSTIC warning with previous fix and simplify it (don't require
memory alloc/free).

(christos)

2017-06-30 11:55:56 UTC MAIN commitmail json YAML

remove merge conflict part.

(christos)

2017-06-30 11:52:32 UTC MAIN commitmail json YAML

2017-06-30 11:32:34 UTC MAIN commitmail json YAML

src/external/bsd/bind/dist/CHANGES@1.28 / diff / nxr@1.28
src/external/bsd/bind/dist/README@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch08.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch09.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/Bv9ARM.pdf@1.21 / diff / nxr@1.21
src/external/bsd/bind/dist/doc/arm/man.arpaname.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.ddns-confgen.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.delv.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dig.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-checkds.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-coverage.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-dsfromkey.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-importkey.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-keyfromlabel.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-keygen.html@1.16 / diff / nxr@1.16
src/external/bsd/bind/dist/doc/arm/man.dnssec-revoke.html@1.16 / diff / nxr@1.16
      :
(more 23 files)
merge conflicts

(christos)

2017-06-30 10:03:34 UTC MAIN commitmail json YAML

Revert previous since it causes a double free (p->nc_netid == tmp == tmp2).
From Xin Li @ FreeBSD.
XXX: pullup 7

(christos)

2017-06-30 09:19:19 UTC MAIN commitmail json YAML

Use of_match_compatible instead of of_compatible

(jmcneill)

2017-06-30 09:17:05 UTC MAIN commitmail json YAML

Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.

(jmcneill)

2017-06-30 09:11:22 UTC MAIN commitmail json YAML

Restore the original length of a sockaddr for netmask

route(8) passes a sockaddr for netmask that is truncated with its
prefixlen. However the kernel basically doesn't expect such format
and may read beyond the data. So restore the original length of the
the data at the beginning of the kernel for the rest components.

Failures of ATF tests such as route_flags_blackhole6 should
be fixed.

(ozaki-r)

2017-06-30 09:11:22 UTC MAIN commitmail json YAML

2017-06-30 09:05:52 UTC MAIN commitmail json YAML

2017-06-30 08:10:50 UTC MAIN commitmail json YAML

KNF. Same code before and after.

(skrll)

2017-06-30 08:05:22 UTC MAIN commitmail json YAML

2017-06-30 07:57:13 UTC MAIN commitmail json YAML

Check if ARP/NDP entries are purged when a related route is deleted

(ozaki-r)

2017-06-30 07:00:25 UTC netbsd-8 commitmail json YAML

2017-06-30 06:51:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #74):
sys/dev/mulaw.c: 1.31, 1.32
Rectify an error in mulaw/alaw conversion to big endian.  The atf audio
test should pass on sparc again.
--
Better solution to mulaw/alaw conversion on big endian systems/sound
devices.

(snj)

2017-06-30 06:43:07 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #71):
sys/dev/audio.c: 1.359-1.366
sys/dev/audiovar.h: 1.56
No need to reset the audioinfo whem dealing with the hardware ring.  This
avoids a panic with some audio devices.
Ok christos@.
--
sc_iffreq -> sc_frequency.  NFCI.
Ok christos@.
--
Allow for bigger data types to mix into to avoid overflow.
--
Check hardare precision in vchan_autoconfig.  Passes atf test again.
--
Use pustream params when clearing the next block in the mixring.
--
Check validbits against precision in vchan_autoconfig.  At present
validbits != precision is not supported.
This change will most likely break autoconfig on vs(4), for these machines
the parameters can be set to the paramaters reported at attach time via
sysctl.
--
Don't start playback or recording on the hw ring only stream ring buffers.
--
Don't autoconfig for 24 bits precision.  It does not work as yet.

(snj)

2017-06-30 06:38:00 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #70):
sys/dev/auconv.c: 1.27, 1.28
sys/dev/mulaw.c: 1.29, 1.30
sys/dev/mulaw.h: revision 1.21-1.24
sys/dev/auconv.h: 1.17, 1.18
Add support for more formats.  At present 24 bit formats do not work and
have been disabled.
Ok christos@.
--
Fix defines to proper function names.
--
comment out unused variables.
--
Remove stray ";" from defines.
--
Use LINEARNTOMULAW for 8 bits as well.

(snj)

2017-06-30 06:34:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #69):
sys/dev/aurateconv.c: revision 1.20
Rate conversion works at 8 bits, so enable it.
Ok christos@.

(snj)

2017-06-30 06:32:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #68):
sys/dev/ic/am7930.c: revision 1.54
sys/dev/ic/am7930.c: revision 1.55
rfill and pfill mixed up.
--
Set hw parameters for linear to ulaw filters.
Tested by flxd@.

(snj)

2017-06-30 06:28:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #63):
libexec/ld.elf_so/headers.c: revision 1.62
Remove old assert that only two segments exist. The rest of the code has
been changed to cope with more and at least Go actively creates them.
Adjust the mapping size computation to use the maximum and not depend on
PT_LOAD segments to be in order.

(snj)

2017-06-30 06:27:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by khorben in ticket #62):
sys/arch/amd64/conf/XEN3_DOM0: revision 1.136
sys/arch/i386/conf/XEN3_DOM0: revision 1.113
sys/arch/xen/conf/files.xen: revision 1.148
Register support for SD card readers with Xen DOM0 kernels
Tested on a Lenovo ThinkPad T440s (amd64)

(snj)

2017-06-30 06:25:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #61):
sys/dev/hpc/hpckbd.c: revision 1.31
Restore wscons keymaps feature on hpcarm
hpc ports need to alter keydesc data at runtime in order to load
alternate keymaps. But since keydesc is const initialized data, it
is mapped read only and the operation should fail.
It seems older compiler failed to enforce the read-only mapping and
this is why it used to work, but on recent NetBSD releases, the
feature is broken.
We fix it by duplicating the keydesc data once into a malloc'ed area
that can be modified.

(snj)

2017-06-30 06:23:17 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #59):
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.30
Disable SDR50 support, it is not reliable on these boards.

(snj)

2017-06-30 06:17:51 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #58):
sys/net/if_gif.c: revision 1.127
I have forgotten to commit this gif(4) MP-ify patch for a long time, sorry.

(snj)

2017-06-30 05:22:14 UTC MAIN commitmail json YAML

Minor wording improvement, and use an apostrophe for possession.

(pgoyette)

2017-06-30 05:18:36 UTC MAIN commitmail json YAML

ksh: Eliminate dead function x_complete_word()

(kamil)

2017-06-30 05:14:12 UTC MAIN commitmail json YAML

ksh: Eliminate dead code from expand.h

(kamil)

2017-06-30 04:44:46 UTC MAIN commitmail json YAML

ksh: Drop old hack for FreeBSD 1.1.5 and CLK_TCK

(kamil)

2017-06-30 04:41:19 UTC MAIN commitmail json YAML

2017-06-30 04:30:26 UTC MAIN commitmail json YAML

ksh: Eliminate dead MEM_DEBUG sections, there is missing code for it

MEM_DEBUG used to contain malloc(3) debugging facilities.

(kamil)

2017-06-30 04:22:22 UTC MAIN commitmail json YAML

ksh: Drop support for OSes without POSIX sigaction(2)

(kamil)

2017-06-30 04:11:57 UTC MAIN commitmail json YAML

ksh: Drop support for OSes that don't map /dev/fd

(kamil)

2017-06-30 04:01:48 UTC MAIN commitmail json YAML

ksh: Drop old hack fo SunOS 4.1.x (1990-1994)

(kamil)

2017-06-30 03:56:12 UTC MAIN commitmail json YAML

2017-06-30 03:43:57 UTC MAIN commitmail json YAML

2017-06-30 03:35:16 UTC MAIN commitmail json YAML

ksh: Drop support for systems without POSIX lstat(2)

(kamil)

2017-06-30 03:32:28 UTC MAIN commitmail json YAML

ksh: Drop support for systems without POSIX <sys/wait.h>

(kamil)

2017-06-30 03:23:18 UTC MAIN commitmail json YAML

ksh: Drop support for systems with broken times(3)

This fallback code wouldn't work anyway.

times(3) is an obsolete interface by getrusage(2) and gettimeofday(2).
In future it will be swiched to more modern interfaces.

No functional change intended.

(kamil)

2017-06-30 02:51:14 UTC MAIN commitmail json YAML

2017-06-30 02:38:10 UTC MAIN commitmail json YAML

2017-06-30 02:20:47 UTC MAIN commitmail json YAML

ksh: Drop support for systems without POSIX signal routines

(kamil)

2017-06-30 02:13:29 UTC MAIN commitmail json YAML

ksh: Drop support for systems without implementation of EINTR

These systems weren't handled anyway.

(kamil)

2017-06-30 02:06:59 UTC MAIN commitmail json YAML

ksh: Drop support for systems without handling shebang

(kamil)

2017-06-30 02:02:41 UTC MAIN commitmail json YAML

ksh: Drop support for OSes without POSIX types

Assume available: mode_t, off_t, pid_t, uid_t, rlim_t, sigset_t.

(kamil)

2017-06-30 01:56:34 UTC MAIN commitmail json YAML

ksh: Drop support for systems without <sys/wait.h>

(kamil)

2017-06-30 01:52:34 UTC MAIN commitmail json YAML

ksh: Drop ksh_wait.h that reinvents <sys/wait.h> (POSIX header)

Switch jobs.c to <sys/wait.h>.

No functional change intended.

(kamil)

2017-06-30 01:36:30 UTC MAIN commitmail json YAML

ksh: Drop support for systems without gid_t

(kamil)

2017-06-29 21:34:50 UTC MAIN commitmail json YAML

Print clocks with aprint_debug

(jmcneill)

2017-06-29 20:55:10 UTC MAIN commitmail json YAML

Add arm_fdt_memory_dump helper for dumping physical addresses from ddb

(jmcneill)

2017-06-29 20:54:28 UTC MAIN commitmail json YAML

Don't allow sharing edge and level triggered interrupts.

(jmcneill)

2017-06-29 20:54:03 UTC MAIN commitmail json YAML

PHY registers start at index 1. Now USB works.

(jmcneill)

2017-06-29 19:38:25 UTC MAIN commitmail json YAML

2017-06-29 19:16:08 UTC MAIN commitmail json YAML

2017-06-29 18:52:23 UTC MAIN commitmail json YAML

Mark a few more things as not-for-clang. While the sanitizers would
likely build, there are ordering issues relative to the libc++ build
right now.

(joerg)

2017-06-29 17:20:59 UTC MAIN commitmail json YAML

Synopsys DesignWare APB UART needs "options COM_AWIN" for now.

(jmcneill)

2017-06-29 17:08:52 UTC MAIN commitmail json YAML

2017-06-29 17:06:21 UTC MAIN commitmail json YAML

Support parents in different clock domains.

(jmcneill)

2017-06-29 17:05:27 UTC MAIN commitmail json YAML

Rename a variable, NFC.

(jmcneill)

2017-06-29 17:04:54 UTC MAIN commitmail json YAML

Add glue for generic ehci/ohci bindings.

(jmcneill)

2017-06-29 17:04:17 UTC MAIN commitmail json YAML

2017-06-29 12:25:04 UTC netbsd-7 commitmail json YAML

2017-06-29 12:24:10 UTC netbsd-7 commitmail json YAML

Pull up the following revisions(s) (requested by christos in ticket #1412):
sys/external/bsd/ipf/netinet/fil.c: revision 1.20
sys/external/bsd/ipf/netinet/ip_state.c: revision 1.7
sys/external/bsd/ipf/netinet/ip_frag.c: revision 1.5

Disconnect maintaining fragment state from keeping session state. The user
now must specify keep frags along with keep state to have ipfilter do what
it did before, as documented in ipf.conf.5.
Free the right fragment. This will cause use after free issues and eventually
panic.

(sborrill)

2017-06-29 10:53:59 UTC MAIN commitmail json YAML

2017-06-29 09:26:06 UTC MAIN commitmail json YAML

2017-06-29 08:51:27 UTC MAIN commitmail json YAML

reduce rump waring message. pointed out by ozaki-r@n.o, thanks.

(knakahara)

2017-06-29 07:15:27 UTC MAIN commitmail json YAML

Tweak outputs of netstat -s for IPsec

- Get rid of "Fast"
- Use ipsec and ipsec6 for titles to clarify protocol
- Indent outputs of sub protocols

Original outputs were organized like this:

(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:
(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:

New outputs are organized like this:

ipsec:
ah:
esp:
ipip:
ipcomp:
ipsec6:
ah:
esp:
ipip:
ipcomp:

(ozaki-r)

2017-06-29 07:13:41 UTC MAIN commitmail json YAML

2017-06-29 02:54:40 UTC MAIN commitmail json YAML

Fix an obvious, but almost invisible typo (avoid some core dumps).

(kre)

2017-06-29 00:11:28 UTC MAIN commitmail json YAML

ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.

Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.

(jmcneill)

2017-06-28 23:51:29 UTC MAIN commitmail json YAML

2017-06-28 23:49:30 UTC MAIN commitmail json YAML

Support interrupt sharing.

(jmcneill)

2017-06-28 23:48:23 UTC MAIN commitmail json YAML

2017-06-28 23:45:21 UTC MAIN commitmail json YAML

Attach fdtbus to a /clocks node with no compatible string.

(jmcneill)

2017-06-28 20:46:35 UTC MAIN commitmail json YAML

Revert the KERNHIST for now it causes problems

(skrll)

2017-06-28 19:59:36 UTC jdolecek-ncq commitmail json YAML

enable ATAPI on mvsata(4); it seems to work fine for my cdrom

(jdolecek)

2017-06-28 19:54:38 UTC jdolecek-ncq commitmail json YAML

ATAPI on siisata(4), ahcisata(4) tested

(jdolecek)

2017-06-28 14:39:34 UTC MAIN commitmail json YAML

Pack assoc structs.

(rjs)

2017-06-28 14:38:18 UTC MAIN commitmail json YAML

Put back some commented out code.

(rjs)

2017-06-28 13:46:06 UTC MAIN commitmail json YAML

Now libedit supports embedded mode switch sequence, improve sh
support for them (adds PSlit variable to set the magic character).

(kre)

2017-06-28 13:22:29 UTC MAIN commitmail json YAML

2017-06-28 13:12:37 UTC MAIN commitmail json YAML

PR/52346: Frank Kardel: Fix checksumming for NAT-T
See XXX for improvements.

(christos)

2017-06-28 08:17:50 UTC MAIN commitmail json YAML

Enable to remove multiple ARP/NDP entries for one destination

The kernel can have multiple ARP/NDP entries which have an indentical
destination on different interfaces. This is normal and can be
reproduce easily by ping -I or ping6 -S. We should be able to remove
such entries.

arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries
and remove matched entries. So we can remove multiple entries
described above. This fetch all and selective removal behavior is
the same as arp <ip> and ndp <ip>; they also do fetch all entries
and show only matched entries.

Related to PR 51179

(ozaki-r)

2017-06-28 04:14:53 UTC MAIN commitmail json YAML

2017-06-28 04:10:47 UTC MAIN commitmail json YAML

Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes

They don't have llinfo anymore. And also the change fixes unexpected
behavior of ARP proxy.

(ozaki-r)

2017-06-28 03:57:36 UTC MAIN commitmail json YAML

Add IXGBE_TIPG_IPGT_MASK and IXGBE_PAP_PACE_MASK for packet pacing.

(msaitoh)

2017-06-28 02:46:31 UTC MAIN commitmail json YAML

Make DHCP programs compatible with crunchgen(1)

DHCP programs are incompatible with crunchgen(1) so far, because
libdhcp uses callbacks with the same function names for dhclient,
dhcrelay, dhcpd, and omshell. As a result, it is impossible to
link correctly in a single binary.

The offending symbols are classify, check_collection, dhcp, dhcpv6,
bootp, find_class, parse_allow_deny, and dhcp_set_control_state, and
the local_port and remote_port variables.

This change make each program register an array of callbacks at
main() start. libdhcp then uses callbacks through registered
function and variable pointers, and DHCP programs can now go
trough crunchgen(1).

Submitted upstream as ISC-Bugs #45330 with a patch against latest ISC git.
The soon to be released 4.3.6 will not include the change, but it is
likely to be included in 4.3.7

(manu)

2017-06-27 23:29:13 UTC MAIN commitmail json YAML

2017-06-27 23:27:03 UTC MAIN commitmail json YAML

Add literal prompt support this allows one to do:
CA="$(printf '\1')"
PS1="${CA}$(tput bold)${CA}\$${CA}$(tput sgr0)${CA} "

(christos)

2017-06-27 23:25:13 UTC MAIN commitmail json YAML

2017-06-27 23:24:19 UTC MAIN commitmail json YAML

remove unused variable

(christos)

2017-06-27 23:23:48 UTC MAIN commitmail json YAML

2017-06-27 23:23:09 UTC MAIN commitmail json YAML

- handle literal escape sequence printing.
- factor out common code in allocation and freeing of the display.

(christos)

2017-06-27 23:22:20 UTC MAIN commitmail json YAML

mention the limitation of the literal sequence delimiter.

(christos)

2017-06-27 20:13:56 UTC jdolecek-ncq commitmail json YAML

need to explicitely call siisata_timeout() also for polled bio command when
it times out to clean up; this should avoid the 'polled command has been
queued' panic from wddump()

(jdolecek)

2017-06-27 18:36:04 UTC jdolecek-ncq commitmail json YAML

attend error paths, more strict asserts and code consistency

- atastart() and ata_kill_pending() now KASSERT() that all xfers on queue
  have same channel
- inactive xfers are killed via new reason KILL_GONE_INACTIVE, controller
  code must not call any resource deactivation in that case
- c_intr() must call ata_waitdrain_xfer_check() as first thing, and must not
  further touch any xfer structures on exit path; any resource cleanup
  is supposed to be done in c_kill_xfer()
- c_kill_xfer() should never call atastart()
- ata_waitdrain_check() removed, replaced by ata_waitdrain_xfer_check()
- ATA_DRIVE_WAITDRAIN handling converted to use condvar
- removed unused ata_c callback

(jdolecek)

2017-06-27 18:16:50 UTC jdolecek-ncq commitmail json YAML

note ATAPI on siisata, ahcisata needs to be tested

(jdolecek)

2017-06-27 13:54:56 UTC MAIN commitmail json YAML

Use host byte order for a debug message.

(rjs)

2017-06-27 13:27:54 UTC MAIN commitmail json YAML

Check outgoing cookie size before accessing any contents.

Spotted in FreeBSD by maya.

(rjs)

2017-06-27 12:43:44 UTC MAIN commitmail json YAML

Make one example more like a real world possibility (it still isn't, but
is closer) - though the actual content is irrelevant to the point being made.

(kre)

2017-06-27 12:21:54 UTC MAIN commitmail json YAML

Use if_get_bylla() instead of just looking at the lla of the interface
the address belongs to.
This allows any ARP message we receieved from another interface to
be correctly dropped.

While here, move the protocol length check higher up the food chain.

(roy)

2017-06-27 12:17:27 UTC MAIN commitmail json YAML

Introduce if_get_bylla to find an interface with the active
local link address.

(roy)

2017-06-27 11:55:07 UTC MAIN commitmail json YAML

2017-06-27 10:33:09 UTC MAIN commitmail json YAML

Fix a bug of ixg(4)'s media setting.

Before:
ifconfig ixg0 media 100baseTX -> advertise 100Mbps only
ifconfig ixg0 media 1000baseT -> advertise 1Gbps and 1000Mbps (NG)
ifconfig ixg0 media 10Gbase-T -> advertise all (NG)
ifconfig ixg0 media auto -> advertise all

After:
ifconfig ixg0 media 100baseTX -> advertise 100Mbps only
ifconfig ixg0 media 1000baseT -> advertise 1Gbps only
ifconfig ixg0 media 10Gbase-T -> advertise 10Gbps only
ifconfig ixg0 media auto -> advertise all

(msaitoh)

2017-06-27 09:44:13 UTC MAIN commitmail json YAML

Ensure to close open file descriptors.

Patch by pgoyette@.

(nat)

2017-06-27 09:35:05 UTC MAIN commitmail json YAML

2017-06-27 08:40:53 UTC MAIN commitmail json YAML

Add missing check for dead or dying vnode to the entry of genfs_getpages().

(hannken)

2017-06-27 08:30:40 UTC MAIN commitmail json YAML

Get rid of workarounds for ancient groff html backend.
Simplify macro usage.

(wiz)

2017-06-27 08:10:44 UTC MAIN commitmail json YAML

2017-06-27 08:09:50 UTC MAIN commitmail json YAML

2017-06-27 08:09:14 UTC MAIN commitmail json YAML

Add verb to sentence.

(wiz)

2017-06-27 08:03:55 UTC MAIN commitmail json YAML

Add some register definitions for X550 and newer.

(msaitoh)

2017-06-27 05:31:40 UTC MAIN commitmail json YAML

It appears that some experimental version of these got committed somehow.
Re-gen again...

(kre)

2017-06-27 05:17:54 UTC MAIN commitmail json YAML

Reduce diff against FreeBSD. change hw.ixgN.ts to hw.ixgN.thermal_test
(FreeBSD r282289).

(msaitoh)

2017-06-27 05:01:52 UTC MAIN commitmail json YAML

Reduce diff against FreeBSD. No functional change.

(msaitoh)

2017-06-27 04:56:13 UTC MAIN commitmail json YAML

2017-06-27 04:52:45 UTC MAIN commitmail json YAML

Check existence of ARP/NDP entries

Checking ARP/NDP entries is valid rather than checking routes.

(ozaki-r)

2017-06-27 02:22:08 UTC MAIN commitmail json YAML

Properly support EDITRC - use it as (naming) the file when setting
up libedit, and re-do the config whenever EDITRC is set.

(kre)

2017-06-27 01:22:58 UTC MAIN commitmail json YAML

2017-06-27 01:13:44 UTC MAIN commitmail json YAML

2017-06-27 00:47:37 UTC MAIN commitmail json YAML

Make the default editrc file be $EDITRC (from env) if set, falling back
to $HOME/.editrc otherwise.    Better support for this in sh coming.

(kre)

2017-06-26 22:09:16 UTC MAIN commitmail json YAML

Make arg parsing in kill POSIX compatible with POSIX (XBD 2.12) by
parsing the way getopt(3) would, if only it could handle the (required)
-signumber and -signame options.  This adds two "features" to kill,
-ssigname and -lstatus now work (ie: one word with all of the '-', the
option letter, and its value) and "--" also now works (kill -- -pid1 pid2
will not attempt to send the pid1 signal to pid2, but rather SIGTERM
to the pid1 process group and pid2).  It is still the case that (apart
from --) at most 1 option is permitted (-l, -s, -signame, or -signumber.)

Note that we now have an ambiguity, -sname might mean "-s name" or
send the signal "sname" - if one of those turns out to be valid, that
will be accepted, otherwise the error message will indicate that "sname"
is not a valid signal name, not that "name" is not.  Keeping the "-s"
and signal name as separate words avoids this issue.

Also caution: should someone be weird enough to define a new signal
name (as in the part after SIG) which is almost the same name as an
existing name that starts with 'S' by adding an extra 'S' prepended
(eg: adding a SIGSSYS) then the ambiguity problem becomes much worse.
In that case "kill -ssys" will be resolved in favour of the "-s"
flag being used (the more modern syntax) and would send a SIGSYS, rather
that a SIGSSYS.    So don't do that.

While here, switch to using signalname(3) (bye bye NSIG, et. al.), add
some constipation, and show a little pride in formatting the signal names
for "kill -l" (and in the usage when appropriate -- same routine.)  Respect
COLUMNS (POSIX XBD 8.3) as primary specification of the width (terminal width,
not number of columns to print) for kill -l, a very small value for COLUMNS
will cause kill -l output to list signals one per line, a very large
value will cause them all to be listed on one line.) (eg: "COLUMNS=1 kill -l")

TODO: the signal printing for "trap -l" and that for "kill -l"
should be switched to use a common routine (for the sh builtin versions.)

All changes of relevance here are to bin/kill - the (minor) changes to bin/sh
are only to properly expose the builtin version of getenv(3) so the builtin
version of kill can use it (ie: make its prototype available.)

(kre)

2017-06-26 20:36:14 UTC jdolecek-ncq commitmail json YAML

when reducing DELAY(), it's necessary to appropriately increase number
of iteration, or command can timeout too soon

adjust also siisata_atapi_start() to use DELAY(100) for the polled command,
mostly for consistency, ATAPI devices are quite slow so likely won't have
real effect

(jdolecek)

2017-06-26 20:36:01 UTC MAIN commitmail json YAML

Add first channel of mcs7720.

(is)

2017-06-26 20:33:46 UTC MAIN commitmail json YAML

2017-06-26 20:28:43 UTC MAIN commitmail json YAML

yet another moschip serial adapter chip.

(is)

2017-06-26 20:28:02 UTC MAIN commitmail json YAML

source .editrc after we initialize so that commands persist!

(christos)

2017-06-26 18:23:49 UTC MAIN commitmail json YAML

PR/52333: Jia-Ju Bai: explicitly pass BUS_DMA_NOWAIT to bus_dmamap_load_mbuf()
called from an interrupt context. It should not matter since the maps are
constructed with BUS_DMA_ALLOCNOW, but :-)

(christos)

2017-06-26 17:45:56 UTC MAIN commitmail json YAML

Add GENERIC_USB to vax kernel sets, but not to sysinst (yet), as bootloader
cannot handle kernels that large (yet).

(flxd)

2017-06-26 17:38:10 UTC MAIN commitmail json YAML

2017-06-26 17:12:05 UTC MAIN commitmail json YAML

2017-06-26 17:10:39 UTC MAIN commitmail json YAML

If we've authenticated, we are already in the child and we don't need the
socket anymore.
XXX: pullup-7, pullup-8

(christos)

2017-06-26 12:17:10 UTC MAIN commitmail json YAML

Better solution to mulaw/alaw conversion on big endian systems/sound
devices.

(nat)

2017-06-26 11:45:46 UTC MAIN commitmail json YAML

Rectify an error in mulaw/alaw conversion to big endian.  The atf audio
test should pass on sparc again.

(nat)

2017-06-26 08:01:53 UTC MAIN commitmail json YAML

Fix usage of ip6_get_membership

It may set nothing to ifp even if returning 0. So we need to NULL-clear
ifp before calling it.

Fix PR kern/52324

(ozaki-r)

2017-06-26 06:59:57 UTC MAIN commitmail json YAML

Drop RTF_UP from a routing message of a deleted ARP/NDP entry

(ozaki-r)

2017-06-26 06:58:42 UTC MAIN commitmail json YAML

Fix ifdef; care about a case w/ INET6 and w/o INET

(ozaki-r)

2017-06-26 05:34:49 UTC MAIN commitmail json YAML

simplify mutex_enter/exit(crypto_q_mtx), and fix missing exit.

(knakahara)