diff options
| author | Konstantin Khlebnikov <koct9i@gmail.com> | 2016-01-31 16:21:29 +0300 |
|---|---|---|
| committer | Miklos Szeredi <miklos@szeredi.hu> | 2016-03-03 19:17:46 +0300 |
| commit | b81de061fa59f17d2730aabb1b84419ef3913810 (patch) | |
| tree | d861fedc4ab91b88d225fff34f292bd7c465f6d2 /lib/net_utils.c | |
| parent | 45d11738969633ec07ca35d75d486bf2d8918df6 (diff) | |
| download | linux-b81de061fa59f17d2730aabb1b84419ef3913810.tar.xz | |
ovl: copy new uid/gid into overlayfs runtime inode
Overlayfs must update uid/gid after chown, otherwise functions
like inode_owner_or_capable() will check user against stale uid.
Catched by xfstests generic/087, it chowns file and calls utimes.
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
