diff options
author | Colin Walters <walters@verbum.org> | 2019-10-31 12:20:00 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2019-11-04 17:49:00 +0000 |
commit | 0cf0955acc5d27c86428e1dddae7652f267c2442 (patch) | |
tree | e18d77e7888fe3fc41469911f40c9eb27604ebd1 /glnx-fdio.h | |
parent | 41ecc5441f573b9b06d8dd360313e78047c11c45 (diff) | |
download | libglnx-0cf0955acc5d27c86428e1dddae7652f267c2442.tar.gz |
fdio: Add glnx_tmpfile_reopen_rdonly()
For fs-verity.
Diffstat (limited to 'glnx-fdio.h')
-rw-r--r-- | glnx-fdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glnx-fdio.h b/glnx-fdio.h index d97ea36..9c57dc5 100644 --- a/glnx-fdio.h +++ b/glnx-fdio.h @@ -111,6 +111,10 @@ glnx_link_tmpfile_at (GLnxTmpfile *tmpf, GError **error); gboolean +glnx_tmpfile_reopen_rdonly (GLnxTmpfile *tmpf, + GError **error); + +gboolean glnx_openat_rdonly (int dfd, const char *path, gboolean follow, |