cd.4 new naming

2015-08-26 Thread Martijn van Duren
Hello tech@, When reading cd.4 and comparing it to sys/cdio.h I see that CDIOREADTOCENTRYS is an alias to CDIOREADTOCENTRIES, while cd.4 still points to CDIOREADTOCENTRYS. Both definitions are used in tree: $ grep -R CDIOREADTOCENTRIES /usr/src/{{,usr.}{s,}bin,sys}

[patch] httpd: fcgi/PATH_INFO not handled correctly

2015-08-26 Thread Denis Fondras
Hello, While using httpd together uwsgi and Flask, I noticed that GET requests to / returned 404. The same setup with nginx was returning 200. The culprit is that PATH_INFO is not set when REQUEST_URI is /. The following patch correctly set PATH_INFO in every case. Denis Index: httpd.c

Re: doas authentication type

2015-08-26 Thread Renaud Allard
On 08/24/2015 03:47 PM, Renaud Allard wrote: On 08/24/2015 11:15 AM, Renaud Allard wrote: Hello, Is there a plan to make it possible to specify the authentication type in doas, like sudo -a does? This is useful in the case you are using a login.conf with something like:

Re: [PATCH] doas authentication type

2015-08-26 Thread Michael Reed
Hi Renauld, On 08/26/15 09:38, Renaud Allard wrote: I rewrote a little bit the patch to remove a small kind-of typo in the manpage and remove too long lines. So with this patch, you add the user the right to choose the authentication style and administratively, in login.conf, you can

small uvm cleanup

2015-08-26 Thread Mark Kettenis
miod@ added this back in 2002 (rev 1.36): Back out a few more uvm changes, especially wrt swap usage. This unbreaks m68k m88k sparc and perhaps others, which eventually froze when hitting swap. Tested by various people on various platforms. ok art@ I think it is fairly safe to assume

Re: doas authentication type

2015-08-26 Thread Renaud Allard
On 08/26/2015 09:36 AM, Renaud Allard wrote: On 08/26/2015 09:26 AM, Gregor Best wrote: On Wed, Aug 26, 2015 at 08:42:31AM +0200, Renaud Allard wrote: [...] +fprintf(stderr, usage: doas [-ans] [-C config] [-u user] command [args]\n); [...] The usage string should probably be usage:

fortune: remove OK_TO_WRITE_DISK ifdef + some teaks

2015-08-26 Thread Sebastien Marie
Hi, The following patch remove #ifdef OK_TO_WRITE_DISK which isn't used by default. Additionnally, few disambiguisations suggested by cc(1) are added: - parentheses around within || - explicit braces to avoid ambiguous 'else' Comments ? OK ? -- Sebastien Marie Index: fortune.c

Re: doas authentication type

2015-08-26 Thread Gregor Best
On Wed, Aug 26, 2015 at 08:42:31AM +0200, Renaud Allard wrote: [...] + fprintf(stderr, usage: doas [-ans] [-C config] [-u user] command [args]\n); [...] The usage string should probably be usage: doas [-ns] [-a style] [-C config] [-u user] command [args] and the new option should

Re: fortune: remove OK_TO_WRITE_DISK ifdef + some teaks

2015-08-26 Thread Doug Hogan
On Wed, Aug 26, 2015 at 09:15:13AM +0200, Sebastien Marie wrote: The following patch remove #ifdef OK_TO_WRITE_DISK which isn't used by default. Additionnally, few disambiguisations suggested by cc(1) are added: - parentheses around within || - explicit braces to avoid ambiguous 'else'

Re: doas authentication type

2015-08-26 Thread Renaud Allard
On 08/26/2015 09:26 AM, Gregor Best wrote: On Wed, Aug 26, 2015 at 08:42:31AM +0200, Renaud Allard wrote: [...] + fprintf(stderr, usage: doas [-ans] [-C config] [-u user] command [args]\n); [...] The usage string should probably be usage: doas [-ns] [-a style] [-C config] [-u user]

Do not create IPv6 connected routes for lo0

2015-08-26 Thread Martin Pieuchot
Diff below makes sure that no connected route is created for loopback/p2p interfaces for linklocal *and* non-linklocal addrs. route(8)'s output will change: -fe80::%lo10001/64 fe80::1%lo10001U 0 0 32768 4 lo10001 fe80::1%lo10001

Re: [PATCH] doas authentication type

2015-08-26 Thread Renaud Allard
I rewrote a little bit the patch to remove a small kind-of typo in the manpage and remove too long lines. So with this patch, you add the user the right to choose the authentication style and administratively, in login.conf, you can restrict it. Any comments? OK? Index: doas.1

Re: doas authentication type

2015-08-26 Thread Alexander Hall
On August 26, 2015 10:21:23 AM GMT+02:00, Renaud Allard ren...@allard.it wrote: On 08/26/2015 09:36 AM, Renaud Allard wrote: On 08/26/2015 09:26 AM, Gregor Best wrote: On Wed, Aug 26, 2015 at 08:42:31AM +0200, Renaud Allard wrote: [...] +fprintf(stderr, usage: doas [-ans] [-C config]

Re: [patch] httpd: fcgi/PATH_INFO not handled correctly

2015-08-26 Thread Kyle Thompson
This patch fixes the problem I had previously that I mentioned on the Github issues. Kyle On 8/26/2015 1:23 PM, Denis Fondras wrote: Hello, While using httpd together uwsgi and Flask, I noticed that GET requests to / returned 404. The same setup with nginx was returning 200. The culprit is

the very first step towards MULTIPROCESSOR friendly PF

2015-08-26 Thread Alexandr Nedvedicky
Hello, I'm not sure I got everything right in Calgary. So this patch should roughly illustrates how I think we should start moving forward to make PF MULTIPROCESSOR friendly. It's quite likely my proposal/way is completely off, I'll be happy if you put me back to ground. The brief summary of