Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CVS: cvs.openbsd.org: src

16 views
Skip to first unread message

Mark Kettenis

unread,
Sep 21, 2015, 2:22:43 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: kett...@cvs.openbsd.org 2015/09/21 00:21:49

Modified files:
sys/arch/powerpc/powerpc: mutex.c

Log message:
Fix membar positioning in mtx_enter_try() and (critically!) mtx_leave()

Same diff as guenther@ committed for alpha.
ok guenther@

Mark Kettenis

unread,
Sep 21, 2015, 2:24:07 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: kett...@cvs.openbsd.org 2015/09/21 00:23:03

Modified files:
sys/arch/mips64/mips64: mutex.c

Mark Lumsden

unread,
Sep 21, 2015, 3:01:13 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: l...@cvs.openbsd.org 2015/09/21 00:59:54

Modified files:
usr.bin/mg : dired.c

Log message:
If you open the same directory twice in dired mode, mg does not behave
correctly. In effect what should happen is the existing dired buffer
is brought to the fore, and if the directory contents has changed
inform the user.

ok sunil@

Antoine Jacoutot

unread,
Sep 21, 2015, 4:51:42 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ajac...@cvs.openbsd.org 2015/09/21 02:49:06

Modified files:
usr.bin/libtool/LT: Library.pm
usr.bin/libtool/LT/Mode: Link.pm

Log message:
Fix a couple of libtool issues:

* when looking for a library, also look for an unversioned solib before falling
back to using the static one (which may not even exist)

* when a library has no libtool file (.la) with a proper dependency_libs entry,
libtool(1) falls back to using objdump to determine the depencencies;
however this works only if dependencies are in standard search paths; fix it
by looking at the RPATH entry in objdump then add non standard dirs to
search_dirs and -rpath

inputs from and ok espie@, ok jasper@

Ingo Schwarze

unread,
Sep 21, 2015, 5:08:43 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/21 03:06:33

Modified files:
share/man/man5 : bsd.port.mk.5

Log message:
use .Sx; from Michael Reed <m dot reed at mykolab dot com> tweaked by me

Nicholas Marriott

unread,
Sep 21, 2015, 5:25:12 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/21 03:24:13

Modified files:
usr.bin/lex : flex.1

Log message:
Mention lex and flex++, from Rob Pierce. ok jmc

Jason McIntyre

unread,
Sep 21, 2015, 5:27:14 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/21 03:23:35

Modified files:
share/man/man8 : afterboot.8 intro.8 rc.8 rc.conf.8 rc.d.8

Log message:
scatter some rcctl refs; from rob pierce
discussed with ajacoutot

Nicholas Marriott

unread,
Sep 21, 2015, 5:36:03 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/21 03:34:52

Modified files:
usr.bin/tmux : alerts.c

Log message:
Reset the alerts timer always on activity, from Thomas Adam.

Peter Hessler

unread,
Sep 21, 2015, 5:45:05 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: phes...@cvs.openbsd.org 2015/09/21 03:41:48

Modified files:
usr.sbin/bgpd : parse.y

Log message:
Allow for empty blocks for peers. While this is bad style for permant
use, this is very nice to temporarily disable a peer option.

OK sthen@ benno@

Peter Hessler

unread,
Sep 21, 2015, 5:50:15 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: phes...@cvs.openbsd.org 2015/09/21 03:47:15

Modified files:
usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y printconf.c rde.c

Log message:
Let us log all updates sent from an individual peer. Since this can be
applied to a group, also let us disable logging on a sub-member of the
group. Very handy for debugging naughty peers on a router with multiple
peers.

OK benno@

Ingo Schwarze

unread,
Sep 21, 2015, 6:00:29 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/21 03:58:42

Modified files:
usr.bin/mandoc : man.1

Log message:
no more _subdir; Jan Stary <hans at stare dot cz>

Jason McIntyre

unread,
Sep 21, 2015, 6:04:53 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/21 04:03:46

Modified files:
usr.bin/lex : flex.1

Log message:
remove an unsightly paragraph break;

Jason McIntyre

unread,
Sep 21, 2015, 6:13:56 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/21 04:06:47

Modified files:
usr.sbin/bgpd : bgpd.conf.5

Log message:
sort;

Igor Sobrado

unread,
Sep 21, 2015, 6:42:15 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/21 04:40:16

Modified files:
usr.sbin/npppd/npppd: npppd.conf.5

Log message:
typo in documentation.

Jason McIntyre

unread,
Sep 21, 2015, 7:03:56 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/21 05:01:37

Modified files:
share/man/man9 : bus_dma.9

Log message:
spelling fix;

Martin Pieuchot

unread,
Sep 21, 2015, 7:17:22 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/21 05:15:27

Modified files:
sys/net : route.c

Log message:
Set the correct priority for connected routes.

Found by benno@.

ok phessler@, claudio@, benno@

Martin Pieuchot

unread,
Sep 21, 2015, 7:29:03 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/21 05:27:08

Modified files:
sys/net : rtsock.c

Log message:
Pass the correct variable to free(9) and while here add the size.

From David Hill, ok sthen@

Martin Pieuchot

unread,
Sep 21, 2015, 7:32:21 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/21 05:30:50

Modified files:
share/man/man9 : mbuf.9

Log message:
Document that m_free(9) and m_freem(9) now accept NULL.

From Michael McConville, ok jmc@

Visa Hankala

unread,
Sep 21, 2015, 9:02:57 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: vi...@cvs.openbsd.org 2015/09/21 06:59:01

Modified files:
sys/uvm : uvm_page.c

Log message:
Drop a misleading XXX about PQ_AOBJ. Clear PQ_ANON unconditionally for
consistency with PQ_AOBJ.

Input kettenis@, ok beck@

Brent Cook

unread,
Sep 21, 2015, 9:13:57 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: bc...@cvs.openbsd.org 2015/09/21 07:13:06

Modified files:
usr.bin/openssl: ca.c openssl.1 openssl.c ts.c x509.c

Log message:
remove vestigial bits of sha-0 and md2 from openssl(1)

Noted by kinichiro on github. We probably need a better way to indicate the
list of message digests that are allowed, as the current ones are nowhere near
exhaustive (sigh - guenther@)

OK guenther@ jmc@

Ingo Schwarze

unread,
Sep 21, 2015, 9:28:34 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/21 07:24:32

Modified files:
usr.bin/mandoc : man_term.c mdoc_term.c term.c term.h
regress/usr.bin/mandoc/man/IP: spacing.in spacing.out_ascii
regress/usr.bin/mandoc/man/TP: Makefile
regress/usr.bin/mandoc/mdoc/Bl: tag.in tag.out_ascii
Added files:
regress/usr.bin/mandoc/man/TP: spacing.in spacing.out_ascii

Log message:
Trailing whitespace is significant when determining the width of a tag
in mdoc(7) .Bl -tag and man(7) .TP, but not in man(7) .IP.
Quirk reported by Jan Stary <hans at stare dot cz> on ports@.

Brent Cook

unread,
Sep 21, 2015, 9:37:07 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: bc...@cvs.openbsd.org 2015/09/21 07:32:55

Modified files:
usr.bin/openssl: x509.c

Log message:
add a missing NULL check

noted by Bill Parker (dogbert2) on github

Brent Cook

unread,
Sep 21, 2015, 9:37:29 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: bc...@cvs.openbsd.org 2015/09/21 07:31:26

Modified files:
usr.bin/openssl: ca.c

Log message:
add a couple of missing NULL checks

Philip Guenther

unread,
Sep 21, 2015, 10:48:07 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: guen...@cvs.openbsd.org 2015/09/21 08:45:14

Modified files:
usr.sbin/config: ukc.h ukcutil.c

Log message:
Make UKC handle device locators as longs

ok miod@

Philip Guenther

unread,
Sep 21, 2015, 10:49:22 AM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: guen...@cvs.openbsd.org 2015/09/21 08:46:59

Modified files:
lib/libc/locale: setlocale.3

Log message:
Prefer Xr over Fn for interpage references and delete reference to
setrunelocale() which is not exported from libc

ok jmc@ stsp@

Miod Vallat

unread,
Sep 21, 2015, 5:23:30 PM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/21 15:22:44

Modified files:
sys/arch/mips64/include: asm.h

Log message:
After reading IRIX header files again, add one more SSNOP to MTC0_HAZARD (and
remove one from constructs based upon it) when building for R8000.

Ingo Schwarze

unread,
Sep 21, 2015, 5:29:12 PM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/21 15:27:51

Modified files:
share/man/man7 : ports.7

Log message:
Mark up login.conf(5) variable names as .Va, not .Ar,
like in the login.conf(5) manual itself.
Patch from Michael Reed <m dot reed at mykolab dot com>.

Ingo Schwarze

unread,
Sep 21, 2015, 5:45:30 PM9/21/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/21 15:43:23

Modified files:
share/man/man7 : ports.7

Log message:
punctuation and upper case fixes; Michael Reed <m dot reed at mykolab dot com>

Igor Sobrado

unread,
Sep 22, 2015, 4:09:27 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 02:08:07

Modified files:
lib/libcrypto/man: ASN1_generate_nconf.3 BUF_MEM_new.3
lib/libssl/src/doc/crypto: CONF_modules_load_file.pod
EC_GROUP_copy.pod EC_GROUP_new.pod
EC_KEY_new.pod EVP_BytesToKey.pod
EVP_DigestSignInit.pod
EVP_EncryptInit.pod
EVP_PKEY_CTX_ctrl.pod
EVP_PKEY_CTX_new.pod EVP_PKEY_cmp.pod
EVP_PKEY_keygen.pod OBJ_nid2obj.pod
PKCS12_create.pod PKCS7_sign.pod
PKCS7_sign_add_signer.pod
PKCS7_verify.pod
SMIME_write_PKCS7.pod
X509_NAME_add_entry_by_txt.pod
X509_NAME_get_index_by_NID.pod
X509_STORE_CTX_get_error.pod
X509_STORE_CTX_new.pod
X509_VERIFY_PARAM_set_flags.pod
X509_verify_cert.pod
d2i_DSAPublicKey.pod engine.pod

Log message:
typos in documentation; better wording, suggested by jmc@

ok jmc@

Igor Sobrado

unread,
Sep 22, 2015, 4:18:23 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 02:17:34

Modified files:
share/man/man3 : intro.3

Log message:
fix typo.

Igor Sobrado

unread,
Sep 22, 2015, 4:22:57 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 02:22:05

Modified files:
lib/libpthread/man: pthread_barrier_wait.3

Log message:
typo (s/intialization/initialization/).

Igor Sobrado

unread,
Sep 22, 2015, 4:34:34 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 02:33:23

Modified files:
usr.bin/ssh : ssh_config.5

Log message:
fix two typos.

Igor Sobrado

unread,
Sep 22, 2015, 4:44:59 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 02:43:12

Modified files:
lib/libpthread/man: sem_open.3

Log message:
fix function name.

Jason McIntyre

unread,
Sep 22, 2015, 5:15:53 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/22 03:13:25

Modified files:
bin/stty : stty.1

Log message:
spelling;

Jasper Lievisse Adriaanse

unread,
Sep 22, 2015, 5:28:53 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: jas...@cvs.openbsd.org 2015/09/22 03:27:40

Modified files:
sys/dev/pci : pcidevs.h pcidevs_data.h

Log message:
regen

Jasper Lievisse Adriaanse

unread,
Sep 22, 2015, 5:29:33 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: jas...@cvs.openbsd.org 2015/09/22 03:27:09

Modified files:
sys/dev/pci : pcidevs

Log message:
add (unsupported) realtek wireless card as found in rpointel@'s x250, though
it could be supported by rtwn(4) eventualy

ok stsp@

Vincent Gross

unread,
Sep 22, 2015, 5:35:52 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: vgr...@cvs.openbsd.org 2015/09/22 03:34:39

Modified files:
sys/netinet : in_pcb.c in_pcb.h
sys/netinet6 : in6_pcb.c

Log message:
Remove inpt_lastport from struct inpcbtable, use local variables
in in_pcbbind() and in6_pcbsetport()

ok claudio@, with input from David Hill

Martin Pieuchot

unread,
Sep 22, 2015, 6:05:56 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/22 04:05:00

Modified files:
sys/net : route.c

Log message:
When a connected route is deleted, pass the corresponding priority to
rtrequest1(9) otherwise the route will remain attached to a stale ifa.

Found by matthieu@

Martin Pieuchot

unread,
Sep 22, 2015, 6:10:15 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/22 04:09:19

Modified files:
sys/net : pipex.c

Log message:
Use the radix-tree API instead of function pointers.

ok yasuoka@

Igor Sobrado

unread,
Sep 22, 2015, 7:00:40 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 04:59:59

Modified files:
usr.sbin/radiusd: radiusd.conf.5

Log message:
typo.

Igor Sobrado

unread,
Sep 22, 2015, 7:30:11 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/22 05:27:13

Modified files:
share/man/man4 : pipex.4

Log message:
typos: mastter -> master, mandoatory -> mandatory.

Ted Unangst

unread,
Sep 22, 2015, 11:39:13 AM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: te...@cvs.openbsd.org 2015/09/22 09:37:06

Modified files:
bin/sleep : sleep.c

Log message:
sleep doesn't benefit from setting locale. we always want to parse numbers
as our forefathers did, and it doesn't print any error messages in need of
translation.
ok stsp

Miod Vallat

unread,
Sep 22, 2015, 12:17:35 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/22 10:16:08

Modified files:
sys/arch/sgi/conf: ld.script
sys/arch/loongson/conf: ld.script
sys/arch/octeon/conf: ld.script

Log message:
Make sure the openbsd.randomdata section is located before the edata symbol.

Todd C. Miller

unread,
Sep 22, 2015, 5:49:00 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mil...@cvs.openbsd.org 2015/09/22 15:47:37

Modified files:
libexec/login_yubikey: login_yubikey.c

Log message:
Use explicit_bzero() to zero out the password. From Michael McConville.

Todd C. Miller

unread,
Sep 22, 2015, 5:52:07 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mil...@cvs.openbsd.org 2015/09/22 15:50:41

Modified files:
bin/ksh : c_ksh.c exec.c expr.c io.c lex.c misc.c var.c

Log message:
Make errorf() and bi_errorf() handle a NULL argument.
From Michael McConville; OK nicm@

Nicholas Marriott

unread,
Sep 22, 2015, 5:57:39 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/22 15:56:16

Modified files:
usr.bin/tmux : cmd-switch-client.c

Log message:
Don't update last session when the session is unchanged, from Sina Siadat.

Ingo Schwarze

unread,
Sep 22, 2015, 6:29:03 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/22 16:27:28

Modified files:
share/man/man5 : bsd.port.mk.5

Log message:
consistency: no need to restate the page name in .Nm over and over again;

Philip Guenther

unread,
Sep 22, 2015, 8:20:55 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: guen...@cvs.openbsd.org 2015/09/22 18:16:44

Modified files:
sys/uvm : uvm_mmap.c

Log message:
Corect a kbind comment to describe the version that was settled on: no old
data, only new

Ingo Schwarze

unread,
Sep 22, 2015, 9:13:31 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/22 19:11:13

Modified files:
share/man/man5 : bsd.port.mk.5 bsd.regress.mk.5 port-modules.5

Log message:
Obviously, .Ar is the wrong macro for Makefile targets - .Ar is for
placeholders to be replaced by something else by the user.
As these are fixed strings passed on the make(1) command line, use .Cm.
Trim some excessive indentation while here.

Ingo Schwarze

unread,
Sep 22, 2015, 9:31:00 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/22 19:29:47

Modified files:
share/man/man5 : bsd.port.mk.5

Log message:
The best way to display complete command invocations including command
names, options and arguments are literal displays: .Bd -literal for
multiple lines, .Dl for single lines, and (in these cases) .Ql for
in-line displays.
Triggered by a different patch from Michael Reed.

Ingo Schwarze

unread,
Sep 22, 2015, 9:39:33 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: schw...@cvs.openbsd.org 2015/09/22 19:38:36

Modified files:
share/man/man5 : bsd.port.mk.5

Log message:
minor .Pa cleanup, including one chunk from Michael Reed

YASUOKA Masahiko

unread,
Sep 22, 2015, 11:22:03 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: yas...@cvs.openbsd.org 2015/09/22 21:19:55

Modified files:
sys/arch/amd64/stand/efiboot: Makefile.common efiboot.c

Log message:
efiboot used 3MB memory below the region for the kernel, but UEFI
firmware on some machines allocates larger area whose upper part
overlaps the kernel region. Let the efiboot use lower area for its
heap. Also change its size from 3MB to 1MB and limit it by
HEAP_LIMIT.

The problem is reported by Toby Slight and Brian Conway.

YASUOKA Masahiko

unread,
Sep 22, 2015, 11:29:03 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: yas...@cvs.openbsd.org 2015/09/22 21:27:59

Modified files:
sys/arch/amd64/stand/efiboot: Makefile.common

Log message:
Remove -DLINKADDR=. It is for first-stage bootstrap.

YASUOKA Masahiko

unread,
Sep 22, 2015, 11:32:23 PM9/22/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: yas...@cvs.openbsd.org 2015/09/22 21:29:26

Modified files:
sys/arch/amd64/stand/efiboot: efiboot.c

Log message:
Fix white spaces and style.

Mark Lumsden

unread,
Sep 23, 2015, 1:04:41 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: l...@cvs.openbsd.org 2015/09/22 23:03:03

Modified files:
usr.bin/mg : dired.c

Log message:
fix line number handling in dired delete functions.

Martin Pieuchot

unread,
Sep 23, 2015, 4:52:12 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/23 02:49:46

Modified files:
sys/net : pf.c route.c
sys/netinet : ip_icmp.c ip_output.c
sys/netinet6 : ip6_output.c
sys/netmpls : mpls_input.c mpls_output.c

Log message:
Always increment rt_use inside rtalloc(9) instead of doing it in some
specific places.

ok claudio@, benno@

Igor Sobrado

unread,
Sep 23, 2015, 4:54:29 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/23 02:52:56

Modified files:
lib/libc/gen : pause.3

Log message:
typo.

Igor Sobrado

unread,
Sep 23, 2015, 4:55:08 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/23 02:53:16

Modified files:
share/man/man4 : ucom.4

Log message:
fix manufacturer name.

Martin Pieuchot

unread,
Sep 23, 2015, 5:01:31 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: m...@cvs.openbsd.org 2015/09/23 03:00:04

Modified files:
regress/sbin/route: rttest1.ok rttest10.ok rttest11.ok
rttest12.ok rttest14.ok rttest15.ok
rttest16.ok rttest17.ok rttest18.ok
rttest19.ok rttest2.ok rttest3.ok rttest4.ok
rttest5.ok rttest6.ok rttest7.ok rttest8.ok
rttest9.ok

Log message:
Sync with recent rt_use change.

Igor Sobrado

unread,
Sep 23, 2015, 5:26:53 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/23 03:23:49

Modified files:
share/man/man7 : mdoc.7 roff.7

Log message:
typos.

Mike Belopuhov

unread,
Sep 23, 2015, 8:42:00 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 06:40:12

Modified files:
sys/net : if_trunk.c if_trunk.h

Log message:
Remove trunk watchdog code since it doesn't do anything useful
and we want to limit the number of different places where we
access trunk port pointers.

trunk_watchdog should be never called as we don't set up it's
if_timer and trunk_port_watchdog just calls the if_watchdog
from the underlying interface.

It's possible that this is no longer needed due to if_slowtimo/
if_watchdog changes done earlier.

ok mpi

Mike Belopuhov

unread,
Sep 23, 2015, 8:46:25 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 06:43:52

Modified files:
sys/net : trunklacp.h

Log message:
Removes locking macros that we've inherited from NetBSD/FreeBSD.

ok dlg, mpi

David Gwynne

unread,
Sep 23, 2015, 8:46:33 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: d...@cvs.openbsd.org 2015/09/23 06:44:35

Modified files:
share/man/man9 : mq_init.9 ml_init.9

Log message:
ml_init and mq_init return void.

Mike Belopuhov

unread,
Sep 23, 2015, 8:49:10 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 06:42:45

Modified files:
sys/net : if_trunk.c

Log message:
Keep track of an active port in the failover trunk to avoid list
iterations and additional locking protection in the future.

Suggested by and ok mpi

Mike Belopuhov

unread,
Sep 23, 2015, 8:52:22 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 06:50:06

Modified files:
sys/net : if_trunk.c

Log message:
Serialize trunk changes with input handler insertion and removal.

This moves around calls to if_ih_insert and if_ih_remove to ensure
that we either have completed port initialization or are going to
tear the port configuration down and don't want any input processes
to get hold of the port.

When trunk_port_destroy is called from the ioctl this would wait for
all input processes to finish and release their references to be able
to disestablish the input handler and ensure full control of the port.

When switching trunkproto it is required for the ioctl context to
be able to touch all trunk ports and the protocol (tr_psc). The
easiest way do this is to disestablish all input handlers (while
making sure they all complete) and then reestablish them after the
trunk reconfiguration is completed.

This avoids getting trunk a separate locking protocol of its own.

ok mpi, suggested by and ok dlg

Ted Unangst

unread,
Sep 23, 2015, 11:38:31 AM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: te...@cvs.openbsd.org 2015/09/23 09:37:26

Modified files:
sys/isofs/udf : udf_vnops.c
sys/miscfs/fuse: fuse_vnops.c
sys/msdosfs : msdosfs_vnops.c
sys/sys : lock.h
sys/ufs/ufs : ufs_vnops.c

Log message:
remove lockmgr_printinfo stubs. from Martin Natano

Igor Sobrado

unread,
Sep 23, 2015, 12:24:42 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/23 10:23:32

Modified files:
lib/libkeynote : keynote.3

Log message:
fix function argument.

ok jmc@, schwarze@

Miod Vallat

unread,
Sep 23, 2015, 1:04:34 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 11:03:27

Modified files:
sys/arch/mips64/mips64: db_disasm.c

Log message:
Output operands of movn and movz in the correct order.

Stefan Sperling

unread,
Sep 23, 2015, 1:23:15 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: st...@cvs.openbsd.org 2015/09/23 11:22:18

Modified files:
sys/dev/pci : if_iwm.c

Log message:
In iwm(4), properly reset the RX ring by clearing RX buffer status memory.
Found by Matthew Dillon (Dragonfly). DMA sync hint from tedu@, ok mpi@

Stefan Sperling

unread,
Sep 23, 2015, 1:23:24 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: st...@cvs.openbsd.org 2015/09/23 11:21:50

Modified files:
sys/dev/pci : if_iwm.c

Log message:
In iwm(4), while not associated, pass the broadcast ethernet address to
the firmware, rather than zeros. Matches what Linux iwlwifi does.
Spotted by Adrian Chadd (FreeBSD).
ok mpi@

Jason McIntyre

unread,
Sep 23, 2015, 1:40:50 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/23 11:39:36

Modified files:
bin/md5 : md5.1

Log message:
remove CAVEATS: the information therein is already (and probably more usefully)
included at the start of this page;

ok tedu

Ted Unangst

unread,
Sep 23, 2015, 1:51:02 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: te...@cvs.openbsd.org 2015/09/23 11:49:16

Modified files:
share/man/man9 : style.9

Log message:
refer to err and warn families, suggested by Michael McConville

Miod Vallat

unread,
Sep 23, 2015, 3:05:17 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 13:04:31

Modified files:
sys/arch/mips64/mips64: cache_tfp_subr.S

Log message:
Reorder subtractions and branches to shave one cycle per call to
tfp_inval_icache().

Miod Vallat

unread,
Sep 23, 2015, 3:16:30 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 13:13:55

Modified files:
sys/arch/mips64/mips64: tlb_tfp.S

Log message:
In tlb_update(), when inserting an entry for a KV1 address, reuse the
current ASID value rather than using zero, so that we can avoid writing
back the ASID on exit (and waste cycles because of expensive coprocessor 0
hazards).

While there, use conditional instructions when picking a random TLB set number,
in order to waste one branch prediction cache entry.

Miod Vallat

unread,
Sep 23, 2015, 5:20:12 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 15:18:38

Modified files:
sys/arch/mips64/include: cpu.h

Log message:
That PICA reference ought to have been removed 20 years ago!

Miod Vallat

unread,
Sep 23, 2015, 5:26:08 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/23 15:22:27

Modified files:
sys/arch/sgi/sgi: ip22.h
sys/arch/sgi/stand/boot: version

Log message:
typos

Todd C. Miller

unread,
Sep 23, 2015, 6:04:26 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mil...@cvs.openbsd.org 2015/09/23 16:01:30

Modified files:
usr.bin/arch : arch.c

Log message:
No need for err.h, avoid excess fputs() calls and return from main
instead of calling exit(). From Michael Reed.

Mark Kettenis

unread,
Sep 23, 2015, 6:53:04 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: kett...@cvs.openbsd.org 2015/09/23 16:52:12

Modified files:
libexec/ld.so/alpha: rtld_machine.c

Log message:
Don't be too agressive write-protecting the GOT and PLT. If we have no clue
where they end, there is a good chance they are sharing a page with .data,
which obviously needs to remain writable. So only attempt to make them
read-only if we know they have a non-zero size. Original diff from guenther@
based on an earlier diff from me. Fixes ld -Z on alpha.

ok miod@, guenther@

Mark Kettenis

unread,
Sep 23, 2015, 7:13:14 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: kett...@cvs.openbsd.org 2015/09/23 17:12:12

Modified files:
sys/dev/pci/drm: drm.h drmP.h drm_atomic.h drm_cache.c
drm_crtc.c drm_crtc.h drm_crtc_helper.c
drm_crtc_helper.h drm_dp_helper.c
drm_dp_helper.h drm_drv.c drm_edid.c drm_edid.h
drm_fb_helper.c drm_fb_helper.h drm_fixed.h
drm_global.c drm_hashtab.c drm_irq.c
drm_linux.h drm_linux_list.h drm_mm.c drm_mm.h
drm_modes.c files.drm i915_drm.h
sys/dev/pci/drm/i915: dvo.h dvo_ch7017.c dvo_ch7xxx.c dvo_ivch.c
dvo_ns2501.c dvo_sil164.c dvo_tfp410.c
i915_devlist.h i915_dma.c i915_drv.c
i915_drv.h i915_gem.c i915_gem_context.c
i915_gem_evict.c i915_gem_execbuffer.c
i915_gem_gtt.c i915_gem_tiling.c
i915_irq.c i915_reg.h i915_suspend.c
i915_trace.h intel_bios.c intel_bios.h
intel_crt.c intel_ddi.c intel_display.c
intel_dp.c intel_drv.h intel_dvo.c
intel_hdmi.c intel_i2c.c intel_lvds.c
intel_modes.c intel_opregion.c
intel_overlay.c intel_panel.c intel_pm.c
intel_ringbuffer.c intel_ringbuffer.h
intel_sdvo.c intel_sdvo_regs.h
intel_sprite.c intel_tv.c
sys/dev/pci/drm/radeon: atom.c radeon_display.c radeon_kms.c
radeon_legacy_encoders.c radeon_mode.h
radeon_pm.c
sys/dev/pci/drm/ttm: ttm_bo.c ttm_bo_manager.c
Added files:
sys/dev/pci/drm: drm_rect.c drm_rect.h i915_pciids.h
i915_powerwell.h linux_hdmi.c linux_hdmi.h
sys/dev/pci/drm/i915: i915_gem_stolen.c i915_gpu_error.c
intel_fbdev.c intel_sideband.c
intel_uncore.c

Log message:
Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.

Mark Lumsden

unread,
Sep 23, 2015, 9:25:09 PM9/23/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: l...@cvs.openbsd.org 2015/09/23 19:24:10

Modified files:
usr.bin/mg : paragraph.c

Log message:
Fix multiple iterations of kill-paragraph. ok jasper@

Damien Miller

unread,
Sep 24, 2015, 2:16:13 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: d...@cvs.openbsd.org 2015/09/24 00:15:11

Modified files:
usr.bin/ssh : readconf.c readconf.h ssh.1 ssh.c ssh.h
ssh_config.5 sshconnect2.c

Log message:
add ssh_config CertificateFile option to explicitly list
a certificate; patch from Meghana Bhat on bz#2436; ok markus@

Damien Miller

unread,
Sep 24, 2015, 2:17:42 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: d...@cvs.openbsd.org 2015/09/24 00:16:53

Modified files:
regress/usr.bin/ssh: Makefile limit-keytype.sh
Added files:
regress/usr.bin/ssh: cert-file.sh

Log message:
regress test for CertificateFile; patch from Meghana Bhat via bz#2436

Sebastien Marie

unread,
Sep 24, 2015, 2:28:36 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sem...@cvs.openbsd.org 2015/09/24 00:25:54

Modified files:
regress/sys/kern/tame/generic: Makefile main.c manager.c
tests.out
Added files:
regress/sys/kern/tame/generic: manager.h
Removed files:
regress/sys/kern/tame/generic: actions.c actions.h

Log message:
refactor a bit regress tame
- unit tests are functions in main.c
- use test name in output
- add grabbing stdout output of tests

Sebastien Marie

unread,
Sep 24, 2015, 2:54:46 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sem...@cvs.openbsd.org 2015/09/24 00:52:22

Modified files:
regress/sys/kern/tame/generic: main.c manager.c tests.out

Log message:
tame("xxx", NULL) and tame("xxx", {NULL}) are not the same
- change output of regress to reflect that
- add test

Nicholas Marriott

unread,
Sep 24, 2015, 3:03:08 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/24 01:02:18

Modified files:
usr.bin/tmux : tty-term.c

Log message:
Assign flag not number for flag types (we got away with it so far
because that are a union). From Filipe Brandenburger.

Mark Lumsden

unread,
Sep 24, 2015, 3:09:25 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: l...@cvs.openbsd.org 2015/09/24 01:07:59

Modified files:
usr.bin/mg : def.h funmap.c keymap.c mg.1 paragraph.c

Log message:
Add mark-paragraph. ok jasper@

Damien Miller

unread,
Sep 24, 2015, 3:16:27 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: d...@cvs.openbsd.org 2015/09/24 01:15:39

Modified files:
regress/usr.bin/ssh: cert-file.sh

Log message:
fix command-line option to match what was actually committed

Mark Lumsden

unread,
Sep 24, 2015, 3:20:54 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: l...@cvs.openbsd.org 2015/09/24 01:20:12

Modified files:
usr.bin/mg : paragraph.c

Log message:
Make comments more accurate.

Kenneth R Westerback

unread,
Sep 24, 2015, 7:14:11 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: k...@cvs.openbsd.org 2015/09/24 05:12:56

Modified files:
sys/kern : subr_disk.c

Log message:
A couple of missing letoh32() conversions of GPT header fields in
gpt_chk_hdr() and gpt_chk_parts().

Spotted when investigating zeloff's GPT bug report.

Nicholas Marriott

unread,
Sep 24, 2015, 8:04:51 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/24 06:03:59

Modified files:
usr.bin/tmux : log.c

Log message:
Do not leak log file descriptor.

Nicholas Marriott

unread,
Sep 24, 2015, 8:07:06 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: ni...@cvs.openbsd.org 2015/09/24 06:06:20

Modified files:
usr.bin/tmux : client.c

Log message:
Don't leak fd and path on failure.

Igor Sobrado

unread,
Sep 24, 2015, 9:12:43 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/24 07:11:48

Modified files:
share/man/man4 : vio.4

Log message:
typo.

Igor Sobrado

unread,
Sep 24, 2015, 9:19:44 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/24 07:18:39

Modified files:
share/man/man9 : km_alloc.9

Log message:
fix two typos.

Igor Sobrado

unread,
Sep 24, 2015, 9:25:53 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: sob...@cvs.openbsd.org 2015/09/24 07:24:59

Modified files:
share/man/man5 : login.conf.5

Log message:
fix unit suffix.

Mike Belopuhov

unread,
Sep 24, 2015, 10:02:13 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/24 08:01:20

Modified files:
sys/net : if_trunk.c trunklacp.c

Log message:
Avoid a theoretical m_pullup(9) mishandling by delegating the mbuf
reclaiming to the PDU and marker input routines.

m_pullup may return a pointer to the newly allocated mbuf. In this
case m_freem is called by the trunk_input, not by the proto specific
code and pointer to the mbuf is not passed by reference. Therefore
m_freem will either be called on the middle element of the chain
(when the m_pullup call succeeds) or on the stale pointer (when it
frees the chain in the failure case). Fortunately we should never
hit this case as the receive path uniformly uses contiguous chunks
of memory.

Verified with and ok blambert, ok mpi

Mike Belopuhov

unread,
Sep 24, 2015, 10:47:58 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: mi...@cvs.openbsd.org 2015/09/24 08:46:22

Modified files:
sys/net : if_trunk.c

Log message:
add a comment explaining how we serialize when switching trunkproto;
requested by mpi@

Jason McIntyre

unread,
Sep 24, 2015, 11:11:54 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/24 09:07:55

Modified files:
share/man/man8 : afterboot.8

Log message:
the inetd text is no longer relevant; from rob pierce
while here, knock out a section header to avoid a one sentence section;

Jonathan Gray

unread,
Sep 24, 2015, 11:36:29 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/24 09:35:23

Modified files:
sys/dev/pci/drm/i915: i915_devlist.h

Log message:
The devlist awk script didn't pickup the broadwell ids as they are
encoded with shifts. Switch to a file constructed by iterating
through i915_drv.c pciidlist so these will be included.

ok kettenis@

Jonathan Gray

unread,
Sep 24, 2015, 11:48:08 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/24 09:46:54

Modified files:
sys/dev/pci : pcidevs

Log message:
Add some more Broadwell graphics ids.

Jonathan Gray

unread,
Sep 24, 2015, 11:49:02 AM9/24/15
to source-...@cvs.openbsd.org
CVSROOT: /cvs
Module name: src
Changes by: j...@cvs.openbsd.org 2015/09/24 09:47:41

Modified files:
sys/dev/pci : pcidevs.h pcidevs_data.h

Log message:
regen

It is loading more messages.
0 new messages