summaryrefslogtreecommitdiffstats
path: root/src/shared/env-file-label.h
blob: 5ba45e400578c006a034395603fae9e4a7f29186 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

/* These functions are split out of fileio.h (and not for example just flags to the functions they wrap) in order to
 * optimize linking: This way, -lselinux is needed only for the callers of these functions that need selinux, but not
 * for all */

int write_env_file_label(int dir_fd, const char *fname, char **headers, char **l);

int write_vconsole_conf_label(char **l);