lkml.org 
[lkml]   [2019]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 06/27] containers, vfs: Allow syscall dirfd arguments to take a container fd
Date
Eric W. Biederman <ebiederm@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

\
 
 \ /
  Last update: 2019-02-20 00:25    [W:0.270 / U:5.704 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site