Re: Removing GCC 2 support from cdefs.h

2015-10-01 Thread Jonathan Gray
This isn't just removing support for gcc 2 it is removing support for anything that doesn't define __GNUC__ and implement all the gnu attributes which isn't what we want. On Thu, Oct 01, 2015 at 07:34:48PM -0400, Michael McConville wrote: > Index: sys/cdefs.h >

Re: mk.conf.5: Use Ql where appropriate

2015-10-01 Thread Michael Reed
On 10/01/15 23:43, Michael Reed wrote: > On 10/01/15 16:38, Jason McIntyre wrote: >> On Sun, Sep 27, 2015 at 03:48:10PM -0400, Michael Reed wrote: >>> Hi all, >>> >>> Instead of using a mix of single and double quotes >>> to denote command invocations and literal strings, >>> use Ql instead. This

Re: mk.conf.5: Use Ql where appropriate

2015-10-01 Thread Michael Reed
On 10/01/15 16:38, Jason McIntyre wrote: > On Sun, Sep 27, 2015 at 03:48:10PM -0400, Michael Reed wrote: >> Hi all, >> >> Instead of using a mix of single and double quotes >> to denote command invocations and literal strings, >> use Ql instead. This was inspired by revision 1.425 >> of bsd.port.m

smtpd errata for 5.6, 5.7 and 5.8

2015-10-01 Thread Gilles Chehade
During the last few months, researchers from Qualys Security have done an audit of smtpd and have identified multiple reliability and security issues. The issues affect 5.6, 5.7 and forthcoming 5.8 release. Patches are available. Apply the patch, rebuild smtpd and restart the daemon. 5.6: http:/

Re: clean up old compat argv

2015-10-01 Thread Theo de Raadt
ok deraadt > Several utilities have command line parsing that predates getopt. Several of > these are the old kmem grovellers, which allowed specifying the custom nlist, > etc. > > I think this is kind of unusual and think that generally, the fewer > undocumented features the better. This is as l

nfsd Makefile

2015-10-01 Thread Ilya Kaliman
=== RCS file: /cvs/src/sbin/nfsd/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile11 Jun 2002 15:45:44 - 1.7 +++ Makefile1 Oct 2015 23:48:35 - @@ -3,6 +3,4 @@ PROG= nfsd MAN= nfsd.8 -.

Removing GCC 2 support from cdefs.h

2015-10-01 Thread Michael McConville
Index: sys/cdefs.h === RCS file: /cvs/src/sys/sys/cdefs.h,v retrieving revision 1.39 diff -u -p -r1.39 cdefs.h --- sys/cdefs.h 18 Apr 2014 11:51:17 - 1.39 +++ sys/cdefs.h 1 Oct 2015 23:31:42 - @@ -88,30 +88,17 @@ #endif /

dedup in_pcbbind() port scan loop

2015-10-01 Thread Vincent Gross
Although the sysctls controlling the port range are labelled "port(hi)?first" and "port(hi)?last", no ordering is enforced and you can have portfirst > portlast. in_pcbbind() (and in6_pcbsetport()) work around this by duplicating the loop looking for an available port. This diff introduce tempor

Re: mention ext4 in mount.8 and mount_ext2fs.8

2015-10-01 Thread Jason McIntyre
On Thu, Oct 01, 2015 at 07:22:20PM +0200, Nils Reu??e wrote: > Hi tech, > > i was a bit confused when i tried to mount my ext4-drive; it was not obvious > to me that i had to pass the -r/-o ro option to mount the disk. The FAQ is > also not very explicit about that: > > "Some of them have li

Re: Cleanup options(4) after INET removal

2015-10-01 Thread Jason McIntyre
On Thu, Oct 01, 2015 at 11:07:03AM -0700, Ilya Kaliman wrote: > === > RCS file: /cvs/src/share/man/man4/options.4,v > retrieving revision 1.239 > diff -u -p -r1.239 options.4 > --- options.4 21 Jan 2015 02:23:14 - 1.239 > ++

clean up old compat argv

2015-10-01 Thread Ted Unangst
Several utilities have command line parsing that predates getopt. Several of these are the old kmem grovellers, which allowed specifying the custom nlist, etc. I think this is kind of unusual and think that generally, the fewer undocumented features the better. This is as likely to trap people who

Re: mk.conf.5: Use Ql where appropriate

2015-10-01 Thread Jason McIntyre
On Sun, Sep 27, 2015 at 03:48:10PM -0400, Michael Reed wrote: > Hi all, > > Instead of using a mix of single and double quotes > to denote command invocations and literal strings, > use Ql instead. This was inspired by revision 1.425 > of bsd.port.mk [1]. > > While doing the above, I also remove

Re: Xr radiusd with section number and remove outdated sentence

2015-10-01 Thread Jason McIntyre
On Sun, Sep 27, 2015 at 02:39:39PM +0200, Theo Buehler wrote: > Now that there is radiusd(8) in base, I suggest the following changes: > > * add back the manual section number to 'Xr radiusd' in login_radius.8 > and in login.conf.5 > > * remove a sentence from CAVEATS which is no longer true.

Cast error in kdump

2015-10-01 Thread Vadim Zhukov
Obvious cast error. Okay? -- WBR, Vadim Zhukov Index: usr.bin/kdump/kdump.c === RCS file: /cvs/src/usr.bin/kdump/kdump.c,v retrieving revision 1.105 diff -u -p -r1.105 kdump.c --- usr.bin/kdump/kdump.c 13 Sep 2015 17:08:03 -

Allow bioctl to go through all controllers at once

2015-10-01 Thread Vadim Zhukov
Hi all. I've recently found that this patch still produces M's in my tree. What it does is going through all bio(4)-enabled controllers in system, like ifconfig -A does. I didn't add SMALL_KERNEL ifdefs since its very useful on ramdisks, IMHO, but I don't insist on that. Any objections/okays/show

Cleanup options(4) after INET removal

2015-10-01 Thread Ilya Kaliman
=== RCS file: /cvs/src/share/man/man4/options.4,v retrieving revision 1.239 diff -u -p -r1.239 options.4 --- options.4 21 Jan 2015 02:23:14 - 1.239 +++ options.4 1 Oct 2015 18:03:35 - @@ -444,24 +444,13 @@ See and .X

mention ext4 in mount.8 and mount_ext2fs.8

2015-10-01 Thread Nils Reuße
Hi tech, i was a bit confused when i tried to mount my ext4-drive; it was not obvious to me that i had to pass the -r/-o ro option to mount the disk. The FAQ is also not very explicit about that: "Some of them have limited support; for instance read-only. " http://www.openbsd.org/fa

[PATCH] links in 58.html

2015-10-01 Thread Raf Czlonka
Hi all, Same thing as in my earlier email - this time for 58.html Index: 58.html === RCS file: /cvs/www/58.html,v retrieving revision 1.70 diff -u -p -r1.70 58.html --- 58.html 30 Sep 2015 13:23:15 - 1.70 +++ 58.html

tame userland diff

2015-10-01 Thread Theo de Raadt
For those who are curious, this is the tame diff which is currently in snapshots. Yes, we are asking for testing and feedback. Index: bin/cat/cat.c === RCS file: /cvs/src/bin/cat/cat.c,v retrieving revision 1.21 diff -u -p -u -r1.21

[PATCH] links in 57.html

2015-10-01 Thread Raf Czlonka
Hi all, In '57.html', INSTALL.alpha link points to: http://ftp.openbsd.org/pub/OpenBSD/5.7/hppa/INSTALL.alpha when it should point to: http://ftp.openbsd.org/pub/OpenBSD/5.7/alpha/INSTALL.alpha While there, I had removed several superfluous links as these are already referenced in the "CDROM s

Re: relayd patch - delayed failover

2015-10-01 Thread Brian S. Vangsgaard
Hi again, Just found a bug in the patch, while testing I only use one host in each group, failover using another group. This works, but only calling sync_table() with multiple hosts in a group (we want that :) ), causes the parent to exit when calling sync_table(). I'll rework the patch and

relayd patch - delayed failover

2015-10-01 Thread Brian S. Vangsgaard
Hi, Problem: If a client have a state entry in the relayd anchor, and the target server goes down, the client will be unable to "failover" for 10 sec + (10 sec - elapsed time since last SLA check). There are two issues here, this patch only fix the problem about delayed (10 seconds) failover

Re: tcpdump bpf_catchpacket crash

2015-10-01 Thread Hrvoje Popovski
On 1.10.2015. 11:24, Martin Pieuchot wrote: > On 01/10/15(Thu) 11:11, Hrvoje Popovski wrote: >> On 1.10.2015. 0:43, Stuart Henderson wrote: >>> In /sys/ddb/db_trap.c line 72, change if(panicstr != NULL) to if(1), it >>> should give you a backtrace and short ps (showing only the active process >>>

Re: tcpdump bpf_catchpacket crash

2015-10-01 Thread Martin Pieuchot
On 01/10/15(Thu) 11:11, Hrvoje Popovski wrote: > On 1.10.2015. 0:43, Stuart Henderson wrote: > > In /sys/ddb/db_trap.c line 72, change if(panicstr != NULL) to if(1), it > > should give you a backtrace and short ps (showing only the active process > > on each cpu). These are now done automatically

Re: tcpdump bpf_catchpacket crash

2015-10-01 Thread Hrvoje Popovski
On 1.10.2015. 0:43, Stuart Henderson wrote: > In /sys/ddb/db_trap.c line 72, change if(panicstr != NULL) to if(1), it > should give you a backtrace and short ps (showing only the active process on > each cpu). These are now done automatically for panics, but not for other ddb > entries (which in

Re: iked patch for iOS9 IKEv2 VPN (and probably El Capitan)

2015-10-01 Thread Mike Belopuhov
On 30 September 2015 at 17:17, Reyk Floeter wrote: > Hi, > > the following diffs allows to use iked/OpenIKED with iOS9 IKEv2 > clients. You will be able to connect your super-large iPad Pro or > premium iPhone 6s+ via OpenBSD :) I don't have El Capitan yet, but it > might fix it for your super-li