summaryrefslogtreecommitdiff
path: root/src/shared/fileio-label.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-13 21:10:38 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-13 21:11:07 -0400
commitf7f628b5db770feb8b18990436baefaec55c460b (patch)
tree2c660c583d95d07b1b53f985ed82a9a7583a74bf /src/shared/fileio-label.h
parenta334cbba7222d3d7d886c17c828fa4227c656535 (diff)
Add function to open temp files in selinux mode
Diffstat (limited to 'src/shared/fileio-label.h')
-rw-r--r--src/shared/fileio-label.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/fileio-label.h b/src/shared/fileio-label.h
index fce4fe0d73..25fa351be2 100644
--- a/src/shared/fileio-label.h
+++ b/src/shared/fileio-label.h
@@ -27,3 +27,5 @@
int write_string_file_atomic_label(const char *fn, const char *line);
int write_env_file_label(const char *fname, char **l);
+int fopen_temporary_label(const char *target,
+ const char *path, FILE **f, char **temp_path);