| Age | Commit message (Collapse) | Author |
|
This adds few more places where it is possible freeze kernel threads.
From: Nigel Cunningham <ncunningham@cyclades.com>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Use the new lock initializers DEFINE_SPIN_LOCk and DEFINE_RW_LOCK
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
The patch below contains the following possible cleanups:
- make some needlessly global code static
- remove the following unused global function:
- transport.c: rxrpc_clear_transport
- remove the following unneeded EXPORT_SYMBOL:
- rxrpc_syms.c: rxrpc_call_flush
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Remove some of the exports on RxRPC symbols that aren't currently used (and
most probably won't be) by external modules.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This greatly improves netfilter performance where
the wanted header area is in the linear SKB data
area, therefore no copy into the temporary buffer
is needed.
Signed-off-by: David S. Miller <davem@redhat.com>
|
|
rxrpc (low-level part of afs) switched to kernel_...msg(); it already was
using kvec instead of iovec.
|
|
- afs and rxrpc switched to kvec; definition of kvec moved to uio.h (duh).
- afs/mntpt.c got missing cast added.
at that point afs is sparse-clean and rxrpc has only one remaining warning
(setsockopt from local variable, protected by set_fs()).
|
|
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.
|
|
|
|
|
|
From: David Howells <dhowells@redhat.com>
Here's a patch to fix some bugs in my RxRPC code, including the fix for the
transport initialisation failure recovery spotted by Pete Zaitcev.
It also inserts some extra spaces in a few places.
|
|
|
|
Here's a patch to update the RxRPC driver. Most of it is CodingStyle fixes,
but it also includes a few miscellaneous bug fixes. stdint types are also
turned into C99 forms (eg: u32 -> uint32_t).
|
|
|
|
|
|
|
|
These small patches remove a number of '.maxlen = 0,' initializers.
|
|
|
|
AFS and RXRPC: times must be unsigned long
|
|
|
|
|
|
|
|
|
|
This simplifies it and makes it more generic.
|
|
Add a name argument to daemonize() (va_arg) to avoid all the
kernel threads having to duplicate the name setting over and
over again.
Make daemonize() disable all signals by default, and add a
"allow_signal()" function to let daemons say they explicitly
want to support a signal.
Make flush_signal() take the signal lock, so that callers do
not need to.
|
|
Accomodate the signal locking moving from "tsk->sig" to "tsk->sighand".
|
|
One of the goals of the whole new modversions implementation:
export-objs is gone for good!
|
|
completly remove the old try_inc_mod_count()
|
|
this is only for the module-related warning introduced by my
__deprecated patch.
|
|
Makefiles no longer need to include Rules.make, which is currently an
empty file. This patch removes it from the remaining Makefiles, and
removes the empty Rules.make file.
|
|
|
|
This adds some missing __exit specifications which lead to a failure to
link the AFS code directly into the kernel.
|
|
Fix:
- Makefile using obj-m directly, rather than subsituting the "m"
- compiler breakage against older versions of gcc
- adds some lacking return statements that gcc didn't catch
- removes some 2.4 compatibility stuff
- RTT calculation
- puts the timeouts in terms of HZ rather than assuming HZ==100
|
|
This adds RxRPC support to Linux for use by the AFS filesystem
|