]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/tmpfile-util-label.c
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 #include "selinux-util.h"
6 #include "tmpfile-util-label.h"
7 #include "tmpfile-util.h"
9 int fopen_temporary_label(
17 r
= mac_selinux_create_file_prepare(target
, S_IFREG
);
21 r
= fopen_temporary(path
, f
, temp_path
);
23 mac_selinux_create_file_clear();