udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / src / basic / missing_sched.h
blobbcd5b7712060188ba6f65d26dd7072ddc840579b
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
4 #include <sched.h>
6 #ifndef CLONE_NEWCGROUP
7 #define CLONE_NEWCGROUP 0x02000000
8 #endif
10 /* 769071ac9f20b6a447410c7eaa55d1a5233ef40c (5.8) */
11 #ifndef CLONE_NEWTIME
12 #define CLONE_NEWTIME 0x00000080
13 #endif
15 /* Not exposed yet. Defined at include/linux/sched.h */
16 #ifndef PF_KTHREAD
17 #define PF_KTHREAD 0x00200000
18 #endif
20 /* The maximum thread/process name length including trailing NUL byte. This mimics the kernel definition of the same
21 * name, which we need in userspace at various places but is not defined in userspace currently, neither under this
22 * name nor any other. */
23 /* Not exposed yet. Defined at include/linux/sched.h */
24 #ifndef TASK_COMM_LEN
25 #define TASK_COMM_LEN 16
26 #endif