selinux/policycoreutils
Nicolas Iooss 3642a57cd0 policycoreutils/hll/pp: add printf format attribute to relevant functions
log_err, cil_printf and cil_println use printf formats to process their
arguments.  Use __attribute__((format(printf,...))) to make "gcc
-Wformat -Wformat-security" detect issues.

This detected this issue several times on a x86_64 system:

  format '%lx' expects argument of type 'long unsigned int', but
  argument has type 'uint32_t'

Fix this by introducing an explicit cast to unsigned long.

While at it, constify the format string argument of each function.

Acked-by: Steve Lawrence <slawrence@tresys.com>
2014-10-02 09:56:00 -04:00
..
.tx Update Translations 2013-10-24 13:58:39 -04:00
audit2allow selinux_current_policy_path will return none on a disabled SELinux system 2013-11-13 11:07:21 -05:00
gui Fix up desktop files to match current standards 2013-11-08 15:50:59 -05:00
hll policycoreutils/hll/pp: add printf format attribute to relevant functions 2014-10-02 09:56:00 -04:00
load_policy Minor manpages improvements 2013-11-06 09:36:33 -05:00
man Merge branch 'fedora' into master-merge 2013-10-24 15:24:17 -04:00
mcstrans policycoreutils: mcstrans: use string_to_av_perm() to calculate permission access vector 2014-08-29 09:19:50 -04:00
newrole Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
po Update Translations 2013-10-24 13:58:39 -04:00
restorecond Fix up desktop files to match current standards 2013-11-08 15:50:59 -05:00
run_init Merge branch 'fedora' into master-merge 2013-10-24 15:24:17 -04:00
sandbox policycoreutils/sandbox: fix debug build 2014-10-02 09:55:53 -04:00
scripts Minor manpages improvements 2013-11-06 09:36:33 -05:00
secon Minor manpages improvements 2013-11-06 09:36:33 -05:00
semanage policycoreutils: semanage: update to new source policy infrastructure 2014-08-26 08:03:31 -04:00
semodule policycoreutils: add semodule option to set store root path 2014-08-26 08:03:31 -04:00
semodule_deps Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
semodule_expand tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
semodule_link tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
semodule_package policycoreutils/semodule_package: fix debug build 2014-10-02 09:55:57 -04:00
sepolgen-ifgen tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
sepolicy Add new icons for sepolicy gui 2013-11-13 11:07:17 -05:00
sestatus Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
setfiles Minor manpages improvements 2013-11-06 09:36:33 -05:00
setsebool Cleanup whitespace 2013-11-08 15:52:11 -05:00
.gitignore policycoreutils: add a HLL compiler to convert policy packages (.pp) to CIL 2014-08-26 08:03:31 -04:00
ChangeLog Bump versions for r2 2014-08-27 11:47:04 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile policycoreutils: add a HLL compiler to convert policy packages (.pp) to CIL 2014-08-26 08:03:31 -04:00
VERSION Bump versions for r2 2014-08-27 11:47:04 -04:00