proc-common: Change limit_bytes type to cover larger than 4GB 94/303594/1
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 9 Nov 2023 07:55:21 +0000 (16:55 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 2 Jan 2024 08:45:02 +0000 (17:45 +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 54c3c48717df18228a80115e5583cc3631352155..885079199475a28b18a75209e9eb72cdc58786c0 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;
 };