Hmm sorry. Now I see what you want. Not to rewalk. You can use the chan of the dirfd and walk just the remainder cloning it and creating a new one. That way the openat provides the guarantees you want. On Fri, Apr 5, 2024, 22:15 Gorka Guardiola wrote: > I mean, if you want a new syscall jus copy or call the implementation of > these. > > > On Fri, Apr 5, 2024, 22:12 Gorka Guardiola wrote: > >> ¿Isn't that fd2path, strcat and open? >> Or am I misunderstanding something? >> >> On Fri, Apr 5, 2024, 21:51 ron minnich wrote: >> >>> One of the folks I worked with, when we pulled a big chunk of plan 9 >>> into akaros, commented that he had implemented openat on akaros. >>> >>> I don't want this to turn into a debate on the merits of openat; I am >>> more curious: if you went to implement openat on Plan 9, how would you go >>> about it? I have a few ideas but I'm more interested in your ideas. >>> >>> Thanks >>> *9fans * / 9fans / see discussions >>> + participants >>> + delivery options >>> Permalink >>> >>> ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T675e737e776e5a9c-M43026122c2960e83ab07e80b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription