Too much SUID/SGID files!

2015-01-05 Thread whoami toask
Hello, isn't there too much SUID/SGID files on a default OpenBSD install? Can this number be reduced? Example: why does wall, write, modstat need an SGID? # uname -a OpenBSD notebook.lan 5.6 GENERIC.MP#333 amd64 # find / -perm -4000 -o -perm -2000 -ls -print 78047 5856 -rwxr-sr-x1 root

Re: CRYPT rounds vs. performance

2015-01-05 Thread whoami toask
So this is like SSH, where I could increase the KEY size without affecting the bandwidth? If using big SSH KEY's, that would ONLY mean slower logins? Similar as using bigger rounds on an OpenBSD CRYPTO devices? Thank you! Original Message From: "Andy Bradford" Apparently from

Re: sendsyslog failure logging

2015-01-05 Thread Claudio Jeker
On Mon, Jan 05, 2015 at 07:02:47PM +0100, Alexander Bluhm wrote: > On Sun, Jan 04, 2015 at 07:16:19PM -0700, Theo de Raadt wrote: > > >On Sat, Jan 3, 2015 at 8:38 AM, Alexander Bluhm > > >wrote: > > >> My goal is to make logging via syslog reliable. At least I want > > >> to see when a message g

Re: ntpd: be more verbose when logging privsep errors - add variadic fatal/x()

2015-01-05 Thread Brent Cook
On Mon, Jan 5, 2015 at 8:24 AM, Gilles Chehade wrote: > On Mon, Jan 05, 2015 at 08:23:59AM -0600, Brent Cook wrote: >> On Sun, Jan 04, 2015 at 12:38:37PM +0100, Peter Hessler wrote: >> > fatal should completely be variadic, a printf-alike. >> > >> >> How about something like this for making fatal

Re: Flag to set from address in mail(1)

2015-01-05 Thread trondd
> > I like this better. But I still want the set from="XXX" in .mailrc and > of course the manpage. > I would like to have this option. The diff doesn't work, however. If you reply to a message, it messes up the header and replyall will crash. & set from="tro...@gmail.com" & set ... fromt

Re: [PATCH] bpf is now blocking again with and without timeout

2015-01-05 Thread Philip Guenther
[(@#*$&(*# control-enter keybinding] On Mon, Jan 5, 2015 at 7:15 PM, Philip Guenther wrote: > On Mon, Jan 5, 2015 at 11:01 AM, Ted Unangst wrote: > ... >> In the regular timeout case, I'm not sure what you're changing. There >> is a problem here though. If we're already close to the timeout >> e

Re: [PATCH] bpf is now blocking again with and without timeout

2015-01-05 Thread Philip Guenther
On Mon, Jan 5, 2015 at 11:01 AM, Ted Unangst wrote: ... > In the regular timeout case, I'm not sure what you're changing. There > is a problem here though. If we're already close to the timeout > expiring, we shouldn't sleep the full timeout, only the time left > since we began the read. > > Loo

syslogd f_file

2015-01-05 Thread Alexander Bluhm
Hi, The f_file field can also be used for the file descriptor in the forwarding case. Also remove an useless F_FORWUDP case. ok? bluhm Index: usr.sbin/syslogd/syslogd.c === RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/syslogd/s

Re: Implement a watchdog

2015-01-05 Thread Mark Kettenis
> From: sven falempin > Date: Mon, 5 Jan 2015 13:29:41 -0500 > > On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson wrote: > > > > On 2014/12/11 07:41, sven falempin wrote: > > > Thank you all, > > > > > > I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those > > > christmass holydays wi

Re: Unused MANZ and MANPS variables in Section 2 of the FAQ

2015-01-05 Thread Ingo Schwarze
Hi Raf, Raf Czlonka wrote on Mon, Jan 05, 2015 at 01:11:51PM -0500: > MANZ and MANPS variables have disappeared from mk.conf(5) in 2011. Committed, thanks. Ingo > Index: faq/faq2.html > === > RCS file: /cvs/www/faq/faq2.html,v >

Re: [PATCH] bpf is now blocking again with and without timeout

2015-01-05 Thread Ted Unangst
On Sun, Jan 04, 2015 at 21:06, Mages Simon wrote: > I restored the functionality according to the manpage. > > That means that read() on bpf is blocking again. If a > timeout is set read() will block until the timeout is > over. > > Maybe asynchronous is also broken, i will look into that later.

Re: MediaTek Inc. UMTS stick

2015-01-05 Thread Ingo Feinerer
On Mon, Jan 05, 2015 at 02:03:38PM +0100, Martin Pieuchot wrote: > Thanks for your diff. No need to cross lists, tech@ is the good place > for a diff :) OK :) > On 05/01/15(Mon) 13:08, Ingo Feinerer wrote: > > Please find attached at the end of this mail a diff for the MediaTek > > Inc. "DC_4COM

Re: Implement a watchdog

2015-01-05 Thread sven falempin
On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson wrote: > > On 2014/12/11 07:41, sven falempin wrote: > > Thank you all, > > > > I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those > > christmass holydays will be much welcome ! > > > > Does the wbsio detect the watchdog in the apu card

Unused MANZ and MANPS variables in Section 2 of the FAQ

2015-01-05 Thread Raf Czlonka
Hi all, MANZ and MANPS variables have disappeared from mk.conf(5) in 2011[0]. [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/man/man5/mk.conf.5.diff?r1=1.20&r2=1.21&f=h Regards, Raf Index: faq/faq2.html === RCS file: /cvs

Re: sendsyslog failure logging

2015-01-05 Thread Alexander Bluhm
On Sun, Jan 04, 2015 at 07:16:19PM -0700, Theo de Raadt wrote: > >On Sat, Jan 3, 2015 at 8:38 AM, Alexander Bluhm > >wrote: > >> My goal is to make logging via syslog reliable. At least I want > >> to see when a message gets lost. > >> > >> So my idea is to write a kernel log message if sendsysl

Re: ntpd: be more verbose when logging privsep errors - add variadic fatal/x()

2015-01-05 Thread Gilles Chehade
On Mon, Jan 05, 2015 at 08:23:59AM -0600, Brent Cook wrote: > On Sun, Jan 04, 2015 at 12:38:37PM +0100, Peter Hessler wrote: > > fatal should completely be variadic, a printf-alike. > > > > How about something like this for making fatal variadic first. > This factors out the guts of log_warn an

Re: ntpd: be more verbose when logging privsep errors - add variadic fatal/x()

2015-01-05 Thread Brent Cook
On Sun, Jan 04, 2015 at 12:38:37PM +0100, Peter Hessler wrote: > fatal should completely be variadic, a printf-alike. > How about something like this for making fatal variadic first. This factors out the guts of log_warn and adds logerr that they both can share. --- src/usr.sbin/ntpd/log.c |

Re: Flag to set from address in mail(1)

2015-01-05 Thread Todd C. Miller
On Sun, 04 Jan 2015 05:57:38 +, mar...@martinbrandenburg.com wrote: > Since the ability to pass arbitrary arguments to sendmail has been > removed from mail(1), I have added a variable and flag to pass a from > address to sendmail. I was considering using -r for this, like heirloom mailx does

Re: MediaTek Inc. UMTS stick

2015-01-05 Thread Martin Pieuchot
Hello Ingo, Thanks for your diff. No need to cross lists, tech@ is the good place for a diff :) On 05/01/15(Mon) 13:08, Ingo Feinerer wrote: > Please find attached at the end of this mail a diff for the MediaTek > Inc. "DC_4COM" (that is the product name that the Linux "option" driver > uses: >

MediaTek Inc. UMTS stick

2015-01-05 Thread Ingo Feinerer
Please find attached at the end of this mail a diff for the MediaTek Inc. "DC_4COM" (that is the product name that the Linux "option" driver uses: https://raw.githubusercontent.com/torvalds/linux/master/drivers/usb/serial/option.c) UMTS USB stick (= MEDION S4222). It solves the problems described a

Re: [PATCH] usr.bin/which/Makefile: Allow build without presence of whereis.1 when NOMAN is set

2015-01-05 Thread Raf
On Sun, Jan 04, 2015 at 08:38:03PM EST, Riley Baird wrote: > This is my last post. I'm leaving all of the OpenBSD mailing lists > because quite frankly I don't want to argue about this anymore, > especially not with someone who themselves did *exactly the same thing*