The header files are usually based on code from lib/. This commit copies relevant license headers from lib/ to include/ to keep things consistent. The very generic things (e.g. MBR definitions) are always public domain. Fixes: https://github.com/util-linux/util-linux/issues/2010 Signed-off-by: Karel Zak <kzak@redhat.com>
12 lines
413 B
C
12 lines
413 B
C
/*
|
|
* No copyright is claimed. This code is in the public domain; do with
|
|
* it what you wish.
|
|
*/
|
|
#ifndef UTIL_LINUX_SELINUX_UTILS_H
|
|
#define UTIL_LINUX_SELINUX_UTILS_H
|
|
|
|
extern int ul_setfscreatecon_from_file(char *orig_file);
|
|
extern int ul_selinux_has_access(const char *classstr, const char *perm, char **user_cxt);
|
|
extern int ul_selinux_get_default_context(const char *path, int st_mode, char **cxt);
|
|
|
|
#endif
|