Re: /proc/sys/kernel/pid_max issues

From: Ingo Molnar (mingo_at_elte.hu)
Date: 09/12/04

  • Next message: Christoph Hellwig: "[PATCH] superflous do_softirq invocation in cris do_IRQ()"
    Date:	Sun, 12 Sep 2004 13:20:26 +0200
    To: William Lee Irwin III <wli@holomorphy.com>, Anton Blanchard <anton@samba.org>, linux-kernel@vger.kernel.org, viro@parcelfarce.linux.theplanet.co.uk
    
    

    * William Lee Irwin III <wli@holomorphy.com> wrote:

    > Forgot to check map->page in the first spin:
    >
    > last_pid is not honored because next_free_map(map - 1, ...) may return
    > the same map and so restart with a lesser offset.

    it's getting quite spaghetti ... do we really want to handle
    RESERVED_PID? There's no guarantee that any root daemon wont stray out
    of the 1...300 PID range anyway, so if it has an exploitable PID race
    bug then it's probably exploitable even without the RESERVED_PID
    protection.

            Ingo
    -
    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: Christoph Hellwig: "[PATCH] superflous do_softirq invocation in cris do_IRQ()"

    Relevant Pages

    • Re: quite big breakthrough in the BAD network performance, which mm6 did not fix
      ... | computer on the local network. ... so you can't give any sort of guarantee either. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: True fsync() in Linux (on IDE)
      ... I think that we are able to guarantee that the write is fully atomic ... >If the hardware support is missing, it is prudent to say just that and ... >not make any bogus promises about platter inertia and "it usually ... 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/ ...
      (Linux-Kernel)
    • Re: True fsync() in Linux (on IDE)
      ... > guarantee and what it cannot guarantee. ... Some databases can write a checksum for each database page ... as this is not just "a linux problem". ... 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/ ...
      (Linux-Kernel)
    • RE: [ANNOUNCE][RELEASE]: megaraid unified driver version 2.20.0.B 1
      ... >OK, I have started to look at this driver, I have come across one ... >memory from the pool is in use", however, they don't have to guarantee ... >that pool is not null. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] use idr_get_new to allocate a bus id in drivers/i2c/i2c-core.c
      ... The IDR interface is a bit cumbersome. ... there's no guarantee that the memory which it preallocated ... else will steal the preallocation. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)