add minimal use of armv6 cps instructions

2015-01-27 Thread Jonathan Gray
armv6 introduced dedicated instructions for enabling/disabling interrupts. And while those don't easily map to to mask based enable_interrupts/disable_interrupts macros, the following switches some of the v7 only codepaths to use them. The pmap_activate splhigh followed by disable_interrupts look

Re: machine with a zzz problem with lidsuspend=1

2015-01-27 Thread Raf Czlonka
On Tue, Jan 27, 2015 at 10:08:51PM GMT, Mark Kettenis wrote: > Known problem. Fixed with newer x86-video-intel driver. But we > didn't manage to get a newer driver tested this release cycle. The > fact that there hasn't been an official release of the driver doesn't > help. Thanks for letting

Re: machine with a zzz problem with lidsuspend=1

2015-01-27 Thread Mark Kettenis
> Date: Tue, 27 Jan 2015 20:40:03 + > From: Raf Czlonka > > On Tue, Jan 27, 2015 at 01:00:18PM GMT, Raf Czlonka wrote: > > > When I suspend it with 'machdep.lidsuspend=1' and then 'startx' (hadn't > > actually tried while in X), all I get is black screen. I can change the > > ttys just fine

Re: machine with a zzz problem with lidsuspend=1

2015-01-27 Thread Raf Czlonka
On Tue, Jan 27, 2015 at 01:00:18PM GMT, Raf Czlonka wrote: > When I suspend it with 'machdep.lidsuspend=1' and then 'startx' (hadn't > actually tried while in X), all I get is black screen. I can change the > ttys just fine but every time I do Ctrl+Alt+5, the screen turns black. > I have to exit '

Re: patch: hide processes non owned by a user

2015-01-27 Thread Renaud Allard
On 01/27/2015 08:26 AM, Renaud Allard wrote: Hello, I wrote a patch which adds a new kernel sysctl (hideproc) to hide processes non owned by a user, except for root. This should be mostly useful on shell servers and on servers with chroots. I know some controversial patches have been presented

Re: machine with a zzz problem with lidsuspend=1

2015-01-27 Thread Raf Czlonka
On Mon, Jan 26, 2015 at 09:17:33PM GMT, Stuart Henderson wrote: > This machine (server-ish hw used as a desktop) used to suspend and > resume nicely, but following the lidsuspend change no longer resumes > (machine powers up, screen stays black). > > It works correctly if machdep.lidsuspend is se

Re: patch: hide processes non owned by a user

2015-01-27 Thread Renaud Allard
On 01/27/2015 09:07 AM, STeve Andre' wrote: On 01/27/15 02:26, Renaud Allard wrote: Hello, I wrote a patch which adds a new kernel sysctl (hideproc) to hide processes non owned by a user, except for root. This should be mostly useful on shell servers and on servers with chroots. I know some co

Re: patch: hide processes non owned by a user

2015-01-27 Thread Renaud Allard
On 01/27/2015 09:07 AM, STeve Andre' wrote: On 01/27/15 02:26, Renaud Allard wrote: Hello, I wrote a patch which adds a new kernel sysctl (hideproc) to hide processes non owned by a user, except for root. This should be mostly useful on shell servers and on servers with chroots. I know some co

Re: patch: hide processes non owned by a user

2015-01-27 Thread STeve Andre'
On 01/27/15 02:26, Renaud Allard wrote: Hello, I wrote a patch which adds a new kernel sysctl (hideproc) to hide processes non owned by a user, except for root. This should be mostly useful on shell servers and on servers with chroots. I know some controversial patches have been presented in