Re: [PATCH 13/22] bsd-user/bsd-file.h: Implementation details for the filesystem calls

2022-02-26 Thread Warner Losh
On Tue, Feb 1, 2022 at 10:43 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 2/1/22 22:14, Warner Losh wrote: > > +#ifndef BSD_FILE_H_ > > +#define BSD_FILE_H_ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#incl

Re: [PATCH 13/22] bsd-user/bsd-file.h: Implementation details for the filesystem calls

2022-02-01 Thread Warner Losh
On Tue, Feb 1, 2022 at 10:43 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 2/1/22 22:14, Warner Losh wrote: > > +#ifndef BSD_FILE_H_ > > +#define BSD_FILE_H_ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#incl

Re: [PATCH 13/22] bsd-user/bsd-file.h: Implementation details for the filesystem calls

2022-02-01 Thread Richard Henderson
On 2/1/22 22:14, Warner Losh wrote: +#ifndef BSD_FILE_H_ +#define BSD_FILE_H_ + +#include +#include +#include +#include +#include +#include +#include +#include Many of these should be done by "qemu/osdep.h" already. Otherwise I question putting them into this header, as opposed to as

Re: [PATCH 13/22] bsd-user/bsd-file.h: Implementation details for the filesystem calls

2022-02-01 Thread Kyle Evans
On Tue, Feb 1, 2022 at 5:15 AM Warner Losh wrote: > > An include file that pulls in all the definitions needed for the file > related system calls. This also includes the host definitions to > implement the system calls and some helper routines to lock/unlock > different aspects of the system call

[PATCH 13/22] bsd-user/bsd-file.h: Implementation details for the filesystem calls

2022-02-01 Thread Warner Losh
An include file that pulls in all the definitions needed for the file related system calls. This also includes the host definitions to implement the system calls and some helper routines to lock/unlock different aspects of the system call arguments. Signed-off-by: Warner Losh --- bsd-user/bsd-fi