Re: your mail

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: 05/25/04

  • Next message: Ryan Tokarek: "Problem: network drops; ethernet driver problem? (IRQ 11 disabled)"
    Date:	Tue, 25 May 2004 00:30:22 +0200
    To: "Laughlin, Joseph V" <Joseph.V.Laughlin@boeing.com>
    
    

    On Mon, May 24, 2004 at 03:20:33PM -0700, Laughlin, Joseph V 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)
    > Lock processes in memory
    > Can change process cpu affinity
    >
    > Anyone got any ideas about how I could start doing this? (I'm new to
    > kernel development, btw.)

    check the kernel capability system ...
    (it's quite simple)

    #define CAP_SYS_NICE 23
    #define CAP_IPC_LOCK 14

    cpu scheduler affinity isn't part of 2.4 AFAIK
    so there is no easy way to 'control' it ...

    HTH,
    Herbert

    > Thanks,
    >
    > Joe Laughlin
    > Phantom Works - Integrated Technology Development Labs
    > The Boeing Company
    >
    >
    >
    > -
    > 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/
    -
    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: Ryan Tokarek: "Problem: network drops; ethernet driver problem? (IRQ 11 disabled)"

    Relevant Pages

    • 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 ... Phantom Works - Integrated Technology Development Labs ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • (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 ... 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)
    • Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24
      ... > rebooted to a kernel that doesn't have the RT-preempt patch but ... getting a very verbose running trail, almost like an strace output, ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)