- fs/exec.c | 18 +++++++---
- fs/namei.c | 86 +++++++++++++++++++++++++++++++++++++++++++++----
- fs/namespace.c | 2 +
- fs/nfs/dir.c | 4 +-
- fs/open.c | 62 +++++++++++++++++++++++------------
- fs/stat.c | 24 ++++++++++---
- include/linux/dcache.h | 3 +
- include/linux/fs.h | 8 ++++
- include/linux/namei.h | 56 ++++++++++++++++++++++++++-----
- kernel/ksyms.c | 8 ++++
- 10 files changed, 222 insertions(+), 49 deletions(-)
-
-.old..........pc/vfs_intent-2.6.3-suse/fs/exec.c
-.new.........fs/exec.c
Index: linux-2.6.3-20/fs/exec.c
===================================================================
--- linux-2.6.3-20.orig/fs/exec.c 2004-03-05 02:07:04.000000000 -0800
if (!IS_ERR(file)) {
err = deny_write_access(file);
if (err) {
-.old..........pc/vfs_intent-2.6.3-suse/fs/namei.c
-.new.........fs/namei.c
Index: linux-2.6.3-20/fs/namei.c
===================================================================
--- linux-2.6.3-20.orig/fs/namei.c 2004-03-05 02:07:04.000000000 -0800
res = link_path_walk(link, nd);
out:
if (current->link_count || res || nd->last_type!=LAST_NORM)
-.old..........pc/vfs_intent-2.6.3-suse/fs/namespace.c
-.new.........fs/namespace.c
Index: linux-2.6.3-20/fs/namespace.c
===================================================================
--- linux-2.6.3-20.orig/fs/namespace.c 2004-03-05 02:07:04.000000000 -0800
/* Discard magic */
if ((flags & MS_MGC_MSK) == MS_MGC_VAL)
flags &= ~MS_MGC_MSK;
-.old..........pc/vfs_intent-2.6.3-suse/fs/open.c
-.new.........fs/open.c
Index: linux-2.6.3-20/fs/open.c
===================================================================
--- linux-2.6.3-20.orig/fs/open.c 2004-03-05 02:07:04.000000000 -0800
/*
* Find an empty file descriptor entry, and mark it busy.
*/
-.old..........pc/vfs_intent-2.6.3-suse/fs/stat.c
-.new.........fs/stat.c
Index: linux-2.6.3-20/fs/stat.c
===================================================================
--- linux-2.6.3-20.orig/fs/stat.c 2004-03-05 02:07:04.000000000 -0800
fput(f);
}
return error;
-.old..........pc/vfs_intent-2.6.3-suse/fs/nfs/dir.c
-.new.........fs/nfs/dir.c
Index: linux-2.6.3-20/fs/nfs/dir.c
===================================================================
--- linux-2.6.3-20.orig/fs/nfs/dir.c 2004-03-05 02:07:03.000000000 -0800
/*
* The 0 argument passed into the create function should one day
-.old..........pc/vfs_intent-2.6.3-suse/fs/inode.c
-.new.........fs/inode.c
Index: linux-2.6.3-20/fs/inode.c
===================================================================
--- linux-2.6.3-20.orig/fs/inode.c 2004-03-05 02:07:04.000000000 -0800
/**
* clear_inode - clear an inode
* @inode: inode to clear
-.old..........pc/vfs_intent-2.6.3-suse/fs/super.c
-.new.........fs/super.c
Index: linux-2.6.3-20/fs/super.c
===================================================================
--- linux-2.6.3-20.orig/fs/super.c 2004-03-05 02:07:04.000000000 -0800
struct vfsmount *kern_mount(struct file_system_type *type)
{
return do_kern_mount(type->name, 0, type->name, NULL);
-.old..........pc/vfs_intent-2.6.3-suse/include/linux/dcache.h
-.new.........include/linux/dcache.h
Index: linux-2.6.3-20/include/linux/dcache.h
===================================================================
--- linux-2.6.3-20.orig/include/linux/dcache.h 2004-03-05 02:07:17.000000000 -0800
struct dentry_stat_t {
int nr_dentry;
int nr_unused;
-.old..........pc/vfs_intent-2.6.3-suse/include/linux/fs.h
-.new.........include/linux/fs.h
Index: linux-2.6.3-20/include/linux/fs.h
===================================================================
--- linux-2.6.3-20.orig/include/linux/fs.h 2004-03-05 02:07:17.000000000 -0800
extern int filp_close(struct file *, fl_owner_t id);
extern char * getname(const char __user *);
-.old..........pc/vfs_intent-2.6.3-suse/include/linux/namei.h
-.new.........include/linux/namei.h
Index: linux-2.6.3-20/include/linux/namei.h
===================================================================
--- linux-2.6.3-20.orig/include/linux/namei.h 2004-03-05 02:07:18.000000000 -0800
extern int follow_down(struct vfsmount **, struct dentry **);
extern int follow_up(struct vfsmount **, struct dentry **);
-.old..........pc/vfs_intent-2.6.3-suse/kernel/exit.c
-.new.........kernel/exit.c
Index: linux-2.6.3-20/kernel/exit.c
===================================================================
--- linux-2.6.3-20.orig/kernel/exit.c 2004-03-05 02:07:17.000000000 -0800