android_system_core/libprocessgroup
Bart Van Assche 5a3c3f7ccf libprocessgroup: Check validity of uid and pid arguments
A user ID (uid) must be greater than or equal to zero to be valid. Only
strictly positive process IDs are valid. Add argument checks in
libprocessgroup of uid and pid arguments to make it easier to determine
the origin of invalid arguments.

Change-Id: I8a6d96ca4576bc9c329498c6a804dd05a02afca5
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-03-22 18:35:41 -07:00
..
cgrouprc Annotate symbols correctly 2022-09-26 22:14:43 +09:00
cgrouprc_format
include/processgroup init: skip cgroup/task_profiles configuration if cgroups are disabled 2022-10-21 13:14:23 +01:00
profiles [DO NOT MERGE] Migrate the blkio controller to the v2 cgroup hierarchy 2023-03-22 11:39:53 -07:00
setup libprocessgroup: Rework SetupCgroup() 2023-02-10 14:18:38 -08:00
tools
Android.bp
OWNERS Updating owners of libprocessgroup 2022-12-15 19:12:33 +00:00
cgroup_map.cpp libprocessgroup: Proceed if activation of an optional controller fails 2023-02-10 15:02:44 -08:00
cgroup_map.h
processgroup.cpp libprocessgroup: Check validity of uid and pid arguments 2023-03-22 18:35:41 -07:00
sched_policy.cpp
task_profiles.cpp Fix invalid uses of PLOG. 2023-03-01 04:17:57 +00:00
task_profiles.h libprocessgroup: Provide SetProcessProfiles() and SetTaskProfiles() alternatives 2022-08-19 07:06:30 -07:00
task_profiles_test.cpp