blob: c06b8ec95260e1884703c4c42b9762439a078f81 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_SCHED_H
20#define _LINUX_SCHED_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <linux/auxvec.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#define CSIGNAL 0x000000ff
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define CLONE_VM 0x00000100
25#define CLONE_FS 0x00000200
26#define CLONE_FILES 0x00000400
27#define CLONE_SIGHAND 0x00000800
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define CLONE_PTRACE 0x00002000
30#define CLONE_VFORK 0x00004000
31#define CLONE_PARENT 0x00008000
32#define CLONE_THREAD 0x00010000
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define CLONE_NEWNS 0x00020000
35#define CLONE_SYSVSEM 0x00040000
36#define CLONE_SETTLS 0x00080000
37#define CLONE_PARENT_SETTID 0x00100000
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define CLONE_CHILD_CLEARTID 0x00200000
40#define CLONE_DETACHED 0x00400000
41#define CLONE_UNTRACED 0x00800000
42#define CLONE_CHILD_SETTID 0x01000000
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define CLONE_STOPPED 0x02000000
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045#define SCHED_NORMAL 0
46#define SCHED_FIFO 1
47#define SCHED_RR 2
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define SCHED_BATCH 3
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080050#endif