Re: tcpdump: decode BGP Administrative Shutdown Communication

2017-04-19 Thread Damien Miller
On Wed, 19 Apr 2017, Job Snijders wrote: > The realisation that a shutdown communication may contain \0 (since NUL is a > valid UTF-8 char) \0 isn't a valid UTF-8 character. UTF-8 sets the MSB on code points > 127: https://en.wikipedia.org/wiki/UTF-8#Description

Re: clang: ignore -fno-force-addr

2017-04-19 Thread Joerg Sonnenberger
On Wed, Apr 19, 2017 at 10:30:43AM -0600, Todd C. Miller wrote: > In general, if -fdo-something is supported I think it should also > accept -fno-do-something. Since this was seen in the wild, patching > llvm makes the most sense. Bonus points if you can get it upstreamed. The positive forms of

Re: Sun T2000 internal communications

2017-04-19 Thread Alexandr Nedvedicky
Hello, I'm not sure I'll be able to help you. I'm using ldoms on T5 running Solaris 11.2. According to blog [1], the /var/adm/messages in primary domain (ldom0) should give you some hint on what is going on. I hope it will help you to get unstuck. regards sasha [1]

Re: use strtonum to parse the argument to -j in make

2017-04-19 Thread Sebastian Benoit
David Gwynne(da...@gwynne.id.au) on 2017.04.19 11:41:40 +1000: > i cant remember why i was looking at this, but strtoll annoys me. > > ok? ok, especially since the old code fails on $ make -j a5 all but not on $ make -j 5a all :-) > Index: main.c >

Re: clang: ignore -fno-force-addr

2017-04-19 Thread Todd C. Miller
In general, if -fdo-something is supported I think it should also accept -fno-do-something. Since this was seen in the wild, patching llvm makes the most sense. Bonus points if you can get it upstreamed. - todd

Sun T2000 internal communications

2017-04-19 Thread Andrew Grillet
Hi, how _exactly_ does a guest domain connect to a virtual disk? I am asking this because I installed 6.1 onto my system which had been running 6.0. However, I took the opportunity to reformat and partition the hard disks. I reinstalled the same virtual disks in the same logical positions:

clang: ignore -fno-force-addr

2017-04-19 Thread Jeremie Courreges-Anglas
clang already recognizes (and ignores) -fforce-addr but errors out on -fno-force-addr. This breaks the build of ports/databases/qdbm: http://build-failures.rhaalovely.net/amd64-clang/2017-04-14/databases/qdbm.log Fixing the port is easy, but so is ignoring -fno-force-addr. -fno-force-addr

Re: tcpdump: decode BGP Administrative Shutdown Communication

2017-04-19 Thread Theo de Raadt
> The realisation that a shutdown communication may contain \0 (since NUL is a > valid UTF-8 char), led me to alter the proposed changes. A debugging tool like > tcpdump should display trash too. This 0003 patch avoids the memset/memcpy and > can deal with trash in the shutdown communication

Re: tcpdump: decode BGP Administrative Shutdown Communication

2017-04-19 Thread Job Snijders
On Mon, Apr 17, 2017 at 01:56:17PM -0600, Theo de Raadt wrote: > + memset(string, 0, 129); > + memcpy(string, p+1, shutdown_comm_length); > + safeputs(string); > > Please don't copy numbers like that. If

Re: make.1 spellcheck

2017-04-19 Thread Jason McIntyre
On Wed, Apr 19, 2017 at 03:16:20PM +0800, Michael W. Bombardieri wrote: > Hi, > > Spellchecker found two non-dictionary words in the make(1) manual. > > - Michael > fixed, thanks. jmc > > Index: make.1 > === > RCS file:

make.1 spellcheck

2017-04-19 Thread Michael W. Bombardieri
Hi, Spellchecker found two non-dictionary words in the make(1) manual. - Michael Index: make.1 === RCS file: /cvs/src/usr.bin/make/make.1,v retrieving revision 1.124 diff -u -p -u -r1.124 make.1 --- make.1 1 Jan 2017 01:08:11