1customizable_types(5)        SELinux configuration       customizable_types(5)
2
3
4

NAME

6       customizable_types - The SELinux customizable types configuration file
7

DESCRIPTION

9       The  customizable_types  file contains a list of types that can be cus‐
10       tomised in some way by SELinux-aware applications.
11
12       Generally this is a file context type that is usually set on files that
13       need  to  be  shared  among certain domains and where the administrator
14       wants to manually manage the type.
15
16       The  use  of customizable types is deprecated as the preferred approach
17       is  to  use  semanage(8)  fcontext(8)  ...(8).   However, SELinux-aware
18       applications such as setfiles(8) will use this information to obtain  a
19       list of types relating to files that should not be relabeled.
20
21       selinux_customizable_types_path(3)  will  return the active policy path
22       to this file. The default customizable types file is:
23              /etc/selinux/{SELINUXTYPE}/contexts/customizable_types
24
25       Where {SELINUXTYPE} is the entry from the  selinux  configuration  file
26       config (see selinux_config(5)).
27
28       is_context_customizable(3) reads this file to determine if a context is
29       customisable or not for the active policy.
30

FILE FORMAT

32       Each line in the file consists of the following:
33              type
34
35       Where:
36              type
37                     The type defined in the policy that can be customised.
38

EXAMPLE

40       # ./contexts/customizable_types
41       mount_loopback_t
42       public_content_rw_t
43       public_content_t
44       swapfile_t
45       sysadm_untrusted_content_t
46

SEE ALSO

48       selinux(8), selinux_customizable_types_path(3),
49       is_context_customizable(3), semanage(8), setfiles(8), selinux_config(5)
50
51
52
53Security Enhanced Linux           28-Nov-2011            customizable_types(5)
Impressum