tst: passthrough-fuse: BSD flags support

This commit is contained in:
Bill Zissimopoulos
2017-11-14 14:25:17 -08:00
parent 41b54ef57a
commit efc93cacd3
3 changed files with 49 additions and 2 deletions

View File

@@ -27,6 +27,7 @@
#define O_TRUNC _O_TRUNC
#define PATH_MAX 1024
#define AT_FDCWD -2
typedef struct _DIR DIR;
struct dirent
@@ -53,6 +54,7 @@ int lchown(const char *path, fuse_uid_t uid, fuse_gid_t gid);
int lchflags(const char *path, uint32_t flags);
int truncate(const char *path, fuse_off_t size);
int utime(const char *path, const struct fuse_utimbuf *timbuf);
int utimensat(int dirfd, const char *path, const struct fuse_timespec times[2]);
int unlink(const char *path);
int rename(const char *oldpath, const char *newpath);