proc-common: Change limit_bytes type to cover larger than 4GB 28/301328/5
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 9 Nov 2023 07:55:21 +0000 (16:55 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 21 Nov 2023 07:56:06 +0000 (16:56 +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 6210f5a..77ae47e 100644 (file)
@@ -104,7 +104,7 @@ struct proc_status {
 
 struct proc_limit_status {
        struct proc_status ps;
-       unsigned long limit_bytes;
+       uint64_t limit_bytes;
        enum proc_action action;
 };