This file is indexed.

/usr/share/selinux/ubuntu/include/apps/lockdev.if is in selinux-policy-ubuntu-dev 0.2.20091117-0ubuntu2.

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
## <summary>device locking policy for lockdev</summary>

########################################
## <summary>
##	Role access for lockdev
## </summary>
## <param name="role">
##	<summary>
##	Role allowed access
##	</summary>
## </param>
## <param name="domain">
##	<summary>
##	User domain for the role
##	</summary>
## </param>
#
interface(`lockdev_role',`
	gen_require(`
		type lockdev_t, lockdev_exec_t;
		type lockdev_lock_t;
	')

	role $1 types lockdev_t;

	# Transition from the user domain to the derived domain.
	domtrans_pattern($2, lockdev_exec_t, lockdev_t)
	allow lockdev_t $2:process signull;

	# allow ps to show lockdev
	ps_process_pattern($2, lockdev_t)
	allow $2 lockdev_t:process signal;
')