diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs_struct.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h index a97c053d3a9a..18b467dbe278 100644 --- a/include/linux/fs_struct.h +++ b/include/linux/fs_struct.h | |||
| @@ -4,7 +4,10 @@ | |||
| 4 | #include <linux/path.h> | 4 | #include <linux/path.h> |
| 5 | 5 | ||
| 6 | struct fs_struct { | 6 | struct fs_struct { |
| 7 | atomic_t count; | 7 | atomic_t count; /* This usage count is used by check_unsafe_exec() for |
| 8 | * security checking purposes - therefore it may not be | ||
| 9 | * incremented, except by clone(CLONE_FS). | ||
| 10 | */ | ||
| 8 | rwlock_t lock; | 11 | rwlock_t lock; |
| 9 | int umask; | 12 | int umask; |
| 10 | struct path root, pwd; | 13 | struct path root, pwd; |
