projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
userns: Don't allow creation if the user is chrooted
[linux-2.6-block.git]
/
include
/
linux
/
fs_struct.h
diff --git
a/include/linux/fs_struct.h
b/include/linux/fs_struct.h
index 729eded4b24f09fa93b7f85b50aaca4b297fd2f9..2b93a9a5a1e6b8ef4a15a6aaf36ade3b48bd0d98 100644
(file)
--- a/
include/linux/fs_struct.h
+++ b/
include/linux/fs_struct.h
@@
-50,4
+50,6
@@
static inline void get_fs_root_and_pwd(struct fs_struct *fs, struct path *root,
spin_unlock(&fs->lock);
}
+extern bool current_chrooted(void);
+
#endif /* _LINUX_FS_STRUCT_H */