]>
Commit | Line | Data |
---|---|---|
8552b176 AK |
1 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ |
2 | ||
3 | #pragma once | |
4 | ||
5 | /*** | |
6 | This file is part of systemd. | |
7 | ||
8 | Copyright 2013 Intel Corporation | |
9 | ||
10 | Author: Auke Kok <auke-jan.h.kok@intel.com> | |
11 | ||
12 | systemd is free software; you can redistribute it and/or modify it | |
13 | under the terms of the GNU Lesser General Public License as published by | |
14 | the Free Software Foundation; either version 2.1 of the License, or | |
15 | (at your option) any later version. | |
16 | ||
17 | systemd is distributed in the hope that it will be useful, but | |
18 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
20 | Lesser General Public License for more details. | |
21 | ||
22 | You should have received a copy of the GNU Lesser General Public License | |
23 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
24 | ***/ | |
25 | ||
26 | #include <stdbool.h> | |
27 | ||
6baa7db0 | 28 | bool mac_smack_use(void); |
b9c1bc28 | 29 | |
5dfc5461 | 30 | int mac_smack_fix(const char *path, bool ignore_enoent, bool ignore_erofs); |
c80d766c LP |
31 | |
32 | int mac_smack_apply(const char *path, const char *label); | |
33 | int mac_smack_apply_fd(int fd, const char *label); | |
34 | int mac_smack_apply_ip_in_fd(int fd, const char *label); | |
35 | int mac_smack_apply_ip_out_fd(int fd, const char *label); |