blob: 6769efc38437f7f8712be34bcca82531840e6b3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <selinux/selinux.h>
extern int is_selinux_enabled(void)
{
/* always return 0; this way we don't trigger any SELINUX calls */
return 0;
}
/* this function gives failures when installing basic rpms in the root;
* so we fake it out as well */
extern int lsetfilecon(const char *path, security_context_t con)
{
return 0;
}
|