X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Finternal.h;h=b4dac4fb6b61fbff06d9357d9c75415bbab0a3ac;hb=1aa2a7cc6fd7b5c86681a6ae9dfd1072c261a435;hp=0d8ac497b3d552315b56e53c95f3f0440f59e45d;hpb=fe506d6bc5d7b9c0c1d630eecb32241c1d362462;p=pandora-kernel.git diff --git a/fs/internal.h b/fs/internal.h index 0d8ac497b3d5..b4dac4fb6b61 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -11,6 +11,7 @@ struct super_block; struct linux_binprm; +struct path; /* * block_dev.c @@ -43,7 +44,7 @@ extern void __init chrdev_init(void); /* * exec.c */ -extern void check_unsafe_exec(struct linux_binprm *, struct files_struct *); +extern int check_unsafe_exec(struct linux_binprm *); /* * namespace.c @@ -60,3 +61,8 @@ extern void umount_tree(struct vfsmount *, int, struct list_head *); extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); extern void __init mnt_init(void); + +/* + * fs_struct.c + */ +extern void chroot_fs_refs(struct path *, struct path *);