Re: [PATCH 05/24] apparmor: Implement security hooks for the new mount API [ver #7]
From: David Howells
Date: Fri May 11 2018 - 08:20:51 EST
John Johansen <john.johansen@xxxxxxxxxxxxx> wrote:
> this looks good, and has pasted the testing that I have done so far. I
> have started on the work that will allow us to reorder the match but
> its not ready yet and shouldn't hold this up.
Excellent, thanks!
One thing to consider: Kent Overstreet mentioned the possibility of adding
support for multiple sources - something that his bcachefs would require.
>From the userspace PoV this could look something like:
fd = fsopen("bcachefs");
write(fd, "d /dev/sda1");
write(fd, "d /dev/sda2");
...
David