Re: [PATCH 18/33] Implement stat related syscalls

2023-08-08 Thread Richard Henderson
On 8/8/23 20:07, Warner Losh wrote: So, that's kinda why. I do agree with you that that would be a better structure, but can we use this structure for upstreaming and once we get the other issues worked out, we can do a restructure... We've moved things around a bit, and I'm also waiting for t

Re: [PATCH 18/33] Implement stat related syscalls

2023-08-08 Thread Warner Losh
On Tue, Aug 8, 2023 at 3:53 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 8/7/23 23:08, Karim Taha wrote: > > From: Stacey Son > > > > Implement the following syscalls: > > stat(2) > > lstat(2) > > fstat(2) > > fstatat(2) > > nstat > > nfstat > > nlstat > > > > Signed-off-by: S

Re: [PATCH 18/33] Implement stat related syscalls

2023-08-08 Thread Richard Henderson
On 8/7/23 23:08, Karim Taha wrote: From: Stacey Son Implement the following syscalls: stat(2) lstat(2) fstat(2) fstatat(2) nstat nfstat nlstat Signed-off-by: Stacey Son Signed-off-by: Karim Taha Why are all of these in os-stat.h instead of os-stat.c? Is this attempting to avoid clang's war

[PATCH 18/33] Implement stat related syscalls

2023-08-08 Thread Karim Taha
From: Stacey Son Implement the following syscalls: stat(2) lstat(2) fstat(2) fstatat(2) nstat nfstat nlstat Signed-off-by: Stacey Son Signed-off-by: Karim Taha --- bsd-user/freebsd/os-stat.h | 130 + 1 file changed, 130 insertions(+) create mode 100644 bsd