Re: calloc -> malloc in get_data() and get_string()

2015-11-18 Thread Michael McConville
Ted Unangst wrote: > Joerg Jung wrote: > > > Michael McConville wrote: > > > Relayd, httpd, and ntpd define the functions get_data() and > > > get_string(). Both call calloc and then immediately memcpy. > > > Calloc's zeroing isn't optimized out. These functions are called > > > in network data pat

Re: Pledge shutdown halt

2015-11-18 Thread Ian McWilliam
  - Original Message - From: "Ian McWilliam" To:"Theo de Raadt" , Cc: Sent:Wed, 18 Nov 2015 20:09:58 +1100 Subject:Re: Pledge shutdown halt On 18/11/2015 5:31 PM, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm..

Re: sndio.1 vs -L

2015-11-18 Thread Jason McIntyre
On Wed, Nov 18, 2015 at 12:18:00PM +0100, Jan Stary wrote: > On Nov 18 01:30:08, ratc...@openbsd.org wrote: > > usr.bin/sndiod : sndiod.1 > > say that network communication is not secure > > "listen _on_" an address, > even if -L is disabled for now. > > Jan > fixed, thanks. jmc > I

On console: newsyslog(3865): sycall 59 "exec"

2015-11-18 Thread Andreas Kusalananda Kähäri
Hi, I wonder if this message that I'm seeing in my console is coming from the 1.96 commit to usr.bin/newsyslog/newsyslog.c? newsyslog(): syscall 59 "exec" Running "newsyslog" as root produces no such output, in the console or elsewhere that I can spot. However, running "newsyslog -F" seems

Re: sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-18 Thread Jan Stary
On Nov 18 12:47:01, st...@openbsd.org wrote: > On 2015/11/18 07:30, Maxim Khitrov wrote: > > On Wed, Nov 18, 2015 at 12:02 AM, Theo de Raadt > > wrote: > > >> I only just noticed that, trying to watch a video while having a web > > >> browser open at the same time, I don't get any sound. > > >> >

Re: sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-18 Thread Stuart Henderson
On 2015/11/18 07:30, Maxim Khitrov wrote: > On Wed, Nov 18, 2015 at 12:02 AM, Theo de Raadt > wrote: > >> I only just noticed that, trying to watch a video while having a web > >> browser open at the same time, I don't get any sound. > >> > >> Only going through recent daily insecurity emails, ha

Re: sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-18 Thread Maxim Khitrov
On Wed, Nov 18, 2015 at 12:02 AM, Theo de Raadt wrote: >> I only just noticed that, trying to watch a video while having a web >> browser open at the same time, I don't get any sound. >> >> Only going through recent daily insecurity emails, had I found out that: >> >> sndiod_flags= >> >> in /e

Re: sndio.1 vs -L

2015-11-18 Thread Jan Stary
On Nov 18 01:30:08, ratc...@openbsd.org wrote: > usr.bin/sndiod : sndiod.1 > say that network communication is not secure "listen _on_" an address, even if -L is disabled for now. Jan Index: sndiod.1 === RCS file: /cv

Re: Pledge shutdown halt

2015-11-18 Thread Ian McWilliam
On 18/11/2015 5:31 PM, Theo de Raadt wrote: What ttys are you guys rebooting from. Is it seen on console? Or... is it only seen from xterm...? ssh session. I'll have to check the console tomorrow. No X configured to run on the box. Ian McWilliam

Re: Pledge shutdown halt

2015-11-18 Thread Stuart Henderson
On 2015/11/17 23:31, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? In my case, reboot is run from an ssh session, the message is seen on that session, and system console is on serial.