This file is indexed.

/etc/selinux/default/contexts/sepgsql_contexts is in selinux-policy-default 2:2.20180114-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Initial security label for SE-PostgreSQL (MCS)
#

# <databases>
db_database	*			system_u:object_r:sepgsql_db_t:s0

# <schemas>
db_schema	*.*			system_u:object_r:sepgsql_schema_t:s0

# <tables>
db_table	*.pg_catalog.*		system_u:object_r:sepgsql_sysobj_t:s0
db_table	*.*.*			system_u:object_r:sepgsql_table_t:s0

# <column>
db_column	*.pg_catalog.*.*	system_u:object_r:sepgsql_sysobj_t:s0
db_column	*.*.*.*			system_u:object_r:sepgsql_table_t:s0

# <sequences>
db_sequence	*.*.*			system_u:object_r:sepgsql_seq_t:s0

# <views>
db_view		*.*.*			system_u:object_r:sepgsql_view_t:s0

# <procedures>
db_procedure	*.*.*			system_u:object_r:sepgsql_proc_exec_t:s0

# <tuples>
db_tuple	*.pg_catalog.*		system_u:object_r:sepgsql_sysobj_t:s0
db_tuple	*.*.*			system_u:object_r:sepgsql_table_t:s0

# <blobs>
db_blob		*.*			system_u:object_r:sepgsql_blob_t:s0

# <language>
db_language	*.sql			system_u:object_r:sepgsql_safe_lang_t:s0
db_language	*.plpgsql		system_u:object_r:sepgsql_safe_lang_t:s0
db_language	*.pltcl			system_u:object_r:sepgsql_safe_lang_t:s0
db_language	*.plperl		system_u:object_r:sepgsql_safe_lang_t:s0
db_language	*.*			system_u:object_r:sepgsql_lang_t:s0