process-util: introduce prctl_safe()

This commit is contained in:
Lennart Poettering
2026-07-13 15:39:16 +02:00
parent 2e1c8bc3d7
commit d3c0348c8b
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -255,3 +255,5 @@ int safe_mlockall(int flags);
_noreturn_ void report_errno_and_exit(int errno_fd, int error);
int read_errno(int errno_fd);
int prctl_safe(int op, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);