Re: pledge for tetris

2015-11-15 Thread Theo Buehler
Please disregard. This patch breaks multiple simultaneous games. Sorry for the noise.

Re: em(4) watchdog timeouts

2015-11-15 Thread David Gwynne
On Fri, Nov 13, 2015 at 10:18:51AM -0500, Sonic wrote: > On Wed, Nov 11, 2015 at 9:20 AM, Gregor Best wrote: > > I've done some further testing and I think I've narrowed it down to the > > "Unlocking em(4) a bit further"-patch [0]. could you try this? its not written with the

Re: initial 802.11n implementation

2015-11-15 Thread Stefan Sperling
On Thu, Nov 12, 2015 at 08:22:07PM +0100, Stefan Sperling wrote: > This diff adds an initial implementation of 802.11n. Some of this has now been committed. The diff below shows the outstanding parts relative to -current. - receiving A-MPDU and A-MSDU frames - 11n support for the iwm(4)

pledge for tetris

2015-11-15 Thread Theo Buehler
pledge("stdio rpath wpath cpath flock getpw id tty") for setup then play the game with "stdio rpath wpath getpw tty". Most of the promises are needed for dealing with the score file. The function getscores() currently appears towards the end of the program's lifetime and it calls setegid() and

Re: increase initialization time for serverworks sata

2015-11-15 Thread Miod Vallat
> > Don't tell me this fixes SATA on the xserve G5... > > It does. > > > Wonder if a "posting read" is necessary here. If that removes the > > need to increase the delay, it probably is a better solution. > > I've tried this diff and I have not been able to reproduce the bogus > SStatus value

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

2015-11-15 Thread Noth
I'm using the SeaBIOS provided with the machine, and have no news on a upcoming newer release. So far it works for me flawlessly with the limits stated by the manufacturer. System startup messages: SeaBIOS (version rel-1.8.0-143-g174faf8-dirty-20150928_122234-wim-ws) XHCI init on dev

Re: increase initialization time for serverworks sata

2015-11-15 Thread Miod Vallat
> Don't tell me this fixes SATA on the xserve G5... It does. > Wonder if a "posting read" is necessary here. If that removes the > need to increase the delay, it probably is a better solution. I've tried this diff and I have not been able to reproduce the bogus SStatus value in a few reboots

[patch] playing with opencvs annotate

2015-11-15 Thread Michael W. Bombardieri
Hi tech@, I had a simple RCS file and opencvs didn't annotate it properly. cat -n $CVSROOT/test/text,v 1 head1.2; 2 access; 3 symbols 4 start:1.1.1.1 5 me:1.1.0.1; 6 locks; strict; 7 comment @# @; 8 9 10 1.2 11

Re: initial 802.11n implementation

2015-11-15 Thread Martin Pieuchot
On 15/11/15(Sun) 14:34, Stefan Sperling wrote: > On Thu, Nov 12, 2015 at 08:22:07PM +0100, Stefan Sperling wrote: > > This diff adds an initial implementation of 802.11n. > > Some of this has now been committed. > > The diff below shows the outstanding parts relative to -current. > > -

Re: httpd URL rewrite support patch

2015-11-15 Thread Stanislaw Adaszewski
Sorry again, I'm trying now with with patch as an attachment - when I did it the first time I think it wasn't accepted by the list. On Fri, Nov 13, 2015 at 05:22:22PM +0100, Bret Lambert wrote: > tech@ accepts attachments; don't make this harder for us than > it needs to be, please. > > On Fri,

implementation of cut -c

2015-11-15 Thread Ingo Schwarze
Hi Ted, Ted Unangst wrote on Sat, Nov 14, 2015 at 01:22:33PM -0500: > One other program which I think will provide some insight is cut. > It cares, perhaps even more than others, about bytes and chars > and bytes in the middle of chars. The following fully implements -c. While here, reduce the

Re: httpd URL rewrite support patch

2015-11-15 Thread Reyk Floeter
On Sun, Nov 15, 2015 at 06:41:49PM +0100, Stanislaw Adaszewski wrote: > Sorry again, I'm trying now with with patch as an attachment - > when I did it the first time I think it wasn't accepted by the > list. > > On Fri, Nov 13, 2015 at 05:22:22PM +0100, Bret Lambert wrote: > > tech@ accepts

Re: initial 802.11n implementation

2015-11-15 Thread Stefan Sperling
On Sun, Nov 15, 2015 at 08:27:28PM +0100, Martin Pieuchot wrote: > I'm really concerned about the use of tasks in iwm_ampdu_rx_{start,stop} > > By looking at iwn(4) which also has a lot of bits for handling A-MPDU > and A-MSDU frames, it seems to me that this go against damien@'s design. > This

Re: Better ASR support in ospfd

2015-11-15 Thread Claudio Jeker
On Mon, Oct 26, 2015 at 04:40:12PM +0100, Claudio Jeker wrote: > ospfd has some issues with self-originated networks and building summary > entries for those in case the router is an ABR (area border router). > This diff should hopefully fix all of the troubles. It changes a bit the > way we do

less.1: secure mode is not a compile-time option

2015-11-15 Thread Michael Reed
>From https://github.com/gdamore/less-fork/blob/master/CHANGES#L35-L37 * SECURE mode (limited features) is removed - this version of less is always fully featured. (It was a compile-time option.) Download official less if you need restricted mode. (Hint: zones or chroot are better

Re: less.1: secure mode is not a compile-time option

2015-11-15 Thread Nicholas Marriott
I just applied it actually, thanks On Sun, Nov 15, 2015 at 09:04:58PM +, Nicholas Marriott wrote: > ok nicm > > > On Sun, Nov 15, 2015 at 03:56:12PM -0500, Michael Reed wrote: > > From https://github.com/gdamore/less-fork/blob/master/CHANGES#L35-L37 > > > > * SECURE mode (limited

Re: less.1: secure mode is not a compile-time option

2015-11-15 Thread Nicholas Marriott
ok nicm On Sun, Nov 15, 2015 at 03:56:12PM -0500, Michael Reed wrote: > From https://github.com/gdamore/less-fork/blob/master/CHANGES#L35-L37 > > * SECURE mode (limited features) is removed - this version of less is always >fully featured. (It was a compile-time option.) Download

Re: cron: use warn/err or syslog

2015-11-15 Thread Todd C. Miller
On Sun, 15 Nov 2015 09:41:38 -0700, "Todd C. Miller" wrote: > This cleans up the remaining uses of stderr and perror() and uses > warn/err and/or syslog depending on whether stderr is hooked up at > the time. Also removes closelog() which is not needed since we are > headed for exec. Here's the

Re: Better ASR support in ospfd

2015-11-15 Thread Theo de Raadt
> On Mon, Oct 26, 2015 at 04:40:12PM +0100, Claudio Jeker wrote: > > ospfd has some issues with self-originated networks and building summary > > entries for those in case the router is an ABR (area border router). > > This diff should hopefully fix all of the troubles. It changes a bit the > >

make "at -l" comply with POSIX

2015-11-15 Thread Todd C. Miller
Our "at -l" currently acts like the historic BSD atq which takes a list of users instead of a list of jobs. The following diff accepts either a user or a job number for "at -l". The "at -l user" syntax is still accepted but no longer documented. This is similar to how we handle differences in

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

2015-11-15 Thread Noth
Hi again, I think I've found a bug: if I have a console session open using minicom or cu when rebooting, the machine hangs. This doesn't happen with either CentOS Linux 7 or FreeBSD 10.2 / 11. I can reproduce the problem. Anyone else have this issue ? Cheers, Noth On 15/11/15 10:09,

Re: cron: use warn/err or syslog

2015-11-15 Thread Philip Guenther
On Sun, Nov 15, 2015 at 1:25 PM, Todd C. Miller wrote: > On Sun, 15 Nov 2015 09:41:38 -0700, "Todd C. Miller" wrote: > >> This cleans up the remaining uses of stderr and perror() and uses >> warn/err and/or syslog depending on whether stderr is hooked up at >> the time.

Re: mpsafe ifqueues

2015-11-15 Thread David Gwynne
On Fri, Nov 13, 2015 at 12:22:31PM +1000, David Gwynne wrote: > this introduces mpsafety to ifqueue operations. > > this follows on from some mopping up of (now) inappropriate use of > ifqueues and the IF_ and IFQ_ operations on them. in most cases > those ifqueues have been replaced with

Re: em(4) watchdog timeouts

2015-11-15 Thread Gregor Best
On Mon, Nov 16, 2015 at 12:05:12AM +1000, David Gwynne wrote: > On Fri, Nov 13, 2015 at 10:18:51AM -0500, Sonic wrote: > > On Wed, Nov 11, 2015 at 9:20 AM, Gregor Best wrote: > > > I've done some further testing and I think I've narrowed it down to the > > > "Unlocking em(4) a

cron: use warn/err or syslog

2015-11-15 Thread Todd C. Miller
This cleans up the remaining uses of stderr and perror() and uses warn/err and/or syslog depending on whether stderr is hooked up at the time. Also removes closelog() which is not needed since we are headed for exec. - todd Index: usr.sbin/cron/atrun.c