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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • sys.c
Find file BlameHistoryPermalink
  • Cyril Hrubis's avatar
    sys/sysinfo: Respect boottime inside time namespace · ecc421e0
    Cyril Hrubis authored Mar 03, 2020
    
    
    The sysinfo() syscall includes uptime in seconds but has no correction for
    time namespaces which makes it inconsistent with the /proc/uptime inside of
    a time namespace.
    
    Add the missing time namespace adjustment call.
    
    Signed-off-by: default avatarCyril Hrubis <chrubis@suse.cz>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarDmitry Safonov <dima@arista.com>
    Link: https://lkml.kernel.org/r/20200303150638.7329-1-chrubis@suse.cz
    ecc421e0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7