Re: [patch, 2.6.11-rc2] sched: /proc/sys/kernel/rt_cpu_limit tunable

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

  • Next message: Peter Williams: "Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature"
    Date:	Tue, 25 Jan 2005 14:16:30 -0800
    To: Ingo Molnar <mingo@elte.hu>
    
    

    * Ingo Molnar (mingo@elte.hu) wrote:
    > But if someone reviewed all of the rlimit use in the kernel, we could
    > make it a policy that rlimits might change. Any unsafe use could be made
    > safe pretty easily. Since they are ulongs they are updated atomically
    > even without any locking - but e.g. the default and the hard limit might
    > change separately. (from the viewpoint of rlimit-using kernel code.)

    I can wade through them later in the week.

    > obviously a remote rlimit must listen to same kind of security
    > permissions as e.g. ptrace or signal sending.

    Yeah.

    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: Peter Williams: "Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature"

    Relevant Pages

    • Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process
      ... >> Please follow the proper kernel coding style when writing new kernel ... > - the calling process uid equals the suid of the process whose rlimit ...
      (Linux-Kernel)
    • Does Dapper support RLIMIT_RTPRIO?
      ... Presumably Dapper will ship with a post 2.6.13 kernel - so will Dapper ... ship with full userspace support for this new rlimit? ...
      (Ubuntu)
    • Re: Fw: signed kernel modules?
      ... Nobody wanted to debug a kernel that could be corrupted ... > The above is not policy; ... If it wasn't for UC Berkeley, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Fw: signed kernel modules?
      ... Richard. ... The above is not policy; ... Signing kernel modules is just the same. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: An idea on devfs vs. udev
      ... Now I agree that the kernel should avoid implementing policy, ... device special file. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)