Re: [PATCH] fs: overlayfs: override creds with the ones from the superblock mounter (fwd)

2016-04-07 Thread Julia Lawall
The goto out_free_oe on line 1119 looks problematic. julia -- Forwarded message -- Date: Thu, 7 Apr 2016 21:31:44 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re: [PATCH] fs: overlayfs: override creds with the ones from the superblock mounter

[PATCH] fs: overlayfs: override creds with the ones from the superblock mounter

2016-04-07 Thread Antonio Murdaca
In user namespace the whiteout creation fails with -EPERM because the current process isn't capable(CAP_SYS_ADMIN) when setting xattr. A simple reproducer: $ mkdir upper lower work merged lower/dir $ sudo mount -t overlay overlay -olowerdir=lower,upperdir=upper,workdir=work merged $ unshare -m -