aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index dbb1043e8656..ff687281f233 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1267,7 +1267,9 @@ struct task_struct {
1267 * credentials (COW) */ 1267 * credentials (COW) */
1268 const struct cred *cred; /* effective (overridable) subjective task 1268 const struct cred *cred; /* effective (overridable) subjective task
1269 * credentials (COW) */ 1269 * credentials (COW) */
1270 struct mutex cred_exec_mutex; /* execve vs ptrace cred calculation mutex */ 1270 struct mutex cred_guard_mutex; /* guard against foreign influences on
1271 * credential calculations
1272 * (notably. ptrace) */
1271 1273
1272 char comm[TASK_COMM_LEN]; /* executable name excluding path 1274 char comm[TASK_COMM_LEN]; /* executable name excluding path
1273 - access with [gs]et_task_comm (which lock 1275 - access with [gs]et_task_comm (which lock
@@ -1905,6 +1907,7 @@ extern void sched_dead(struct task_struct *p);
1905 1907
1906extern void proc_caches_init(void); 1908extern void proc_caches_init(void);
1907extern void flush_signals(struct task_struct *); 1909extern void flush_signals(struct task_struct *);
1910extern void __flush_signals(struct task_struct *);
1908extern void ignore_signals(struct task_struct *); 1911extern void ignore_signals(struct task_struct *);
1909extern void flush_signal_handlers(struct task_struct *, int force_default); 1912extern void flush_signal_handlers(struct task_struct *, int force_default);
1910extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info); 1913extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info);