Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Current 9p client file write code does not check for RLIMIT_FSIZE resource. This bug was found by running LTP test case for setrlimit. This bug is fixed by calling generic_write_checks before sending the write request to the server. Without this patch: the write function is allowed to write above the RLIMIT_FSIZE set by user. With this patch: the write function checks for RLIMIT_SIZE and writes upto the size limit. Signed-off-by: Harsh Prateek Bora <[email protected]> Signed-off-by: Eric Van Hensbergen <[email protected]>
- Loading branch information