Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75748
Collapse All | Expand All

(-)src/selinux_config.c (-2 / +2 lines)
Lines 55-62 static const uint16_t file_path_suffixes Link Here
55
};
55
};
56
56
57
/* Old layout had fixed locations. */
57
/* Old layout had fixed locations. */
58
#define SECURITYCONFIG "/etc/sysconfig/selinux"
58
#define SECURITYCONFIG "/etc/security/selinux/src/policy"
59
#define SECURITYDIR "/etc/security"
59
#define SECURITYDIR "/etc/security/selinux"
60
static const union compat_file_path_data {
60
static const union compat_file_path_data {
61
  struct {
61
  struct {
62
#define S_(n, s) char L1(__LINE__)[sizeof(s)];
62
#define S_(n, s) char L1(__LINE__)[sizeof(s)];
(-)src/compat_file_path.h (-10 / +10 lines)
Lines 1-11 Link Here
1
/* Compatibility file name suffixes.  */
1
/* Compatibility file name suffixes.  */
2
S_(BINPOLICY, SECURITYDIR "/selinux/policy")
2
S_(BINPOLICY, SECURITYDIR)
3
S_(CONTEXTS_DIR, SECURITYDIR)
3
S_(CONTEXTS_DIR, "/etc/security")
4
S_(FILE_CONTEXTS, SECURITYDIR "/selinux/file_contexts")
4
S_(FILE_CONTEXTS, SECURITYDIR "/file_contexts")
5
S_(DEFAULT_CONTEXTS, SECURITYDIR "/default_contexts")
5
S_(DEFAULT_CONTEXTS, "/etc/security/default_contexts")
6
S_(USER_CONTEXTS, SECURITYDIR "/default_contexts.user/")
6
S_(USER_CONTEXTS, SECURITYCONFIG "/user")
7
S_(FAILSAFE_CONTEXT, SECURITYDIR "/failsafe_context")
7
S_(FAILSAFE_CONTEXT, "/etc/security/failsafe_context")
8
S_(DEFAULT_TYPE, SECURITYDIR "/default_type")
8
S_(DEFAULT_TYPE, "/etc/security/default_type")
9
S_(BOOLEANS, SECURITYDIR "/booleans")
9
S_(BOOLEANS, SECURITYCONFIG "/booleans")
10
S_(MEDIA_CONTEXTS, SECURITYDIR "/default_media")
10
S_(MEDIA_CONTEXTS, "/etc/security/default_media")
11
S_(REMOVABLE_CONTEXT, SECURITYDIR "/removable_context")
11
S_(REMOVABLE_CONTEXT, "/etc/security/removable_context")

Return to bug 75748