Re: A variant of mlockall()

From: Igmar Palsenberg (maillist@chello.nl)
Date: Fri May 19 2000 - 18:30:30 EDT

  • Next message: Theodore Y. Ts'o: "Re: max ext2 fs size"

    On Fri, 19 May 2000, Lorenzo Allegrucci wrote:

    >
    > Is there a simple and natural way to lock memory of a process
    > from another process?
    > I mean, POSIX1.b standard mlockall() does not provide a pid selection.
    > You can only use it from inside the process you want to lock memory.
    > Wouldn't be useful a mlockall(int flags, int pid) ?

    It's a security risk, and I don't see how it is usefull.

    > Thanks.

                    Igmar

    -
    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 : Fri May 19 2000 - 19:20:28 EDT