1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 /* openat-style fd-relative functions for SE Linux
4 Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 /* written by Jim Meyering */
23 #include "selinux-at.h"
33 #include "openat-priv.h"
35 #define AT_FUNC_NAME getfileconat
36 #define AT_FUNC_F1 getfilecon
37 #define AT_FUNC_POST_FILE_PARAM_DECLS , security_context_t *con
38 #define AT_FUNC_POST_FILE_ARGS , con
42 #undef AT_FUNC_POST_FILE_PARAM_DECLS
43 #undef AT_FUNC_POST_FILE_ARGS
45 #define AT_FUNC_NAME lgetfileconat
46 #define AT_FUNC_F1 lgetfilecon
47 #define AT_FUNC_POST_FILE_PARAM_DECLS , security_context_t *con
48 #define AT_FUNC_POST_FILE_ARGS , con
52 #undef AT_FUNC_POST_FILE_PARAM_DECLS
53 #undef AT_FUNC_POST_FILE_ARGS
55 #define AT_FUNC_NAME setfileconat
56 #define AT_FUNC_F1 setfilecon
57 #define AT_FUNC_POST_FILE_PARAM_DECLS , security_context_t con
58 #define AT_FUNC_POST_FILE_ARGS , con
62 #undef AT_FUNC_POST_FILE_PARAM_DECLS
63 #undef AT_FUNC_POST_FILE_ARGS
65 #define AT_FUNC_NAME lsetfileconat
66 #define AT_FUNC_F1 lsetfilecon
67 #define AT_FUNC_POST_FILE_PARAM_DECLS , security_context_t con
68 #define AT_FUNC_POST_FILE_ARGS , con
72 #undef AT_FUNC_POST_FILE_PARAM_DECLS
73 #undef AT_FUNC_POST_FILE_ARGS