sched.h revision 106b3a8a7dc03c19a45e322de425ac56aafac358
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_SCHED_H
20#define _UAPI_LINUX_SCHED_H
21#define CSIGNAL 0x000000ff
22#define CLONE_VM 0x00000100
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define CLONE_FS 0x00000200
25#define CLONE_FILES 0x00000400
26#define CLONE_SIGHAND 0x00000800
27#define CLONE_PTRACE 0x00002000
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define CLONE_VFORK 0x00004000
30#define CLONE_PARENT 0x00008000
31#define CLONE_THREAD 0x00010000
32#define CLONE_NEWNS 0x00020000
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define CLONE_SYSVSEM 0x00040000
35#define CLONE_SETTLS 0x00080000
36#define CLONE_PARENT_SETTID 0x00100000
37#define CLONE_CHILD_CLEARTID 0x00200000
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define CLONE_DETACHED 0x00400000
40#define CLONE_UNTRACED 0x00800000
41#define CLONE_CHILD_SETTID 0x01000000
42#define CLONE_NEWCGROUP 0x02000000
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define CLONE_NEWUTS 0x04000000
45#define CLONE_NEWIPC 0x08000000
46#define CLONE_NEWUSER 0x10000000
47#define CLONE_NEWPID 0x20000000
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define CLONE_NEWNET 0x40000000
50#define CLONE_IO 0x80000000
51#define SCHED_NORMAL 0
52#define SCHED_FIFO 1
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define SCHED_RR 2
55#define SCHED_BATCH 3
56#define SCHED_IDLE 5
57#define SCHED_DEADLINE 6
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define SCHED_RESET_ON_FORK 0x40000000
60#define SCHED_FLAG_RESET_ON_FORK 0x01
61#endif
62