History log of /external/selinux/secilc/secil2conf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ea175157dd312aba3c98b756aaf5d66fa00d4f9c 12-Apr-2017 James Carter <jwcart2@tycho.nsa.gov> secilc: Add options to control the expansion of attributes

Added "-G, --expand_generated" option to specify that all automatically
generated attributes should be expanded and removed.

Added "-X, --expand_size <SIZE>" option to specify which attributes
are expanded when building a kernel policy. All attributes that have
less types assigned to it than SIZE will be expanded when writing AV
rules.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/secilc/secil2conf.c
840a7c9180e26391869d8b0f4d01f0028a714f6a 05-Mar-2017 Nicolas Iooss <nicolas.iooss@m4x.org> secilc: add noreturn attribute to usage()

While at it, make usage() static and mark its argument as const.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/secilc/secil2conf.c
93e677d8307874a62712918698da174071a0ebe7 28-Nov-2016 James Carter <jwcart2@tycho.nsa.gov> secilc: Add secil2conf which creates a policy.conf from CIL policy

The program secil2conf uses the libsepol function
cil_write_policy_conf() to create a policy.conf file from CIL policy.

By default a file called "policy.conf" will be created, but the "-o"
option can be used to write to a different file. The "-M" option can
be used to override the mls statement in CIL. The "-P" option will
cause tunables to be treated as booleans.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/secilc/secil2conf.c