• Csaba Henk's avatar
    fuse: limit user-specified values of max background requests · 487ea5af
    Csaba Henk authored
    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: default avatarCsaba Henk <csaba@gluster.com>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    487ea5af
inode.c 28.4 KB