CVS: cvs.openbsd.org: src

2015-11-13 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/11/14 00:45:56 Modified files: regress/sys/kern/pledge/generic: tests.out Log message: regress: pledge: update SYS_kill syscall number

CVS: cvs.openbsd.org: src

2015-11-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2015/11/14 00:11:28 Added files: lib/libc/include: README Log message: Give clear directions on how to declare, PROTO_*() and DEF_*() new symbols prodded by deraadt@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/14 00:02:23 Modified files: sys/kern : kern_pledge.c Log message: For pledge "stdio", allow the break(2) system call which backends the brk/sbrk library routines. The manpage declares, in bold

CVS: cvs.openbsd.org: src

2015-11-13 Thread Mike Larkin
CVSROOT:/cvs Module name:src Changes by: mlar...@cvs.openbsd.org 2015/11/13 23:15:37 Modified files: sys/arch/amd64/amd64: vmm.c Log message: Fix a missing unlock. >From Stefan Kempf sn.kempf at t-online.de

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 21:02:32 Modified files: usr.sbin/tftp-proxy: tftp-proxy.c Log message: pledge "stdio inet sendfd" before entering main loop in network speaking child. (All those I asked to test timed out before

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 18:35:38 Modified files: lib/libform: form_cursor.3 form_data.3 form_field.3 form_field_attributes.3 form_field_buffer.3 form_field_info.3 for

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 18:30:11 Modified files: usr.sbin/wsmoused: wsmoused.8 Log message: remove the machine arch from Dt - this file gets installed on more than one arch; ok schwarze

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 18:25:45 Modified files: share/man/man5 : Makefile Log message: remove pointless resolver(5) mlink: if you want this file, ask for it by name (typing "man resolver" won;t get you it anyway); expl

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 18:22:04 Modified files: usr.bin/newsyslog: newsyslog.8 usr.sbin/inetd : inetd.8 Log message: these files document their config files too: adjust NAME accordingly; ok schwarze

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 18:17:02 Modified files: share/man/man7 : Makefile Log message: the mandoc(7) mlink is useless; zapping now, at ingo's behest

CVS: cvs.openbsd.org: src

2015-11-13 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/11/13 17:20:59 Modified files: sbin/fdisk : fdisk.c Log message: pledge("stdio", NULL) for code path that just prints the MBR or GPT. i.e. when none of -i, -e or -u are specified. Prodded by deraad

CVS: cvs.openbsd.org: src

2015-11-13 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/11/13 17:13:47 Modified files: sbin/fdisk : fdisk.c Log message: If none of -i, -u or -e are specified exit immediately after the MBR or GPT is printed. Do not attempt to read the MBR template file,

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 15:41:34 Modified files: sys/dev/pv : pvbus.c Log message: vmm is i386 only for now

CVS: cvs.openbsd.org: src

2015-11-13 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/11/13 15:27:35 Modified files: sbin/fdisk : fdisk.c Log message: No need to supplement usage() with extra messages about -b needing -i, or -g needing -i. The usage() text is quite clear. usage() do

CVS: cvs.openbsd.org: src

2015-11-13 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/11/13 14:54:10 Modified files: sbin/fdisk : fdisk.c Log message: No need to zero a global variable before use.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/11/13 14:35:34 Modified files: usr.bin/at : at.c Log message: Use crontab-style syslog calls in at. Remove check_permission and just call allowed() directly.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/11/13 14:34:06 Modified files: usr.bin/at : at.c at.h Log message: There's no need for at.c globals to be extern.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 14:09:18 Modified files: usr.bin/telnet : telnet.1 Log message: Ev SHELL no longer relevant;

Re: CVS: cvs.openbsd.org: src

2015-11-13 Thread Michael McConville
He was concerned about readability. Nicholas Marriott wrote: > Right, but explain why? This is better. > > On Thu, Nov 12, 2015 at 11:46:50AM -0700, Michael McConville wrote: > > CVSROOT:/cvs > > Module name:src > > Changes by: m...@cvs.openbsd.org2015/11/12 11:46:50 > > > > Modi

CVS: cvs.openbsd.org: src

2015-11-13 Thread Sebastian Benoit
CVSROOT:/cvs Module name:src Changes by: be...@cvs.openbsd.org 2015/11/13 12:37:20 Modified files: usr.bin/tcpbench: tcpbench.c Log message: pledge tcpbench, from David Hill, tweaked the -s case. ok deraadt@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 12:12:49 Modified files: usr.bin/telnet : telnet.1 Log message: remove -d from SYNOPSIS;

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 11:13:13 Modified files: usr.bin/nc : netcat.c Log message: Since rtable was hoisted to the top with setrtable, it should have no bearing on the following pledge setups anymore. ok benno

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 11:09:36 Modified files: gnu/gcc/gcc: gcc.c collect2.c Log message: Both gcc & collect2 can pledge "stdio rpath wpath cpath proc exec". (cc1 "toplev.c" uses brk/sbrk, so it is on hold to figur

CVS: cvs.openbsd.org: src

2015-11-13 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/11/13 11:05:37 Modified files: usr.bin/telnet : main.c Log message: move pledge(2) after setrtable(2), like in nc(1); OK deraadt@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 10:13:59 Modified files: usr.bin/telnet : main.c telnet.c Log message: pledge "stdio rpath wpath getpw inet tty" at startup. After opening the socket and entering the main loop, pledge "stdio tt

Re: CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
> On 2015/11/13 09:53, Theo de Raadt wrote: > > CVSROOT:/cvs > > Module name:src > > Changes by: dera...@cvs.openbsd.org 2015/11/13 09:53:46 > > > > Modified files: > > usr.bin/telnet : commands.c telnet.1 > > > > Log message: > > Delete tracefile command. Tracefiles can now onl

Re: CVS: cvs.openbsd.org: src

2015-11-13 Thread Stuart Henderson
On 2015/11/13 09:53, Theo de Raadt wrote: > CVSROOT: /cvs > Module name: src > Changes by: dera...@cvs.openbsd.org 2015/11/13 09:53:46 > > Modified files: > usr.bin/telnet : commands.c telnet.1 > > Log message: > Delete tracefile command. Tracefiles can now only be specified at >

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 10:12:01 Modified files: sys/kern : kern_pledge.c Log message: All setsockopt IPPROTO_IPV6 IPV6_TCLASS (v4 calls this IP_TOS)

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 09:53:46 Modified files: usr.bin/telnet : commands.c telnet.1 Log message: Delete tracefile command. Tracefiles can now only be specified at program startup. Who uses that? Noone... ok millert

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 10:04:48 Modified files: usr.bin/telnet : commands.c main.c Log message: Use setrtable() for the entire process, rather than doing it for the socket later. Same idea as in nc(1).

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 10:01:12 Modified files: usr.bin/telnet : commands.c main.c telnet.1 telnet.c Log message: Remove support for the debug command; noone needs setsockopt SO_DEBUG

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 09:50:04 Modified files: usr.bin/telnet : commands.c telnet.1 Log message: remove support for !shell ok millert

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 09:46:30 Modified files: usr.bin/telnet : Makefile commands.c telnet.1 Log message: remove skey support ok millert

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 09:48:48 Modified files: usr.bin/less : command.c edit.c funcs.h lsystem.c main.c os.c output.c signal.c Log message: Add a flag argument to flush() to stop it calling

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 09:14:37 Modified files: gnu/usr.bin/binutils-2.17/gas: as.c gnu/usr.bin/binutils-2.17/ld: ldmain.c Log message: pledge "stdio rpath wpath cpath fattr" for both as & ld ok semarie

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 09:10:23 Modified files: usr.sbin/rarpd : rarpd.c Log message: pledge "stdio rpath dns" right at the start of the servicing loop. Commiting to gather reports.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 09:06:43 Modified files: usr.bin/tmux : options.c Log message: Log option names in fatal() for missing option.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 08:44:15 Modified files: distrib/sets/lists/base: md.amd64 distrib/sets/lists/comp: md.amd64 Log message: sync

CVS: cvs.openbsd.org: src

2015-11-13 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/11/13 08:32:36 Modified files: sbin/fdisk : fdisk.c Log message: Make usage() output fit on a 'normal' 80-character line. Tweak some verbiage in the usage() output.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Christian Weisgerber
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2015/11/13 08:29:55 Modified files: share/man/man9 : crypto.9 sys/crypto : cryptodev.h xform.c xform.h sys/dev/pci: hifn7751.c Log message: remove unused ARC4 support; ok mikeb@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Christian Weisgerber
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2015/11/13 08:33:41 Modified files: share/man/man4 : hifn.4 Log message: ARC4 and non-HMAC MD5 & SHA1 have been removed; prodded by mikeb@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/11/13 08:22:44 Modified files: usr.bin/nm : nm.c Log message: ratchet pledge from the start; from Theo Buehler

CVS: cvs.openbsd.org: src

2015-11-13 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2015/11/13 07:43:33 Modified files: sys/arch/octeon/dev: if_cnmac.c Log message: Remove an unnecessary IFQ_POLL(), along with an unused #ifdef block. ok mpi@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2015/11/13 07:17:19 Modified files: sys/dev/usb: usbdevs.h usbdevs_data.h Log message: regen

CVS: cvs.openbsd.org: src

2015-11-13 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2015/11/13 07:16:55 Modified files: sys/dev/usb: usbdevs Log message: Add USB device ID found in an RTL8192EU device. ok mpi@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/11/13 05:59:25 Modified files: usr.sbin/apmd : apmd.c Log message: apmd doesn't connect to the socket, it binds on it; tweak error message

CVS: cvs.openbsd.org: src

2015-11-13 Thread Mike Belopuhov
CVSROOT:/cvs Module name:src Changes by: mi...@cvs.openbsd.org 2015/11/13 05:28:04 Modified files: share/man/man9 : crypto.9 Log message: Update the list of supported cryptographic algorithms; reminded by naddy@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 05:18:52 Modified files: usr.bin/tmux : format.c grid-view.c Log message: Two spacing and spelling nits.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Mike Belopuhov
CVSROOT:/cvs Module name:src Changes by: mi...@cvs.openbsd.org 2015/11/13 05:21:16 Modified files: sys/crypto : cryptodev.h cryptosoft.c xform.c xform.h sys/dev/pci: hifn7751.c Log message: Remove unused non HMAC versions of MD5 and SHA1; ok mpi, deraa

CVS: cvs.openbsd.org: src

2015-11-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/11/13 03:36:29 Modified files: sys/dev/usb: if_ral.c if_rum.c if_uath.c if_urtw.c Log message: Check for space on the ring before dequeuing packets. Allows us to get rid of mq_requeue(9) and IFQ_PO

CVS: cvs.openbsd.org: src

2015-11-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/11/13 03:33:12 Modified files: sys/netinet: ip_mroute.c sys/netinet6 : ip6_mroute.c Log message: Do not cast malloc(9) results.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/11/13 03:25:48 Modified files: sys/netinet: ip_mroute.c Log message: Kill another tunnel leftover and keep PIM stuff inside #ifdef PIM.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/11/13 03:18:04 Modified files: sys/net: if.c sys/netinet: if_ether.c if_ether.h Log message: Sore the index of the interface used for revarp instead of a pointer to its descriptor.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/11/13 03:12:39 Modified files: sys/kern : uipc_mbuf.c uipc_mbuf2.c sys/sys: mbuf.h share/man/man9 : mbuf.9 Log message: Use ph_ prefix for tag-related fields. ok dlg@

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 03:00:26 Modified files: usr.bin/tmux : control-notify.c format.c tmux.1 Log message: Add window_visible_layout which ignores zoomed panes and use it for control mode (which needs to know all pa

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 01:32:10 Modified files: usr.bin/file : file.c Log message: Break the message preparation bit of the main loop into its own function for less excessive level of indentation.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 01:30:18 Modified files: usr.bin/file : file.c Log message: Call stat not lstat with -L, makes links actually be followed. Reported by and ok semarie@.

CVS: cvs.openbsd.org: src

2015-11-13 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2015/11/13 01:09:28 Modified files: usr.bin/tmux : Makefile format.c grid-view.c grid.c input.c screen-write.c status.c tmux.h tty.c utf8.c window-copy.c