proc-common: Change limit_bytes type to cover larger than 4GB 97/302697/2
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 9 Nov 2023 07:55:21 +0000 (16:55 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 28 Dec 2023 09:30:01 +0000 (18:30 +0900)
Change limit_bytes type from unsigned long to uint64_t
to cover more than 4GB in 32bit machine.

Change-Id: I48405ad16066f21a5c569f7eab181ef2d2ef2a14
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/common/proc-common.h

index 54c3c48..8850791 100644 (file)
@@ -105,7 +105,7 @@ struct proc_status {
 
 struct proc_limit_status {
        struct proc_status ps;
-       unsigned long limit_bytes;
+       uint64_t limit_bytes;
        enum proc_action action;
 };