Re: linux-kernel-digest V1 #806

From: Aaron Denney (wnoise@ugcs.caltech.edu)
Date: Thu May 18 2000 - 23:18:39 EDT

  • Next message: Frank Davis: "[PATCH] uaccess.h, 2.3.99pre9-2"

    On Thu, 18 May 2000 22:02:33 -0400, Paul Barton-Davis <pbd@Op.Net> wrote:
    > >From: Alexander Viro <viro@math.psu.edu>
    > >Date: Thu, 18 May 2000 02:04:16 -0400 (EDT)
    > >Subject: Re: Linux 2.3.99pre9-2 JOB list
    > >
    > >... not to mention the fact that GUI suid-root anything is a
    > >_really_ scary idea,
    >
    > perhaps you can explain how an audio application with a GUI that needs
    > to take advantage of SCHED_FIFO in some subset of its threads, and/or
    > mlock(2), can be run without suid (or sudo, though it seems that the
    > problems there are pretty similar) ?

    SCHED_FIFO can be done with a 18-line suid helper wrapper. I don't
    see why it couldn't fork() and exec() a helper app to mlock() a shared
    memory segment for audio data buffering.

    (No, that won't let you mlock in the code, etc. For that, you do need
    suid.)

    -- 
    Aaron Denney
    -><-
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu May 18 2000 - 23:46:51 EDT