summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/pidfd.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
commit885f5974cdf65b59415837ae97f5a14ef1350670 (patch)
tree66ac13de29c7f4932c5fcae11773df574e4e256a /include/arch/x86_64/linux/pidfd.h
parent8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff)
feat: add gzip and new headers
Diffstat (limited to 'include/arch/x86_64/linux/pidfd.h')
-rw-r--r--include/arch/x86_64/linux/pidfd.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/arch/x86_64/linux/pidfd.h b/include/arch/x86_64/linux/pidfd.h
index cb92c2a3..0f91b663 100644
--- a/include/arch/x86_64/linux/pidfd.h
+++ b/include/arch/x86_64/linux/pidfd.h
@@ -17,9 +17,10 @@
#define PIDFD_SIGNAL_PROCESS_GROUP (1UL << 2)
/* Flags for pidfd_info. */
-#define PIDFD_INFO_PID (1UL << 0) /* Always returned, even if not requested */
-#define PIDFD_INFO_CREDS (1UL << 1) /* Always returned, even if not requested \
- */
+#define PIDFD_INFO_PID (1UL << 0) /* Always returned, even if not requested */
+#define PIDFD_INFO_CREDS \
+ (1UL << 1) /* Always returned, even if not requested \
+ */
#define PIDFD_INFO_CGROUPID \
(1UL << 2) /* Always returned if available, even if not requested */
#define PIDFD_INFO_EXIT (1UL << 3) /* Only returned if requested. */
@@ -35,8 +36,9 @@
* coredump should be treated as sensitive and access should only be
* granted to privileged users.
*/
-#define PIDFD_COREDUMPED (1U << 0) /* Did crash and... */
-#define PIDFD_COREDUMP_SKIP (1U << 1) /* coredumping generation was skipped. \
+#define PIDFD_COREDUMPED (1U << 0) /* Did crash and... */
+#define PIDFD_COREDUMP_SKIP \
+ (1U << 1) /* coredumping generation was skipped. \
*/
#define PIDFD_COREDUMP_USER (1U << 2) /* coredump was done as the user. */
#define PIDFD_COREDUMP_ROOT (1U << 3) /* coredump was done as root. */