[lkml]   [2007]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectVT_PROCESS, VT_LOCKSWITCH capabilities

    I wonder why there are different permissions needed for VT_PROCESS
    (access to the current virtual console) and VT_LOCKSWITCH

    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 console switching the only technical difference I can see is that
    switching is automatically reenabled when the program exits when using
    VT_PROCESS. When using VT_LOCKSWITCH it must be manually reenabled.
    When the program uses the first method and disables terminal signals and
    SysRQ is disabled, too, I see no practical difference between the two.

    Please CC me on replies, I am not on the list.

    Best regards
    Frank Benkstein.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-08-01 00:57    [W:0.023 / U:11.340 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site