Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-02 Thread Frank Benkstein
Andrew Morton wrote: > On Wed, 01 Aug 2007 04:44:32 +0200 > Frank Benkstein <[EMAIL PROTECTED]> wrote: > >> Frank Benkstein wrote: >>> I wonder why there are different permissions needed for VT_PROCESS >>> (access to the current virtual console) and VT_LOCKSWITCH >>> (CAP_SYS_TTY_CONFIG). >> To

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-02 Thread Frank Benkstein
Andrew Morton wrote: On Wed, 01 Aug 2007 04:44:32 +0200 Frank Benkstein [EMAIL PROTECTED] wrote: Frank Benkstein wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). To be more direct:

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-01 Thread Andrew Morton
On Wed, 01 Aug 2007 04:44:32 +0200 Frank Benkstein <[EMAIL PROTECTED]> wrote: > Frank Benkstein wrote: > > I wonder why there are different permissions needed for VT_PROCESS > > (access to the current virtual console) and VT_LOCKSWITCH > > (CAP_SYS_TTY_CONFIG). > > To be more direct: > >

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-01 Thread Frank Benkstein
Andrew Morton wrote: > On Wed, 01 Aug 2007 00:22:38 +0200 Frank Benkstein <[EMAIL PROTECTED]> wrote: > >> I wonder why there are different permissions needed for VT_PROCESS >> (access to the current virtual console) and VT_LOCKSWITCH >> (CAP_SYS_TTY_CONFIG). >> > Perhaps the issue with

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-01 Thread Frank Benkstein
Andrew Morton wrote: On Wed, 01 Aug 2007 00:22:38 +0200 Frank Benkstein [EMAIL PROTECTED] wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). Perhaps the issue with VT_LOCKSWITCH is that

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-01 Thread Andrew Morton
On Wed, 01 Aug 2007 04:44:32 +0200 Frank Benkstein [EMAIL PROTECTED] wrote: Frank Benkstein wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). To be more direct: require

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Andrew Morton
On Wed, 01 Aug 2007 00:22:38 +0200 Frank Benkstein <[EMAIL PROTECTED]> wrote: > I wonder why there are different permissions needed for VT_PROCESS > (access to the current virtual console) and VT_LOCKSWITCH > (CAP_SYS_TTY_CONFIG). > > The first one lets the calling process decide if console

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Frank Benkstein
Frank Benkstein wrote: > I wonder why there are different permissions needed for VT_PROCESS > (access to the current virtual console) and VT_LOCKSWITCH > (CAP_SYS_TTY_CONFIG). To be more direct: require CAP_SYS_TTY_CONFIG for VT_SETMODE as its essentially the same as VT_LOCKSWITCH and said

VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Frank Benkstein
Hi, I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). The first one lets the calling process decide if console switching is allowed, the second one simply disables it. If a program wants to forbid

VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Frank Benkstein
Hi, I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). The first one lets the calling process decide if console switching is allowed, the second one simply disables it. If a program wants to forbid

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Frank Benkstein
Frank Benkstein wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). To be more direct: require CAP_SYS_TTY_CONFIG for VT_SETMODE as its essentially the same as VT_LOCKSWITCH and said

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-07-31 Thread Andrew Morton
On Wed, 01 Aug 2007 00:22:38 +0200 Frank Benkstein [EMAIL PROTECTED] wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). The first one lets the calling process decide if console switching