Re: your mail

From: Chris Wright (chrisw_at_osdl.org)
Date: 05/25/04

  • Next message: Marc-Christian Petersen: "Re: your mail"
    Date:	Mon, 24 May 2004 15:33:59 -0700
    To: "Laughlin, Joseph V" <Joseph.V.Laughlin@boeing.com>
    
    

    * Laughlin, Joseph V (Joseph.V.Laughlin@boeing.com) wrote:
    > I've been tasked with modifying a 2.4 kernel so that a non-root user can
    > do the following:
    >
    > Dynamically change the priorities of processes (up and down)

    Requires CAP_SYS_NICE.

    > Lock processes in memory

    Currently requires CAP_IPC_LOCK. However, this one is already been
    done using rlimits (at least via mlock() and friends, SHM_LOCK has
    different issue).

    > Can change process cpu affinity

    Requires CAP_SYS_NICE (but I believe this was a 2.6 feature).

    > Anyone got any ideas about how I could start doing this? (I'm new to
    > kernel development, btw.)

    There's a few approaches floating about. Probably the simplest is to
    disable the checks globally, but this will also be less secure. I have
    an example of this in 2.6 if you'd like.

    thanks,
    -chris

    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Marc-Christian Petersen: "Re: your mail"

    Relevant Pages

    • (no subject)
      ... I've been tasked with modifying a 2.4 kernel so that a non-root user can ... Dynamically change the priorities of processes ... Phantom Works - Integrated Technology Development Labs ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: your mail
      ... > I've been tasked with modifying a 2.4 kernel so that a non-root user can ... > Dynamically change the priorities of processes ... > Phantom Works - Integrated Technology Development Labs ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Modifying kernel so that non-root users have some root capabilities
      ... > I've been tasked with modifying a 2.4 kernel so that a non-root user can ... > Dynamically change the priorities of processes ... Capabilities should do this, but they don't. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Modifying kernel so that non-root users have some root capabilities
      ... > I've been tasked with modifying a 2.4 kernel so that a non-root user can ... > Can change process cpu affinity ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build
      ... can access them all, and initialized data all before uninitialized, so ... SYMLINKS:= $,$/$f) ... semaphore.c-dir = kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)