Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • fs
  • proc
  • array.c
Find file BlameHistoryPermalink
  • Gwendal Grignou's avatar
    proc: Remove empty line in /proc/self/status · b820fe25
    Gwendal Grignou authored Jan 14, 2019
    
    
    Prevent an empty line in /proc/self/status, allow iotop to work.
    
    iotop does not like empty lines, fails with:
      File "/usr/local/lib64/python2.7/site-packages/iotop/data.py", line
    196, in parse_proc_pid_status
        key, value = line.split(':\t', 1)
    ValueError: need more than 1 value to unpack
    
    [reading /proc/self/status]
    
    Fixes: 84964fa3e5a0 ("proc: Provide details on speculation flaw mitigations")
    Signed-off-by: default avatarGwendal Grignou <gwendal@chromium.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    b820fe25
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7