[RFC PATCH 06/27] containers, vfs: Allow syscall dirfd arguments to take a container fd

David Howells dhowells at redhat.com
Tue Feb 19 23:24:21 UTC 2019


Eric W. Biederman <ebiederm at xmission.com> wrote:

> In fact if you take care to use a path that starts with '/' the normal
> dirfd based operations work just fine.

If the path starts with '/', dirfd is ignored.  And there's an error in my
patch description - it should be:

 	mkdirat(cfd, "fred", 0755);

David



More information about the Linux-security-module-archive mailing list