An error occurred fetching the project authors.
  1. 03 Jun, 2004 1 commit
    • Alexander Viro's avatar
      [PATCH] sparse: econet annotation · 1cc2d4bd
      Alexander Viro authored
      econet partially annotated.
      
      It's still badly broken - it mixes userland and kernel chunks in the
      same iovec, then does set_fs(KERNEL_FS) and sends that to
      sock_sendmsg().  Do we still want to support that protocol family,
      anyway?
      1cc2d4bd
  2. 30 May, 2004 2 commits
  3. 08 May, 2004 1 commit
    • James Morris's avatar
      [NET]: Add sock_create_kern() · e2943dca
      James Morris authored
      Under SELinux, and potentially other LSMs, we need to be able to
      distinguish between user sockets and kernel sockets.  For SELinux
      specifically, kernel sockets need to be specially labeled during creation,
      then bypass access control checks (they are controlled by the kernel
      itself and not subject to SELinux mediation).
      
      This addresses a class of potential issues in SELinux where, for example, 
      a TCP NFS session times out, then the kernel re-establishes an RPC 
      connection upon further user activity.  We do not want such kernel 
      created sockets to be labeled with user security contexts.
      
      sock_create() and sock_create_kern() are wrapper functions, which seems 
      semantically clearer to me than e.g. adding a flag to sock_create().  If 
      you prefer the latter, then let me know.
      
      The patch also adds an argument to the LSM socket creation functions
      indicating whether the socket being created is a kernel socket or not.
      e2943dca
  4. 16 Apr, 2004 1 commit
  5. 08 Feb, 2004 1 commit
  6. 25 Jan, 2004 1 commit
  7. 08 Jan, 2004 1 commit
  8. 24 Nov, 2003 1 commit
  9. 06 Oct, 2003 3 commits
  10. 01 Sep, 2003 1 commit
  11. 30 Aug, 2003 1 commit
  12. 18 Jun, 2003 1 commit
    • Arnaldo Carvalho de Melo's avatar
      o net: make sk_{add,del}_node functions take care of sock refcounting · dec22cdc
      Arnaldo Carvalho de Melo authored
      With this we make it easier to write correct network families as less
      details need to be taken into account, as well in the current state we
      make the non-refcounting protocols (the ones still keeping deliver_to_old_ones
      in the tree) suck less. 8)
      
      Left a WARN_ON in sk_del_node_init for a while, so that we can catch cases
      where we're using __sock_put on a struct sock that has refcnt == 1, which
      is not the case for all the ones I tested.
      dec22cdc
  13. 16 Jun, 2003 1 commit
  14. 04 Jun, 2003 1 commit
    • Arnaldo Carvalho de Melo's avatar
      o net: create struct sock_common and use in struct sock & tcp_tw_bucket · 63413da5
      Arnaldo Carvalho de Melo authored
      With this the data dependency is reduced to just making sure that the first
      member of both struct sock and struct tcp_tw_bucket are a struct sock_common.
      
      Also makes it easier to grep for struct sock and struct tcp_tw_bucket usage in
      the tree as all the members in those structs are prefixed, respectively, with
      sk_ and tw_, like struct inode (i_), struct block_device (bd_), etc.
      
      Checked namespace with make tags/ctags, just one colision with the macros for
      the struct sock members, with a wanrouter struct, fixed that
      s/sk_state/state_sk/g in the wanrouter struct.
      
      Checked as well if the names of the members in both structs collided with some
      macro, none found.
      63413da5
  15. 28 May, 2003 1 commit
    • Arnaldo Carvalho de Melo's avatar
      o net: abstract access to struct sock ->flags · 4ea1f830
      Arnaldo Carvalho de Melo authored
      This makes:
      
      1. simpler primitive to access struct sock flags, shorter
      2. we check if the flag is valid by using enum sock_flags
      3. we can change the implementation to an open coded bit operations
         if it proves to be faster than the more general bit manipulation
         routines now used, i.e. we only have to change sock.h, not the
         whole net tree like now
      4ea1f830
  16. 07 May, 2003 1 commit
  17. 03 May, 2003 1 commit
  18. 28 Apr, 2003 1 commit
  19. 06 Mar, 2003 1 commit
  20. 02 Mar, 2003 1 commit
  21. 10 Feb, 2003 1 commit
  22. 18 Oct, 2002 1 commit
  23. 10 Oct, 2002 1 commit
  24. 03 Oct, 2002 1 commit
  25. 03 Sep, 2002 1 commit
    • James Morris's avatar
      [PATCH] sigio/sigurg cleanup for 2.5.32 · 1add9f7a
      James Morris authored
      This is a cleanup of the sigio/sigurg code.
      
      Summary:
        o Removed sk->proc, SIGURG now sent via vfs, credentials checked
          during delivery.
        o SIOCSPGRP etc. ioctls use vfs, and work now for SIGIO as well
          as SIGURG.
        o Removed socket fcntl code.
        o Consolidate lsm file_set_fowner() hooks.
        o Fixed fowner race.
        o Fixed associated mainline memory leak in fcntl_dirnotify().
      1add9f7a
  26. 18 Jul, 2002 1 commit
  27. 03 Apr, 2002 1 commit
  28. 10 Mar, 2002 1 commit
  29. 10 Feb, 2002 1 commit
  30. 05 Feb, 2002 4 commits
    • Linus Torvalds's avatar
      v2.4.5.7 -> v2.4.5.8 · 75b566af
      Linus Torvalds authored
        - me: fix GFB_BUFFER thinkos. Make buffer syncing more efficient.
        Make sure we don't leave buffers on the LOCKED list forever
        - David Miller: networking and sparc updates
      75b566af
    • Linus Torvalds's avatar
      v2.4.3.4 -> v2.4.3.5 · 9102e0eb
      Linus Torvalds authored
        - Mike Phillips: olympic driver update
        - Alan Cox: continued resyncing (lots of small stuff, big NTFS merge from Anton)
        - Martin Dalecki: cleanup (remove unused and unnecessary get_hardblocksize)
        - Chris Mason: fix potential reiserfs journal overflow
        - Jeff Garzik: network driver updates
        - David Miller: sparc fixes, some network cleanups
      9102e0eb
    • Linus Torvalds's avatar
      v2.4.3.2 -> v2.4.3.3 · 1a015350
      Linus Torvalds authored
        - Hui-Fen Hsu: sis900 driver update
        - NIIBE Yutaka: Super-H update
        - Alan Cox: more resyncs (ARM down, but more to go)
        - David Miller: network zerocopy, Sparc sync, qlogic,FC fix, etc.
        - David Miller/me: get rid of various drivers hacks to do mmap
        alignment behind the back of the VM layer. Create a real
        protocol for it.
      1a015350
    • Linus Torvalds's avatar
      Import changeset · 7a2deb32
      Linus Torvalds authored
      7a2deb32