Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data types for CUTime and CSTime stat fields #403 #404

Merged
merged 4 commits into from Aug 30, 2021
Merged

Fix data types for CUTime and CSTime stat fields #403 #404

merged 4 commits into from Aug 30, 2021

Commits on Jul 29, 2021

  1. Fix data types for CUTime and CSTime stat fields #403

    These two stat fields (CUTime and CSTime) in the /proc/[pid]/stat file should have the signed long data type according to the documentation. But currently in the code their data type is just unsigned int. This commit fixes it and adds more tests.
    
    See for details:
    * https://man7.org/linux/man-pages/man5/proc.5.html
    * https://man7.org/linux/man-pages/man3/scanf.3.html
    
    Signed-off-by: Vyacheslav Kulakov <kulakov.home@gmail.com>
    vykulakov committed Jul 29, 2021
    Copy the full SHA
    2ec3e05 View commit details
    Browse the repository at this point in the history
  2. Fix test names

    Signed-off-by: Vyacheslav Kulakov <kulakov.home@gmail.com>
    vykulakov committed Jul 29, 2021
    Copy the full SHA
    850087e View commit details
    Browse the repository at this point in the history
  3. Sign the commit

    Signed-off-by: Vyacheslav Kulakov kulakov.home@gmail.com
    Signed-off-by: Vyacheslav Kulakov <kulakov.home@gmail.com>
    vykulakov committed Jul 29, 2021
    Copy the full SHA
    6315b9c View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Revert types for the ignored fields

    Signed-off-by: Vyacheslav Kulakov kulakov.home@gmail.com
    Signed-off-by: Vyacheslav Kulakov <kulakov.home@gmail.com>
    vykulakov committed Aug 30, 2021
    Copy the full SHA
    f892ce9 View commit details
    Browse the repository at this point in the history