aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r--include/linux/init_task.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 21a6f5d9af22..b1ed1cd8e2a8 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -32,14 +32,6 @@ extern struct fs_struct init_fs;
32} 32}
33 33
34extern struct nsproxy init_nsproxy; 34extern struct nsproxy init_nsproxy;
35#define INIT_NSPROXY(nsproxy) { \
36 .pid_ns = &init_pid_ns, \
37 .count = ATOMIC_INIT(1), \
38 .uts_ns = &init_uts_ns, \
39 .mnt_ns = NULL, \
40 INIT_NET_NS(net_ns) \
41 INIT_IPC_NS(ipc_ns) \
42}
43 35
44#define INIT_SIGHAND(sighand) { \ 36#define INIT_SIGHAND(sighand) { \
45 .count = ATOMIC_INIT(1), \ 37 .count = ATOMIC_INIT(1), \
@@ -83,16 +75,12 @@ extern struct group_info init_groups;
83#define INIT_IDS 75#define INIT_IDS
84#endif 76#endif
85 77
86#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
87/* 78/*
88 * Because of the reduced scope of CAP_SETPCAP when filesystem 79 * Because of the reduced scope of CAP_SETPCAP when filesystem
89 * capabilities are in effect, it is safe to allow CAP_SETPCAP to 80 * capabilities are in effect, it is safe to allow CAP_SETPCAP to
90 * be available in the default configuration. 81 * be available in the default configuration.
91 */ 82 */
92# define CAP_INIT_BSET CAP_FULL_SET 83# define CAP_INIT_BSET CAP_FULL_SET
93#else
94# define CAP_INIT_BSET CAP_INIT_EFF_SET
95#endif
96 84
97#ifdef CONFIG_TREE_PREEMPT_RCU 85#ifdef CONFIG_TREE_PREEMPT_RCU
98#define INIT_TASK_RCU_PREEMPT(tsk) \ 86#define INIT_TASK_RCU_PREEMPT(tsk) \
@@ -169,7 +157,7 @@ extern struct cred init_cred;
169 .journal_info = NULL, \ 157 .journal_info = NULL, \
170 .cpu_timers = INIT_CPU_TIMERS(tsk.cpu_timers), \ 158 .cpu_timers = INIT_CPU_TIMERS(tsk.cpu_timers), \
171 .fs_excl = ATOMIC_INIT(0), \ 159 .fs_excl = ATOMIC_INIT(0), \
172 .pi_lock = __SPIN_LOCK_UNLOCKED(tsk.pi_lock), \ 160 .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(tsk.pi_lock), \
173 .timer_slack_ns = 50000, /* 50 usec default slack */ \ 161 .timer_slack_ns = 50000, /* 50 usec default slack */ \
174 .pids = { \ 162 .pids = { \
175 [PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \ 163 [PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \