Re: [PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode

2012-08-10 Thread Miklos Szeredi
v14 Thanks, Miklos >From 1182ebc7718994c66f3a966a90ed861aea2a5d01 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Thu, 9 Aug 2012 16:47:21 +0100 Subject: [PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode YAMA et al rely on on i_uid/i_gid to be populated in order to perfo

Re: [PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode

2012-08-10 Thread Miklos Szeredi
1182ebc7718994c66f3a966a90ed861aea2a5d01 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft a...@canonical.com Date: Thu, 9 Aug 2012 16:47:21 +0100 Subject: [PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode YAMA et al rely on on i_uid/i_gid to be populated in order to perform their checks

[PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode

2012-08-09 Thread Andy Whitcroft
YAMA et al rely on on i_uid/i_gid to be populated in order to perform their checks. While these really cannot be guarenteed as the underlying filesystem may not even have the concept, they are expected to be filled when possible. To quote Al Viro: "Ideally, yes, we'd want to have ->i_uid

[PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode

2012-08-09 Thread Andy Whitcroft
YAMA et al rely on on i_uid/i_gid to be populated in order to perform their checks. While these really cannot be guarenteed as the underlying filesystem may not even have the concept, they are expected to be filled when possible. To quote Al Viro: Ideally, yes, we'd want to have -i_uid used