summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2004-06-17 17:56:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-17 17:56:32 -0700
commit84f4d297ef3006d84ff35a0cedab2720e0bb5fd0 (patch)
tree414348091f6c0ec4696e4f23990929b1e9de9635 /include/linux/sched.h
parent63e9e5dcebd3b22b5b9e6670a9231bf005d63e06 (diff)
[PATCH] RLIM: add sigpending field to user_struct
Add sigpending field to user_struct, and make sure it's properly initialized. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6d8d111ec6ac..d9d9377fd3ff 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -314,6 +314,7 @@ struct user_struct {
atomic_t __count; /* reference count */
atomic_t processes; /* How many processes does this user have? */
atomic_t files; /* How many open files does this user have? */
+ atomic_t sigpending; /* How many pending signals does this user have? */
/* Hash table maintenance information */
struct list_head uidhash_list;