First  |  Prev |  Next  |  Last
Pages: 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
[PATCH 36/38] union-mount: Implement union-aware utimensat()
--- fs/utimes.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/fs/utimes.c b/fs/utimes.c index e4c75db..e83b6bd 100644 --- a/fs/utimes.c +++ b/fs/utimes.c @@ -8,8 +8,10 @@ #include <linux/stat.h> #include <linux/utime.h> #include <linux/syscalls.h> +#include <linu... 25 Jun 2010 15:22
[PATCH] Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
The initial pass at the generic ABI assumed that wait4() could be easily expressed using waitid(). Although it's true that wait4() can be built on waitid(), it's awkward enough that it makes more sense to continue to include wait4 in the generic syscall ABI. Since there is already a deprecated wait4 in the ABI, ... 25 Jun 2010 15:22
[PATCH 28/38] union-mount: Implement union-aware access()/faccessat()
For union mounts, a file located on the lower layer will incorrectly return EROFS on an access check. To fix this, use the new path_permission() call, which ignores a read-only lower layer file system if the target will be copied up to the topmost file system. --- fs/open.c | 21 +++++++++++++++++---- 1 files... 25 Jun 2010 15:22
[PATCH 23/38] union-mount: Call do_whiteout() on unlink and rmdir in unions
From: Jan Blunck <jblunck(a)suse.de> Call do_whiteout() when removing files and directories from a union mounted file system. Signed-off-by: Valerie Aurora <vaurora(a)redhat.com> --- fs/namei.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 3f969a... 25 Jun 2010 15:22
[PATCH 33/38] union-mount: Implement union-aware truncate()
--- fs/open.c | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/fs/open.c b/fs/open.c index 68c97dd..3c1ae55 100644 --- a/fs/open.c +++ b/fs/open.c @@ -230,14 +230,17 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, static long d... 25 Jun 2010 15:22
[PATCH 34/38] union-mount: Implement union-aware chmod()/fchmodat()
--- fs/open.c | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/fs/open.c b/fs/open.c index 3c1ae55..336fe01 100644 --- a/fs/open.c +++ b/fs/open.c @@ -669,18 +669,32 @@ out: SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) { ... 25 Jun 2010 15:22
[PATCH 32/38] union-mount: Implement union-aware chown()
--- fs/open.c | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/fs/open.c b/fs/open.c index 7f7958e..68c97dd 100644 --- a/fs/open.c +++ b/fs/open.c @@ -718,18 +718,35 @@ static int chown_common(struct path *path, uid_t user, gid_t group) SYSCALL_DEFINE3(chown, co... 25 Jun 2010 15:22
[PATCH 38/38] union-mount: Implement union-aware lsetxattr()
--- fs/xattr.c | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 66bb5c7..4e2b5f6 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -320,17 +320,36 @@ SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, size_t, size, int, f... 25 Jun 2010 15:22
[PATCH 29/38] union-mount: Implement union-aware link()
--- fs/namei.c | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 0a4abc7..399cb65 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2941,16 +2941,18 @@ SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname, { struct dentry... 25 Jun 2010 15:22
[PATCH 31/38] union-mount: Implement union-aware writable open()
Copy up a file when opened with write permissions. Does not copy up the file data when O_TRUNC is specified. --- fs/namei.c | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 6662dda..9a3ba52 100644 --- a/fs/namei.c +++ b/fs/name... 25 Jun 2010 15:22
First  |  Prev |  Next  |  Last
Pages: 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897