☰
Debian Codegraph
@
3.11-1
3.10-1
/
/
tests
/
policies
/
test-deps
/
modreq-bool-opt.conf
☽
☼
tests/policies/test-deps/modreq-bool-opt.conf
code
plain
raw
LGPL-2.1+
libsepol is; Copyright (C) 2003, 2004 Stephen Smalley <
[email protected]
>; Copyright (C) 2003-2007 Red Hat, Inc.; Copyright (C) 2004, 2005 Trusted Computer Solutions, Inc.; Copyright (C) 2003-2008, 2011 Tresys Technology, LLC; Copyright (C) 2017 Mellanox Techonolgies Inc.; Copyright (c) 2008 NEC Corporation
debian/copyright
1
module modreq_bool_opt 1.0;
2
3
require {
4
class file {read write};
5
6
}
7
8
type mod_global_t;
9
10
optional {
11
require {
12
bool bool_req;
13
}
14
15
type a_t;
16
type b_t;
17
type mod_opt_t;
18
19
if (bool_req) {
20
allow a_t b_t : file { read write };
21
}
22
}