diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8a4812c1c038..00e144117326 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -460,7 +460,7 @@ struct signal_struct { | |||
460 | 460 | ||
461 | /* ITIMER_REAL timer for the process */ | 461 | /* ITIMER_REAL timer for the process */ |
462 | struct hrtimer real_timer; | 462 | struct hrtimer real_timer; |
463 | struct task_struct *tsk; | 463 | struct pid *leader_pid; |
464 | ktime_t it_real_incr; | 464 | ktime_t it_real_incr; |
465 | 465 | ||
466 | /* ITIMER_PROF and ITIMER_VIRTUAL timers for the process */ | 466 | /* ITIMER_PROF and ITIMER_VIRTUAL timers for the process */ |
@@ -1332,9 +1332,8 @@ struct pid_namespace; | |||
1332 | * from various namespaces | 1332 | * from various namespaces |
1333 | * | 1333 | * |
1334 | * task_xid_nr() : global id, i.e. the id seen from the init namespace; | 1334 | * task_xid_nr() : global id, i.e. the id seen from the init namespace; |
1335 | * task_xid_vnr() : virtual id, i.e. the id seen from the namespace the task | 1335 | * task_xid_vnr() : virtual id, i.e. the id seen from the pid namespace of |
1336 | * belongs to. this only makes sence when called in the | 1336 | * current. |
1337 | * context of the task that belongs to the same namespace; | ||
1338 | * task_xid_nr_ns() : id seen from the ns specified; | 1337 | * task_xid_nr_ns() : id seen from the ns specified; |
1339 | * | 1338 | * |
1340 | * set_task_vxid() : assigns a virtual id to a task; | 1339 | * set_task_vxid() : assigns a virtual id to a task; |
@@ -1632,7 +1631,7 @@ extern struct task_struct *find_task_by_vpid(pid_t nr); | |||
1632 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, | 1631 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, |
1633 | struct pid_namespace *ns); | 1632 | struct pid_namespace *ns); |
1634 | 1633 | ||
1635 | extern void __set_special_pids(pid_t session, pid_t pgrp); | 1634 | extern void __set_special_pids(struct pid *pid); |
1636 | 1635 | ||
1637 | /* per-UID process charging. */ | 1636 | /* per-UID process charging. */ |
1638 | extern struct user_struct * alloc_uid(struct user_namespace *, uid_t); | 1637 | extern struct user_struct * alloc_uid(struct user_namespace *, uid_t); |
@@ -1687,11 +1686,9 @@ extern void block_all_signals(int (*notifier)(void *priv), void *priv, | |||
1687 | extern void unblock_all_signals(void); | 1686 | extern void unblock_all_signals(void); |
1688 | extern void release_task(struct task_struct * p); | 1687 | extern void release_task(struct task_struct * p); |
1689 | extern int send_sig_info(int, struct siginfo *, struct task_struct *); | 1688 | extern int send_sig_info(int, struct siginfo *, struct task_struct *); |
1690 | extern int send_group_sig_info(int, struct siginfo *, struct task_struct *); | ||
1691 | extern int force_sigsegv(int, struct task_struct *); | 1689 | extern int force_sigsegv(int, struct task_struct *); |
1692 | extern int force_sig_info(int, struct siginfo *, struct task_struct *); | 1690 | extern int force_sig_info(int, struct siginfo *, struct task_struct *); |
1693 | extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp); | 1691 | extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp); |
1694 | extern int kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp); | ||
1695 | extern int kill_pid_info(int sig, struct siginfo *info, struct pid *pid); | 1692 | extern int kill_pid_info(int sig, struct siginfo *info, struct pid *pid); |
1696 | extern int kill_pid_info_as_uid(int, struct siginfo *, struct pid *, uid_t, uid_t, u32); | 1693 | extern int kill_pid_info_as_uid(int, struct siginfo *, struct pid *, uid_t, uid_t, u32); |
1697 | extern int kill_pgrp(struct pid *pid, int sig, int priv); | 1694 | extern int kill_pgrp(struct pid *pid, int sig, int priv); |