[PATCH][SRU][Disco] UBUNTU: SAUCE: shiftfs: use separate llseek method for directories
Seth Forshee
seth.forshee at canonical.com
Tue Apr 16 17:14:53 UTC 2019
On Tue, Apr 16, 2019 at 06:29:50PM +0200, Christian Brauner wrote:
> BugLink: https://bugs.launchpad.net/bugs/1824812
>
> Give shiftfs it's own proper llseek method for directories.
>
> Before this commit we used to rely on an llseek method that was targeted
> for regular files for both directories and regular files. Give
> directories their own llseek operation.
> This is required to have AppArmor function correctly with shiftfs.
>
> Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Looks good, fixes reproducer provivded by tyhicks.
Acked-by: Seth Forshee <seth.forshee at canonical.com>
More information about the kernel-team
mailing list