CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 23:36:57

Modified files:
usr.bin/ssh: sshd.8 sshd_config.5 

Log message:
spelling;



CVS: cvs.openbsd.org: src

2018-06-18 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/06/18 21:02:17

Modified files:
regress/usr.bin/ssh: cfgmatchlisten.sh 

Log message:
test PermitListen with bare port numbers



CVS: cvs.openbsd.org: src

2018-06-18 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/06/18 20:59:41

Modified files:
usr.bin/ssh: auth-options.c servconf.c sshd.8 sshd_config.5 

Log message:
allow bare port numbers to appear in PermitListen directives, e.g.

PermitListen  8080

is equivalent to:

PermitListen *: *:8080

Some bonus manpage improvements, mostly from markus@

"looks fine" markus@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2018/06/18 18:45:10

Modified files:
gnu/usr.bin/perl/cpan/Archive-Tar/lib/Archive: Tag: OPENBSD_6_2 
   Tar.pm 

Log message:
Avoid Archive::Tar directory traversal

OpenBSD 6.2 Errata 016_perl

Addresses CVE-2018-12015
>From Silamael 

Original bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900834
https://rt.cpan.org/Public/Bug/Display.html?id=125523

Original commit with the fix:
https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5

OK bluhm@, they should already be committed! deraadt@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2018/06/18 18:44:05

Modified files:
gnu/usr.bin/perl/cpan/Archive-Tar/lib/Archive: Tag: OPENBSD_6_3 
   Tar.pm 

Log message:
Avoid Archive::Tar directory traversal

OpenBSD 6.3 Errata 011_perl

Addresses CVE-2018-12015
>From Silamael 

Original bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900834
https://rt.cpan.org/Public/Bug/Display.html?id=125523

Original commit with the fix:
https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5

OK bluhm@, they should already be committed! deraadt@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2018/06/18 18:43:10

Modified files:
gnu/usr.bin/perl/cpan/Archive-Tar/lib/Archive: Tar.pm 

Log message:
Avoid Archive::Tar directory traversal

Addresses CVE-2018-12015
>From Silamael 

Original bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900834
https://rt.cpan.org/Public/Bug/Display.html?id=125523

Original commit with the fix:
https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5

OK bluhm@, they should already be committed! deraadt@



CVS: cvs.openbsd.org: src

2018-06-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/06/18 18:41:14

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

Log message:
eoip tunnels Ethernet, not IP



CVS: cvs.openbsd.org: src

2018-06-18 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/06/18 17:15:05

Modified files:
sys/arch/i386/i386: apicvec.s vector.s 

Log message:
Remove the MAKE_FRAME macro to trace over ioapic interrupts in ddb.
It is no longer needed after the trap frame %ebp cleanup.
OK hshoexer@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2018/06/18 15:46:05

Modified files:
bin/ksh: var.c 

Log message:
Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().
Suggested by anton@



CVS: cvs.openbsd.org: xenocara

2018-06-18 Thread Ulf Brosziewski
CVSROOT:/cvs
Module name:xenocara
Changes by: b...@cvs.openbsd.org2018/06/18 14:07:31

Modified files:
driver/xf86-input-ws/src: emuwheel.c 

Log message:
Improve the wheel emulation logic.  Make the axis filtering symmetrical,
and less restrictive for vertical scrolling.

Thanks to Jake Champlin for help with the issue.

ok matthieu@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/06/18 13:05:24

Modified files:
sys/dev/usb: uplcom.c 

Log message:
Add an HP LD220 pole display

Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!



CVS: cvs.openbsd.org: src

2018-06-18 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/06/18 13:03:57

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2018-06-18 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/06/18 13:03:33

Modified files:
sys/dev/usb: usbdevs 

Log message:
Add an HP LD220 pole display

Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!



CVS: cvs.openbsd.org: src

2018-06-18 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/06/18 12:19:14

Modified files:
usr.sbin/smtpd : config.c parse.y smtpd.c smtpd.h 

Log message:
simplify parse_config() further so it no longer has any side effect outside
of parse.y, there's still work to be done but it's now able to run twice if
we want (we don't) without failing due to some global side-effect.

ok millert@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/06/18 12:14:39

Modified files:
usr.sbin/smtpd : smtp.c smtp_session.c smtpd.h 

Log message:
split smtp_accept() in two parts: the accept part, the session init part,
while at it allow smtp_session() to receive a pre-allocated struct io

ok millert@
diff contributed by Antoine Kaufmann



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 11:59:36

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgCreate.pm 

Log message:
kill Frag/NoFrag, they only make sense in update-plist, so they've been
moved there.



CVS: cvs.openbsd.org: src

2018-06-18 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2018/06/18 11:08:21

Modified files:
bin/ed : re.c 

Log message:
Remove the parse_char_class and let regcomp determine if our brackets
are balanced.

OK millert@ and tb@



CVS: cvs.openbsd.org: www

2018-06-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2018/06/18 11:07:03

Modified files:
faq: current.html 

Log message:
Tweak the current.html section for the bgpd config change:

- add an extra hint in the bold text that the first set of steps need
to be done _before_ the update

- adjust archaic spelling "mimick"

- add "explicit" to try to head off people using "lack of error message"
as an indication that everything is ok. show how to check for hidden
implicit "announce self" in case they don't know about bgpd -nvf
(re-order the  to avoid a single dangling "4." entry after the
example command).

ok job@ tb@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2018/06/18 11:03:58

Modified files:
bin/ksh: Makefile edit.c edit.h emacs.c ksh.1 table.h 
 var.c 

Log message:
Add clear-screen emacs editing command, currently not bound to a
key by default.  The shell will query the terminfo database to
find the escape sequence to clear the screen.  OK deraadt@



CVS: cvs.openbsd.org: www

2018-06-18 Thread Florian Obser
CVSROOT:/cvs
Module name:www
Changes by: flor...@cvs.openbsd.org 2018/06/18 10:14:02

Modified files:
faq: current.html 

Log message:
slaacd needs up2date kernel.



CVS: cvs.openbsd.org: src

2018-06-18 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/06/18 10:13:45

Modified files:
sbin/slaacd: slaacd.c 

Log message:
Pledge main process now that we have wroute.



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 09:41:20

Modified files:
usr.sbin/pkg_add/OpenBSD: Dependencies.pm 

Log message:
document the reason these classes exist



CVS: cvs.openbsd.org: src

2018-06-18 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2018/06/18 09:37:48

Modified files:
sys/arch/amd64/stand/efiboot: efidev.c 
sys/arch/amd64/stand/libsa: diskprobe.c 
sys/arch/i386/stand/libsa: diskprobe.c 

Log message:
"a = 1; b = 100; c = a * b; if (c == 0) c = 100;"

is pretty silly. Nuke the if's.

ok millert@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/06/18 09:01:22

Modified files:
sys/dev/sdmmc  : if_bwfm_sdio.c 

Log message:
Run the code to handle interrupts directly from the interrupt handler
instead of from a task.  The sdmmc(4) interrupt handler is already
executed in process context and returning from the interrupt handler
without acknowledging the interrupts may lead to an interrupt storm.

ok patrick@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 08:59:15

Modified files:
regress/usr.sbin/pkg_add: injectadd 

Log message:
explicitly disable the only warning that this hack triggers



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 08:06:11

Modified files:
regress/usr.sbin/pkg_add: Makefile 

Log message:
link the non-regression test



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 08:02:12

Added files:
regress/usr.sbin/pkg_add/newcups/cups-2.2.8: +DESC 
regress/usr.sbin/pkg_add/newcups/cups-filters-1.20.3: +DESC 
regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8: +DESC 
regress/usr.sbin/pkg_add/newcups/ghostscript-9.07p7: +DESC 
regress/usr.sbin/pkg_add/oldcups/cups-2.2.7p1: +DESC 
regress/usr.sbin/pkg_add/oldcups/cups-filters-1.20.3: +DESC 
regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7: +DESC 
regress/usr.sbin/pkg_add/oldcups/ghostscript-9.07p7: +DESC 

Log message:
and add the DESC as well



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:58:56

Modified files:
regress/usr.sbin/pkg_add: Makefile 
Added files:
regress/usr.sbin/pkg_add: injectadd 
regress/usr.sbin/pkg_add/newcups/cups-2.2.8: +CONTENTS 
regress/usr.sbin/pkg_add/newcups/cups-filters-1.20.3: +CONTENTS 
regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8: +CONTENTS 
regress/usr.sbin/pkg_add/newcups/ghostscript-9.07p7: +CONTENTS 
regress/usr.sbin/pkg_add/oldcups/cups-2.2.7p1: +CONTENTS 
regress/usr.sbin/pkg_add/oldcups/cups-filters-1.20.3: +CONTENTS 
regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7: +CONTENTS 
regress/usr.sbin/pkg_add/oldcups/ghostscript-9.07p7: +CONTENTS 

Log message:
reproducing some bugs is fun, I have to inject a specific dependencies order!



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:35

src/regress/usr.sbin/pkg_add/newcups/cups-2.2.8

Update of /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-2.2.8
In directory cvs.openbsd.org:/tmp/cvs-serv9158/newcups/cups-2.2.8

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-2.2.8 added to the 
repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:35

src/regress/usr.sbin/pkg_add/newcups/cups-filters-1.20.3

Update of /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-filters-1.20.3
In directory cvs.openbsd.org:/tmp/cvs-serv9158/newcups/cups-filters-1.20.3

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-filters-1.20.3 added 
to the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:35

src/regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8

Update of /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8
In directory cvs.openbsd.org:/tmp/cvs-serv9158/newcups/cups-libs-2.2.8

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8 added to 
the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:24

src/regress/usr.sbin/pkg_add/oldcups/ghostscript-9.07p7

Update of /cvs/src/regress/usr.sbin/pkg_add/oldcups/ghostscript-9.07p7
In directory cvs.openbsd.org:/tmp/cvs-serv88879/oldcups/ghostscript-9.07p7

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/oldcups/ghostscript-9.07p7 added to 
the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:15

src/regress/usr.sbin/pkg_add/oldcups/cups-filters-1.20.3

Update of /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-filters-1.20.3
In directory cvs.openbsd.org:/tmp/cvs-serv73183/oldcups/cups-filters-1.20.3

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-filters-1.20.3 added 
to the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:16

src/regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7

Update of /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7
In directory cvs.openbsd.org:/tmp/cvs-serv73183/oldcups/cups-libs-2.2.7

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7 added to 
the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:35

src/regress/usr.sbin/pkg_add/newcups/ghostscript-9.07p7

Update of /cvs/src/regress/usr.sbin/pkg_add/newcups/ghostscript-9.07p7
In directory cvs.openbsd.org:/tmp/cvs-serv9158/newcups/ghostscript-9.07p7

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/newcups/ghostscript-9.07p7 added to 
the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:56:59

src/regress/usr.sbin/pkg_add/oldcups

Update of /cvs/src/regress/usr.sbin/pkg_add/oldcups
In directory cvs.openbsd.org:/tmp/cvs-serv35470/oldcups

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/oldcups added to the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:15

src/regress/usr.sbin/pkg_add/oldcups/cups-2.2.7p1

Update of /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-2.2.7p1
In directory cvs.openbsd.org:/tmp/cvs-serv73183/oldcups/cups-2.2.7p1

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/oldcups/cups-2.2.7p1 added to the 
repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/06/18 07:57:06

src/regress/usr.sbin/pkg_add/newcups

Update of /cvs/src/regress/usr.sbin/pkg_add/newcups
In directory cvs.openbsd.org:/tmp/cvs-serv7458/newcups

Log Message:
Directory /cvs/src/regress/usr.sbin/pkg_add/newcups added to the repository



CVS: cvs.openbsd.org: src

2018-06-18 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2018/06/18 07:54:03

Modified files:
sys/arch/octeon/include: pci_machdep.h 

Log message:
Improve indentation and variable naming.



CVS: cvs.openbsd.org: src

2018-06-18 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2018/06/18 07:41:34

Modified files:
sys/arch/octeon/include: pci_machdep.h 

Log message:
Fix build with DEBUG_PCI_CONF.

>From jj@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 07:27:16

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

Log message:
space needed between macro args and punctuation;



CVS: cvs.openbsd.org: src

2018-06-18 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/06/18 06:13:10

Modified files:
sys/net: if.c 

Log message:
Do not allow to change the rdomain of the default loopback interface.

Routing domain must always have an existing lo(4).

Problem reported and fix tested by multiplexd at gmx.com.



CVS: cvs.openbsd.org: src

2018-06-18 Thread Helg Bredow
CVSROOT:/cvs
Module name:src
Changes by: h...@cvs.openbsd.org2018/06/18 06:04:20

Modified files:
sys/miscfs/fuse: fuse_vnops.c 

Log message:
Allow write for non-regular files when file system is mounted read-only.
Don't ask file system to check file access; always behave as if
default_permissions option was specified. (this may change in a later
commit)

ok mpi@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Helg Bredow
CVSROOT:/cvs
Module name:src
Changes by: h...@cvs.openbsd.org2018/06/18 05:24:15

Modified files:
sys/miscfs/fuse: fuse_vnops.c 

Log message:
chmod(2) should return EFTYPE if the effective user ID is not the
super-user, the mode includes the sticky bit (S_ISVTX), and path
does not refer to a directory.

ok mpi@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Richard Procter
CVSROOT:/cvs
Module name:src
Changes by: proc...@cvs.openbsd.org 2018/06/18 05:00:31

Modified files:
sys/net: pf.c pf_norm.c pf_syncookies.c pfvar.h 

Log message:
Refactor the six ways to find TCP options into one new function. As a result:
- MSS and WSCALE option candidates must now meet their min type length.
- 'max-mss' is now more tolerant of malformed option lists.
These changes were immaterial to the live traffic I've examined.
OK sashan@ mpi@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2018/06/18 04:20:19

Modified files:
usr.sbin/ikectl: parser.c 

Log message:
fix memory leak: freeaddrinfo() the data from getaddrinfo().
>From Thomas Barabosch 
Thanks.
ok jca@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2018/06/18 03:17:09

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

Log message:
point readers to multicast(4) directly, the documentation has moved.
ok jmc@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2018/06/18 03:17:06

Modified files:
sbin/route : route.c 

Log message:
Replace hardcoded constants with defines

OK mpi henning blum



CVS: cvs.openbsd.org: src

2018-06-18 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/06/18 03:15:05

Modified files:
sys/kern   : exec_script.c kern_descrip.c kern_event.c 
 kern_exec.c sys_pipe.c tty_pty.c 
 uipc_syscalls.c vfs_syscalls.c 
sys/sys: file.h filedesc.h 
usr.sbin/pstat : pstat.8 pstat.c 

Log message:
Put file descriptors on shared data structures when they are completely
setup, take 3.

LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]' or the global linked list.  This allows
us to simplifies a lot code grabbing new references to fds.

All of this is now possible because dup2(2) refuses to clone LARVAL fds.

Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).

With inputs from Mathieu Masson, visa@, guenther@ and art@

Previous version ok bluhm@, ok visa@, sthen@



CVS: cvs.openbsd.org: src

2018-06-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2018/06/18 03:06:11

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

Log message:
Talk about the common USE_LIBTOOL vs BUILD_DEPENDS case (ports that only
need libtool.m4 from devel/libtool just need BUILD_DEPENDS, USE_LIBTOOL is
a special case for things that don't work with base libtool). ok aja espie



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 02:15:29

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

Log message:
upfront, explain action/match, since it is central to how the new config works;
help/ok gilles



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 00:06:52

Modified files:
share/man/man4 : iic.4 options.4 ricohrtc.4 sbus.4 pcfrtc.4 
 maxrtc.4 pcxrtc.4 acrtc.4 mvrtc.4 plrtc.4 
 exrtc.4 sxirtc.4 islrtc.4 imxrtc.4 
share/man/man4/man4.hppa: asp.4 lasi.4 
share/man/man4/man4.loongson: mfokclock.4 
share/man/man4/man4.macppc: smu.4 
share/man/man4/man4.sgi: dpclock.4 dsclock.4 hpc.4 
share/man/man4/man4.sparc64: clock.4 ebus.4 fhc.4 

Log message:
consistently spell "real-time clock";
ok deraadt bentley schwarze



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 00:04:25

Modified files:
usr.sbin/bgpd  : bgpd.conf.5 
usr.sbin/dvmrpd: dvmrpd.conf.5 
usr.sbin/eigrpd: eigrpd.conf.5 
usr.sbin/hostapd: hostapd.conf.5 
usr.sbin/httpd : httpd.conf.5 
usr.sbin/ifstated: ifstated.conf.5 
usr.sbin/switchd: switchd.conf.5 
usr.sbin/iscsictl: iscsi.conf.5 
usr.sbin/ldpd  : ldpd.conf.5 
usr.sbin/npppd/npppd: npppd.conf.5 
usr.sbin/ospf6d: ospf6d.conf.5 
usr.sbin/ospfd : ospfd.conf.5 
usr.sbin/relayd: relayd.conf.5 
usr.sbin/ripd  : ripd.conf.5 
usr.sbin/snmpd : snmpd.conf.5 
usr.sbin/vmd   : vm.conf.5 
usr.sbin/ypldap: ypldap.conf.5 

Log message:
remove the SECTIONS header, since a one line DESCRIPTION is a bit silly;
use a more general text for the sections, and avoid the catchup issue
that was trying to document how many there were;

ok benno rob



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 00:02:18

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

Log message:
the directive is "listen on";



CVS: cvs.openbsd.org: src

2018-06-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/06/18 00:00:13

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

Log message:
remove the example output from ifconfig and route: it will keep getting out of
date and provided little aid anyway;

merge the network if and routing tables sections;

ok benno