diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index ff48815bd3a2..dec5827c7742 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -410,6 +410,10 @@ struct user_struct { | |||
| 410 | atomic_t processes; /* How many processes does this user have? */ | 410 | atomic_t processes; /* How many processes does this user have? */ |
| 411 | atomic_t files; /* How many open files does this user have? */ | 411 | atomic_t files; /* How many open files does this user have? */ |
| 412 | atomic_t sigpending; /* How many pending signals does this user have? */ | 412 | atomic_t sigpending; /* How many pending signals does this user have? */ |
| 413 | #ifdef CONFIG_INOTIFY | ||
| 414 | atomic_t inotify_watches; /* How many inotify watches does this user have? */ | ||
| 415 | atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ | ||
| 416 | #endif | ||
| 413 | /* protected by mq_lock */ | 417 | /* protected by mq_lock */ |
| 414 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ | 418 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ |
| 415 | unsigned long locked_shm; /* How many pages of mlocked shm ? */ | 419 | unsigned long locked_shm; /* How many pages of mlocked shm ? */ |
