blob: 381f769527f4da7d53ed00d92a6fb68c9c5073e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
module oslogin 1.0;
require {
attribute file_type;
attribute non_security_file_type;
type http_port_t;
type sshd_t;
class tcp_socket name_connect;
class file { create getattr setattr write open unlink };
class dir { search write remove_name add_name };
}
#============= types ==============
type google_t; # defined in oslogin.fc
typeattribute google_t file_type, non_security_file_type;
#============= sshd_t ==============
allow sshd_t google_t:file { create getattr setattr write open unlink };
allow sshd_t google_t:dir { search write remove_name add_name };
allow sshd_t http_port_t:tcp_socket name_connect;
|