1. 22 Sep, 2010 1 commit
  2. 30 Mar, 2010 1 commit
    • Tejun Heo's avatar
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo authored
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        bloc...
      5a0e3ad6
  3. 06 Nov, 2009 1 commit
  4. 07 Oct, 2009 1 commit
  5. 21 Jan, 2009 2 commits
  6. 16 Oct, 2008 1 commit
  7. 10 Oct, 2007 1 commit
    • Eric W. Biederman's avatar
      [NET]: Make socket creation namespace safe. · 1b8d7ae4
      Eric W. Biederman authored
      
      This patch passes in the namespace a new socket should be created in
      and has the socket code do the appropriate reference counting.  By
      virtue of this all socket create methods are touched.  In addition
      the socket create methods are modified so that they will fail if
      you attempt to create a socket in a non-default network namespace.
      
      Failing if we attempt to create a socket outside of the default
      network namespace ensures that as we incrementally make the network stack
      network namespace aware we will not export functionality that someone
      has not audited and made certain is network namespace safe.
      Allowing us to partially enable network namespaces before all of the
      exotic protocols are supported.
      
      Any protocol layers I have missed will fail to compile because I now
      pass an extra parameter into the socket creation code.
      
      [ Integrated AF_IUCV build fixes from Andrew Morton... -DaveM ]
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1b8d7ae4
  8. 31 Jul, 2007 1 commit
  9. 30 Apr, 2007 1 commit
  10. 26 Apr, 2007 1 commit
    • Florian Zumbiehl's avatar
      [PPPOE]: memory leak when socket is release()d before PPPIOCGCHAN has been called on it · 202a03ac
      Florian Zumbiehl authored
      
      below you find a patch that fixes a memory leak when a PPPoE socket is
      release()d after it has been connect()ed, but before the PPPIOCGCHAN ioctl
      ever has been called on it.
      
      This is somewhat of a security problem, too, since PPPoE sockets can be
      created by any user, so any user can easily allocate all the machine's
      RAM to non-swappable address space and thus DoS the system.
      
      Is there any specific reason for PPPoE sockets being available to any
      unprivileged process, BTW? After all, you need a packet socket for the
      discovery stage anyway, so it's unlikely that any unprivileged process
      will ever need to create a PPPoE socket, no? Allocating all session IDs
      for a known AC is a kind of DoS, too, after all - with Juniper ERXes,
      this is really easy, actually, since they don't ever assign session ids
      above 8000 ...
      Signed-off-by: default avatarFlorian Zumbiehl <florz@florz.de>
      Acked-by: default avatarMichal Ostrowski <mostrows@earthlink.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      202a03ac
  11. 03 Jan, 2006 1 commit
  12. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4