linux/net/9p
Al Viro 21c9f5ccb1 p9_client_attach(): set fid->uid correctly
it's almost always equal to current_fsuid(), but there's an exception -
if the first writeback fid is opened by non-root *and* that happens before
root has done any lookups in /, we end up doing attach for root.  The
current code leaves the resulting FID owned by root from the server POV
and by non-root from the client one.  Unfortunately, it means that e.g.
massive dcache eviction will leave that user buggered - they'll end
up redoing walks from / *and* picking that FID every time.  As soon as
they try to create something, the things will get nasty.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-04-11 22:28:28 -04:00
..
Kconfig net/9p: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:33 -08:00
Makefile [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
client.c p9_client_attach(): set fid->uid correctly 2015-04-11 22:28:28 -04:00
error.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
mod.c 9p: Reduce object size with CONFIG_NET_9P_DEBUG 2012-01-05 10:51:44 -06:00
protocol.c net/9p: switch the guts of p9_client_{read,write}() to iov_iter 2015-04-11 22:28:25 -04:00
protocol.h net/9p: Convert net/9p protocol dumps to tracepoints 2011-10-24 11:13:12 -05:00
trans_common.c 9p: fix off by one causing access violations and memory corruption 2013-07-11 11:36:02 -07:00
trans_common.h fs/9p: Update zero-copy implementation in 9p 2011-10-24 11:13:11 -05:00
trans_fd.c net: Introduce possible_net_t 2015-03-12 14:39:40 -04:00
trans_rdma.c 9pnet_rdma: check token type before int conversion 2014-03-25 16:38:19 -05:00
trans_virtio.c net/9p: switch the guts of p9_client_{read,write}() to iov_iter 2015-04-11 22:28:25 -04:00
util.c net/9p: convert to idr_alloc() 2013-02-27 19:10:20 -08:00