1. 15 Jul, 2006 2 commits
    • Kirill Korotaev's avatar
      [PATCH] struct file leakage · de459215
      Kirill Korotaev authored
      2.6.16 leaks like hell. While testing, I found massive leakage
      (reproduced in openvz) in:
      
      *filp
      *size-4096
      
      And 1 object leaks in
      *size-32
      *size-64
      *size-128
      
      It is the fix for the first one.  filp leaks in the bowels of namei.c.
      
      Seems, size-4096 is file table leaking in expand_fdtables.
      
      I have no idea what are the rest and why they show only accompanying
      another leaks.  Some debugging structs?
      
      [akpm@osdl.org, Trond: remove the IS_ERR() check]
      Signed-off-by: default avatarAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: <stable@kernel.org>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      de459215
    • Linus Torvalds's avatar
      Relax /proc fix a bit · 9ee8ab9f
      Linus Torvalds authored
      Clearign all of i_mode was a bit draconian. We only really care about
      S_ISUID/ISGID, after all.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9ee8ab9f
  2. 14 Jul, 2006 1 commit
    • Linus Torvalds's avatar
      Fix nasty /proc vulnerability · 18b0bbd8
      Linus Torvalds authored
      We have a bad interaction with both the kernel and user space being able
      to change some of the /proc file status.  This fixes the most obvious
      part of it, but I expect we'll also make it harder for users to modify
      even their "own" files in /proc.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      18b0bbd8
  3. 13 Jul, 2006 37 commits