summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2003-02-09 00:59:53 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-09 00:59:53 -0800
commite2e6adf5a135aeddf389174473984b7b61582c68 (patch)
tree6e66aedefa9469030c885654c4bcb8e1b8f896aa /include/linux
parent8397990bbd169416439f86e567d8fe130250c91f (diff)
[PATCH] Lock session and group ID setting
- session-IDs and group-IDs are set outside the tasklist lock. This causes breakage in the USB code. The correct fix is to do this: I introduced the bug with the new pidhash.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 975dd5dca713..c5ff8e452d49 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -503,6 +503,8 @@ extern struct task_struct init_task;
extern struct mm_struct init_mm;
extern struct task_struct *find_task_by_pid(int pid);
+extern void set_special_pids(pid_t session, pid_t pgrp);
+extern void __set_special_pids(pid_t session, pid_t pgrp);
/* per-UID process charging. */
extern struct user_struct * alloc_uid(uid_t);