diff options
author | Csaba Henk <csaba@gluster.com> | 2009-08-26 21:17:22 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-09-16 16:15:29 +0400 |
commit | 487ea5af6358cb27c994e2cf056d4ee0872e43c3 (patch) | |
tree | 26db6260934ad1743db6da6319cb7a502dd775e2 /fs/fuse/control.c | |
parent | d6db07ded51c5fb4df2f4a32e6a41e9bb5db7fc4 (diff) | |
download | linux-487ea5af6358cb27c994e2cf056d4ee0872e43c3.tar.xz |
fuse: limit user-specified values of max background requests
An untrusted user could DoS the system if s/he were allowed to accumulate an
arbitrary number of pending background requests by setting the above limits
to extremely high values in INIT. This patch excludes this possibility by
imposing global upper limits on the possible values of per-mount "max
background requests" and "congestion threshold" parameters for unprivileged
FUSE filesystems.
These global limits are implemented as module parameters.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/control.c')
0 files changed, 0 insertions, 0 deletions