snmpd agentx fixes

2017-04-09 Thread Jeremie Courreges-Anglas
Hi, when implementing support for multiple listening sockets, I broke AgentX support in a rather silly way. AgentX support is only used by relayd in base. Rivo Nurges (in cc) contacted me about this. Thanks to him and reyk@ for helping me reproduce the issue. The config below helps reproduce

Re: aarch64: undefined math symbols, at least __floatunditf __fixunstfsi __fixunstfdi

2017-04-09 Thread Mark Kettenis
> Date: Sun, 9 Apr 2017 22:09:17 +0100 > From: Stuart Henderson > > On 2017/04/09 22:55, Patrick Wildt wrote: > > > > The other symbols akin to those are provided by lib/libcompiler_rt. The > > symbols you mentioned are part of the source code but are not compiled > > in for aarch64. This migh

Re: aarch64: undefined math symbols, at least __floatunditf __fixunstfsi __fixunstfdi

2017-04-09 Thread Stuart Henderson
On 2017/04/09 22:55, Patrick Wildt wrote: > > The other symbols akin to those are provided by lib/libcompiler_rt. The > symbols you mentioned are part of the source code but are not compiled > in for aarch64. This might simply be an oversight, so adding those to > the compiler-rt library Makefil

Re: aarch64: undefined math symbols, at least __floatunditf __fixunstfsi __fixunstfdi

2017-04-09 Thread Joerg Sonnenberger
On Sun, Apr 09, 2017 at 09:39:14PM +0100, Stuart Henderson wrote: > One that I'm seeing is undefined symbols with the following math functions, > > undefined symbol '__floatunditf' > undefined symbol '__fixunstfsi' > undefined symbol '__fixunstfdi' They are historically part of libgcc, but likely

Re: aarch64: undefined math symbols, at least __floatunditf __fixunstfsi __fixunstfdi

2017-04-09 Thread Patrick Wildt
On Sun, Apr 09, 2017 at 09:39:14PM +0100, Stuart Henderson wrote: > I'm building ports on aarch64 to see how things go and am looking for common > problems. At this stage, mostly just wanting to show people what things I run > into so they can mull them over. (I'll also fix simple things as I go).

aarch64: undefined math symbols, at least __floatunditf __fixunstfsi __fixunstfdi

2017-04-09 Thread Stuart Henderson
I'm building ports on aarch64 to see how things go and am looking for common problems. At this stage, mostly just wanting to show people what things I run into so they can mull them over. (I'll also fix simple things as I go). One that I'm seeing is undefined symbols with the following math functi

fsck_ffs(8): remove always false comparison

2017-04-09 Thread Frederic Cambus
Hi tech@, Remove always false comparison: inosused type is ino_t, which is unsigned. While there, fix a whitespace issue. Comments? OK? Index: sbin/fsck_ffs/pass1.c === RCS file: /cvs/src/sbin/fsck_ffs/pass1.c,v retrieving revision

Drop redundant "warning: " prefix from __warn_references messages

2017-04-09 Thread Scott Cheloha
At the moment, when you link in a discouraged API, you get something like: file.c:(.text+0x1d): warning: warning: strcpy() is almost always misused, please use strlcpy() Which I think looks strange. From the revision history it looks like __warn_references preceded the introdu

relayd X-Forwarded-For configuration example: append -> set

2017-04-09 Thread Hiltjo Posthuma
Hey, In the relayd.conf(5) example it is better to set the X-Forwarded-For header (set) and not trust whatever the client sends in the headers (append). (Except ofcourse when the client is another trusted proxy) This is mentioned in a discussion on misc@ by Stuart Henderson in the thread "[relay

Re: cdce(4): replace CRC32 function with common ether_crc32_le

2017-04-09 Thread Hiltjo Posthuma
On Fri, Mar 31, 2017 at 04:41:27PM +0200, Hiltjo Posthuma wrote: > Hi, > > This patch removes the CRC32 function from the driver and uses the common > function ether_crc32_le. > > Maybe worth noting is that by testing in userspace using gcc -O0 the > specific cdce(4) CRC32 function is about twice

Re: httpd.conf(5): sync default media types

2017-04-09 Thread Florian Obser
commited, thanks! On Sun, Apr 09, 2017 at 10:10:28AM +0200, Anton Lindqvist wrote: > Hi, > SVG was added as a default media type in revision 1.10 of http.h. > > Index: httpd.conf.5 > === > RCS file: /cvs/src/usr.sbin/httpd/httpd.conf

httpd.conf(5): sync default media types

2017-04-09 Thread Anton Lindqvist
Hi, SVG was added as a default media type in revision 1.10 of http.h. Index: httpd.conf.5 === RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v retrieving revision 1.81 diff -u -p -r1.81 httpd.conf.5 --- httpd.conf.525 Mar 2017