vserver 1.9.3
[linux-2.6.git] / include / asm-ia64 / thread_info.h
index f714194..1683190 100644 (file)
@@ -9,14 +9,6 @@
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 
-#define TI_TASK                        0x00
-#define TI_EXEC_DOMAIN         0x08
-#define TI_FLAGS               0x10
-#define TI_CPU                 0x14
-#define TI_ADDR_LIMIT          0x18
-#define TI_PRE_COUNT           0x20
-#define TI_RESTART_BLOCK       0x28
-
 #define PREEMPT_ACTIVE_BIT 30
 #define PREEMPT_ACTIVE (1 << PREEMPT_ACTIVE_BIT)
 
@@ -73,12 +65,15 @@ struct thread_info {
 #define TIF_SIGPENDING         1       /* signal pending */
 #define TIF_NEED_RESCHED       2       /* rescheduling necessary */
 #define TIF_SYSCALL_TRACE      3       /* syscall trace active */
+#define TIF_SYSCALL_AUDIT      4       /* syscall auditing active */
 #define TIF_POLLING_NRFLAG     16      /* true if poll_idle() is polling TIF_NEED_RESCHED */
 
 #define TIF_WORK_MASK          0x7     /* like TIF_ALLWORK_BITS but sans TIF_SYSCALL_TRACE */
-#define TIF_ALLWORK_MASK       0xf     /* bits 0..3 are "work to do on user-return" bits */
+#define TIF_ALLWORK_MASK       0x1f    /* bits 0..4 are "work to do on user-return" bits */
 
 #define _TIF_SYSCALL_TRACE     (1 << TIF_SYSCALL_TRACE)
+#define _TIF_SYSCALL_AUDIT     (1 << TIF_SYSCALL_AUDIT)
+#define _TIF_SYSCALL_TRACEAUDIT        (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT)
 #define _TIF_NOTIFY_RESUME     (1 << TIF_NOTIFY_RESUME)
 #define _TIF_SIGPENDING                (1 << TIF_SIGPENDING)
 #define _TIF_NEED_RESCHED      (1 << TIF_NEED_RESCHED)