Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread David Gwynne
On 20 Dec 2013, at 2:56 am, Alexander Hall wrote: > > > Henning Brauer wrote: >> * Craig R. Skinner [2013-12-19 10:18]: >>> On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: skin...@britvault.co.uk (Craig R. Skinner) writes: > On 2013-12-18 Wed 15:54 PM |, Stuart Hend

Re: abstract the "is multi-threaded?" test in kernel

2013-12-19 Thread Philip Guenther
On Sun, Dec 15, 2013 at 6:02 PM, Ted Unangst wrote: > I am concerned then that this function will lie. Or at least, the > precise specification for it escapes me. This will return false for a > process that was threaded, but isn't anymore, which seems ok, but > fuzzy in the case where only a spawn

Re: tftp-proxy(8) with nat-to

2013-12-19 Thread David Gwynne
im glad you wrote a diff rather than simply complain that nat and tftp doesnt work. the moving parts generally look good to me apart from the struct src_addr and getopt chunks. please use sockaddr_storage instead of sockaddr in the src_addr struct. could you split the resolution of the argument

Re: Weird loop in ftp client

2013-12-19 Thread Jérémie Courrèges-Anglas
Maxime Villard writes: > Is there something wrong with this patch? Nope, there is something wrong with ftp(1) and how it recovers from the error. I'll commit this tomorrow unless someone disagrees. > Le 29/11/2013 20:44, Maxime Villard a écrit : >> What about that? >> >> Index: ftp.c >> =

ftp(1) SSL/TLS server certificate validation

2013-12-19 Thread Jérémie Courrèges-Anglas
All the code is under #ifndef SMALL, except for the getopt(3) goo; I saw no size increase in the on-disk file, and build-checked that the ramdisks still fit on i386. Validation error messages straight from OpenSSL. ok? Index: fetch.c =

Re: diff for passing -b to spamd-setup when running spamd in blacklist only mode

2013-12-19 Thread Alexander Hall
On 12/14/13 13:15, Maurice Janssen wrote: On Fri, Dec 13, 2013 at 11:53:06PM +0100, Alexander Hall wrote: On 12/13/13 22:32, Maurice Janssen wrote: Hi, After some discussion on misc@ (see http://comments.gmane.org/gmane.os.openbsd.misc/209233 ) I came up with the patch below. Right now, spamd-

tftp-proxy(8) with nat-to

2013-12-19 Thread Florian Obser
tftp-proxy(8) doesn't work if there is a nat gateway in the path from the client to the server. I considered changing the location of the tftp server in our network but that's not possibly because of reasons. (6) of RFC 1925 applies... With this tftp-proxy(8) grows another knob (-a) like ftp-proxy.

Re: drm ioctl woes

2013-12-19 Thread Philip Guenther
On Thu, Dec 19, 2013 at 4:56 AM, Mark Kettenis wrote: > Annying implementation details between ioctls in OpenBSD and Linux. > On OpenBSD we don't copyout the ioctl arguments back to userland if > the ioctl fails, whereas Linux does. And of course the Intel > engineers designed an ioctl (DRM_IOCTL

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Alexander Hall
Henning Brauer wrote: >* Craig R. Skinner [2013-12-19 10:18]: >> On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: >> > skin...@britvault.co.uk (Craig R. Skinner) writes: >> > > On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: >> > >> > > > > Check the security of /var/mail/

Re: Alter daemon scheduling priority with renice for rc.d

2013-12-19 Thread Stuart Henderson
On 2013-12-19, Craig R. Skinner wrote: > $ sudoedit /etc/rc.d/fucktimer Get this misogynistic crap off our lists.

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Jérémie Courrèges-Anglas
Marcus MERIGHI writes: [...] > By default it's supposed to be in $HOME/Maildir: > > smtpd.conf(5) > > deliver to maildir path > [snip what's quoted above] > If path is not provided, then ~/Maildir is assumed. > > Bye, Marcus We are aware of this. Now read again the previous mails and ask y

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Marcus MERIGHI
Am 12/19/13 10:55, schrieb Henning Brauer: > * Craig R. Skinner [2013-12-19 10:18]: >> On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: >>> skin...@britvault.co.uk (Craig R. Skinner) writes: On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: > Check the security of

drm ioctl woes

2013-12-19 Thread Mark Kettenis
Annying implementation details between ioctls in OpenBSD and Linux. On OpenBSD we don't copyout the ioctl arguments back to userland if the ioctl fails, whereas Linux does. And of course the Intel engineers designed an ioctl (DRM_IOCTL_I915_GEM_WAIT) that relies on this :(. If interrupted (so the

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Henning Brauer
* Craig R. Skinner [2013-12-19 10:18]: > On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: > > skin...@britvault.co.uk (Craig R. Skinner) writes: > > > On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: > > >> > > > > Check the security of /var/mail/dirs similar to /var/mail/boxe

mg(1) dired-unmark-backward

2013-12-19 Thread Mark Lumsden
Make 'dired-unmark-backward' behave the same as emacs. Any objections? -lum Index: dired.c === RCS file: /cvs/src/usr.bin/mg/dired.c,v retrieving revision 1.63 diff -u -p -u -p -r1.63 dired.c --- dired.c 3 Jun 2013 05:10:59 -000

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Craig R. Skinner
On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: > skin...@britvault.co.uk (Craig R. Skinner) writes: > > > On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: > >> > > > > Check the security of /var/mail/dirs similar to /var/mail/boxes: > >> > > > >> > >> Indeed, but security(