summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcessList.c
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2022-04-20 13:24:17 +0800
committerBenBE <BenBE@geshi.org>2022-05-30 07:50:32 +0200
commit98cbdc6dcad40a2f59ec0ec9ff752a46aa0762de (patch)
tree95ac50228319bf064eecba4a80133d61063ed189 /linux/LinuxProcessList.c
parent9ed9d73ab548ef81328c97686f4b01dee107392e (diff)
Correct PROCESS_MAX_UID_DIGITS constant
The PROCESS_MAX_UID_DIGITS=19 introduced in 696f79fe5099d510fc6ecc6d1e2f0ab3ae29e04e doesn't make sense. The `uid_t` type does not require to be signed in POSIX. If we are to support 64 bits as the maximum size of `uid_t`, then PROCESS_MAX_UID_DIGITS should be 20. (= floor(log10(UINT64_MAX)) + 1). Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Diffstat (limited to 'linux/LinuxProcessList.c')
0 files changed, 0 insertions, 0 deletions

© 2014-2024 Faster IT GmbH | imprint | privacy policy