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

Why uid and gid in /proc/[pid]/status have been parsed as string? #372

Closed
MisLink opened this issue Mar 24, 2021 · 1 comment · Fixed by #620
Closed

Why uid and gid in /proc/[pid]/status have been parsed as string? #372

MisLink opened this issue Mar 24, 2021 · 1 comment · Fixed by #620

Comments

@MisLink
Copy link

MisLink commented Mar 24, 2021

As far as I know, they are uint32

@rexagod
Copy link
Contributor

rexagod commented Mar 22, 2024

+1, I just verified this as well ((1), (2), and (3)), sending a patch!

rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
As defined in the `torvalds/linux` git tree, `uidgid_types.h`:
https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/include/linux/uidgid_types.h#L8

Fixes: prometheus#372
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
As defined in the `torvalds/linux` git tree, `uidgid_types.h`:
https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/include/linux/uidgid_types.h#L8

Fixes: prometheus#372
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
rexagod added a commit to rexagod/procfs that referenced this issue Mar 30, 2024
As defined in the `torvalds/linux` git tree, `uidgid_types.h`:
https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/include/linux/uidgid_types.h#L8

Fixes: prometheus#372
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
SuperQ pushed a commit that referenced this issue Apr 14, 2024
As defined in the `torvalds/linux` git tree, `uidgid_types.h`:
https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/include/linux/uidgid_types.h#L8

Fixes: #372

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants