diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-22 17:09:03 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-22 17:47:05 +0000 |
| commit | 5818ec11bfa765819cf25d5ff8dd89afcf480cf2 (patch) | |
| tree | 9cfa33cb2e75be79bffe3d8971e1d430c48b05b8 /util/nvmutil/include | |
| parent | c766c819b320c0b08cc0cb8e7b98b300a72e5806 (diff) | |
openat2 WIP
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include')
| -rw-r--r-- | util/nvmutil/include/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index 5803fa90..a118e5f0 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -491,7 +491,8 @@ int close_on_eintr(int fd); int fsync_on_eintr(int fd); int fs_resolve(const char *path, int flags); int fs_root_fd(void); -int fs_mkdir_p_at(int dirfd, const char *path, mode_t mode); +int fs_mkdir_p_at(int dirfd, const char *path, mode_t mode, + struct stat *st_dir_initial); int fs_resolve_at(int dirfd, const char *path, int flags); int fs_next_component(const char **p, char *name, size_t namesz); @@ -499,6 +500,8 @@ int fs_open_component(int dirfd, const char *name, int flags, int is_last); int fs_dirname_basename(const char *path, char **dir, char **base, int allow_relative); +int openat2p(int dirfd, const char *path, + int flags, mode_t mode); /* asserts */ |
