]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/init_task.h
timerfd: new timerfd API
[linux-2.6-omap-h63xx.git] / include / linux / init_task.h
index e6b3f70806790b2a8e7810b3258cddc8b69cb748..f42663eaf655b697a452ed944847c505a1ad0607 100644 (file)
@@ -114,6 +114,13 @@ extern struct group_info init_groups;
        .pid = &init_struct_pid,                                \
 }
 
+#ifdef CONFIG_AUDITSYSCALL
+#define INIT_IDS \
+       .loginuid = -1, \
+       .sessionid = -1,
+#else
+#define INIT_IDS
+#endif
 /*
  *  INIT_TASK is used to set up the first task table, touch at
  * your own risk!. Base=0, limit=0x1fffff (=2MB)
@@ -173,6 +180,7 @@ extern struct group_info init_groups;
                [PIDTYPE_SID]  = INIT_PID_LINK(PIDTYPE_SID),            \
        },                                                              \
        .dirties = INIT_PROP_LOCAL_SINGLE(dirties),                     \
+       INIT_IDS                                                        \
        INIT_TRACE_IRQFLAGS                                             \
        INIT_LOCKDEP                                                    \
 }