mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: [PATCH] sanitize locate_fd() [PATCH] sanitize unshare_files/reset_files_struct [PATCH] sanitize handling of shared descriptor tables in failing execve() [PATCH] close race in unshare_files() [PATCH] restore sane ->umount_begin() API cifs: timeout dfs automounts +little fix.
This commit is contained in:
commit
bc84e0a160
16 changed files with 95 additions and 172 deletions
|
|
@ -117,7 +117,8 @@ struct task_struct;
|
|||
|
||||
struct files_struct *get_files_struct(struct task_struct *);
|
||||
void put_files_struct(struct files_struct *fs);
|
||||
void reset_files_struct(struct task_struct *, struct files_struct *);
|
||||
void reset_files_struct(struct files_struct *);
|
||||
int unshare_files(struct files_struct **);
|
||||
|
||||
extern struct kmem_cache *files_cachep;
|
||||
|
||||
|
|
|
|||
|
|
@ -1309,7 +1309,7 @@ struct super_operations {
|
|||
int (*statfs) (struct dentry *, struct kstatfs *);
|
||||
int (*remount_fs) (struct super_block *, int *, char *);
|
||||
void (*clear_inode) (struct inode *);
|
||||
void (*umount_begin) (struct vfsmount *, int);
|
||||
void (*umount_begin) (struct super_block *);
|
||||
|
||||
int (*show_options)(struct seq_file *, struct vfsmount *);
|
||||
int (*show_stats)(struct seq_file *, struct vfsmount *);
|
||||
|
|
@ -2034,9 +2034,6 @@ static inline ino_t parent_ino(struct dentry *dentry)
|
|||
return res;
|
||||
}
|
||||
|
||||
/* kernel/fork.c */
|
||||
extern int unshare_files(void);
|
||||
|
||||
/* Transaction based IO helpers */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue