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

From: David Howells
Date: Tue Feb 19 2019 - 18:24:29 EST


Eric W. Biederman <ebiederm@xxxxxxxxxxxx> 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