An error occurred fetching the project authors.
- 03 Jun, 2004 1 commit
-
-
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?
-
- 30 May, 2004 2 commits
-
-
Alexander Viro authored
dev_ioctl() has a __user pointer argument; however, its declaration lacks that and callers are also wrong. Declaration fixed, callers updated.
-
Linus Torvalds authored
-
- 08 May, 2004 1 commit
-
-
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.
-
- 16 Apr, 2004 1 commit
-
-
Andi Kleen authored
-
- 08 Feb, 2004 1 commit
-
-
David S. Miller authored
-
- 25 Jan, 2004 1 commit
-
-
Andrew Morton authored
-
- 08 Jan, 2004 1 commit
-
-
Stephen Hemminger authored
-
- 24 Nov, 2003 1 commit
-
-
David S. Miller authored
Also, make sure NET_RX_DROP is returned if we did not accept the packet.
-
- 06 Oct, 2003 3 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
- 01 Sep, 2003 1 commit
-
-
Rusty Russell authored
Previously, default aliases were hardwired into modutils. Now they should be inside the modules, using MODULE_ALIAS() (they will be overridden by any user alias).
-
- 30 Aug, 2003 1 commit
-
-
Stephen Hemminger authored
-
- 18 Jun, 2003 1 commit
-
-
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.
-
- 16 Jun, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
-
- 04 Jun, 2003 1 commit
-
-
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.
-
- 28 May, 2003 1 commit
-
-
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
-
- 07 May, 2003 1 commit
-
-
Stephen Hemminger authored
-
- 03 May, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
Using THIS_MODULE in the struct proto_ops registered with the core.
-
- 28 Apr, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
Now the core networking infrastructure will (finally) do that for the net protocol families, its just a matter of setting the ->owner field in the registered struct net_proto_family to THIS_MODULE.
-
- 06 Mar, 2003 1 commit
-
-
Benjamin LaHaise authored
1) Pull scm argument from sendmsg/recvmsg, it is available from I/O control block 2) Consolidate networking syscall compat call into net/compat.c 3) Change ops->{sendmsg,recvmsg}() code sequences into sock_{sendmsg,recvmsg}()
-
- 02 Mar, 2003 1 commit
-
-
James Morris authored
-
- 10 Feb, 2003 1 commit
-
-
Rusty Russell authored
-
- 18 Oct, 2002 1 commit
-
-
Steven Whitehouse authored
-
- 10 Oct, 2002 1 commit
-
-
Benjamin LaHaise authored
-
- 03 Oct, 2002 1 commit
-
-
Matthew Wilcox authored
-
- 03 Sep, 2002 1 commit
-
-
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().
-
- 18 Jul, 2002 1 commit
-
-
Rusty Russell authored
-
- 03 Apr, 2002 1 commit
-
-
Dave Jones authored
Still a few out there.. Most of these from 2.4
-
- 10 Mar, 2002 1 commit
-
-
David S. Miller authored
out of struct sock. Fix -EFAULT handling in TCP direct user copy handling. Use struct initializers in IPV6 ndisc code.
-
- 10 Feb, 2002 1 commit
-
-
David S. Miller authored
Work done by Arnaldo Carvalho de Melo.
-
- 05 Feb, 2002 4 commits
-
-
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
-
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
-
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.
-
Linus Torvalds authored
-