selinux/checkpolicy
Harry Ciao 80f26c5ee8 checkpolicy: Separate tunable from boolean during compile.
Both boolean and tunable keywords are processed by define_bool_tunable(),
argument 0 and 1 would be passed for boolean and tunable respectively.
For tunable, a TUNABLE flag would be set in cond_bool_datum_t.flags.

Note, when creating an if-else conditional we can not know if the
tunable identifier is indeed a tunable(for example, a boolean may be
misused in tunable_policy() or vice versa), thus the TUNABLE flag
for cond_node_t would be calculated and used in expansion when all
booleans/tunables copied during link.

Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2011-09-16 11:54:01 -04:00
..
test checkpolicy: fix spacing in output message 2011-08-26 14:27:56 -04:00
.gitignore Repo: update .gitignore 2011-08-02 13:31:51 -04:00
ChangeLog update changelog and versions for 2011-08-26 2011-08-26 15:11:58 -04:00
checkmodule.8 checkmodule: Add note to checkmodule man page about old versions 2011-08-02 13:32:45 -04:00
checkmodule.c Author: Daniel J Walsh 2010-06-14 14:44:44 -04:00
checkpolicy.8 Patch for Ticket #1 [1672486] (checkpolicy/checkmodule) 2009-11-27 13:39:03 -05:00
checkpolicy.c Patch for Ticket #1 [1672486] (checkpolicy/checkmodule) 2009-11-27 13:39:03 -05:00
checkpolicy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module_compiler.c checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
module_compiler.h checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
parse_util.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
parse_util.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policy_define.c checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
policy_define.h checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
policy_parse.y checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
policy_scan.l checkpolicy: Separate tunable from boolean during compile. 2011-09-16 11:54:01 -04:00
queue.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
queue.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
VERSION update changelog and versions for 2011-08-26 2011-08-26 15:11:58 -04:00