Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • fs
  • 9p
  • vfs_file.c
Find file BlameHistoryPermalink
  • Harsh Prateek Bora's avatar
    fs/9p: setrlimit fix for 9p write · 3834b12a
    Harsh Prateek Bora authored Aug 03, 2010
    
    
    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: default avatarHarsh Prateek Bora <harsh@linux.vnet.ibm.com>
    Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
    3834b12a