| The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 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 | **************************************************************************** | 
|  | 11 | ****************************************************************************/ | 
|  | 12 | #ifndef _LINUX_SCHED_H | 
|  | 13 | #define _LINUX_SCHED_H | 
|  | 14 |  | 
|  | 15 | #include <linux/auxvec.h> | 
|  | 16 |  | 
|  | 17 | #define CSIGNAL 0x000000ff | 
|  | 18 | #define CLONE_VM 0x00000100 | 
|  | 19 | #define CLONE_FS 0x00000200 | 
|  | 20 | #define CLONE_FILES 0x00000400 | 
|  | 21 | #define CLONE_SIGHAND 0x00000800 | 
|  | 22 | #define CLONE_PTRACE 0x00002000 | 
|  | 23 | #define CLONE_VFORK 0x00004000 | 
|  | 24 | #define CLONE_PARENT 0x00008000 | 
|  | 25 | #define CLONE_THREAD 0x00010000 | 
|  | 26 | #define CLONE_NEWNS 0x00020000 | 
|  | 27 | #define CLONE_SYSVSEM 0x00040000 | 
|  | 28 | #define CLONE_SETTLS 0x00080000 | 
|  | 29 | #define CLONE_PARENT_SETTID 0x00100000 | 
|  | 30 | #define CLONE_CHILD_CLEARTID 0x00200000 | 
|  | 31 | #define CLONE_DETACHED 0x00400000 | 
|  | 32 | #define CLONE_UNTRACED 0x00800000 | 
|  | 33 | #define CLONE_CHILD_SETTID 0x01000000 | 
|  | 34 | #define CLONE_STOPPED 0x02000000 | 
|  | 35 |  | 
|  | 36 | #define SCHED_NORMAL 0 | 
|  | 37 | #define SCHED_FIFO 1 | 
|  | 38 | #define SCHED_RR 2 | 
|  | 39 | #define SCHED_BATCH 3 | 
|  | 40 |  | 
|  | 41 | #endif |