Policy analysis tools for SELinux
Go to file
Petr Lautrbach fdd5e434b3 Do not use -Werror during build
There are new warnings when setools are built with gcc 7 therefore we
want to suppress -Werror for now

Fixes:
libqpol/policy_extend.c: In function ‘policy_extend’:
libqpol/policy_extend.c:161:27: error: ‘%04zd’ directive output may be truncated writing between 4 and 10 bytes into a region of size 5 [-Werror=format-truncation=]
    snprintf(buff, 9, "@ttr%04zd", i + 1);
                           ^~~~~
libqpol/policy_extend.c:161:22: note: directive argument in the range [1, 4294967295]
    snprintf(buff, 9, "@ttr%04zd", i + 1);
                      ^~~~~~~~~~~
In file included from /usr/include/stdio.h:939:0,
                 from /usr/include/sepol/policydb/policydb.h:53,
                 from libqpol/policy_extend.c:29:
/usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 9 and 15 bytes into a destination of size 9
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
2017-02-23 10:56:01 +01:00
.gitignore setools-4.1.0-1 2017-02-15 13:56:51 +01:00
0001-Do-not-use-Werror-during-build.patch Do not use -Werror during build 2017-02-23 10:56:01 +01:00
apol.console - add FALLBACK=true to /etc/security/console.apps/apol 2004-11-29 14:35:04 +00:00
apol.desktop Cleanup Destop files. 2013-09-16 13:53:46 -04:00
apol.png *** empty log message *** 2006-04-11 13:34:08 +00:00
seaudit.console add setools patch and new desktop tools 2004-09-27 20:01:22 +00:00
seaudit.desktop Cleanup Destop files. 2013-09-16 13:53:46 -04:00
seaudit.png *** empty log message *** 2006-04-11 13:34:08 +00:00
sediffx.console - Update to latest from tresys 2005-03-02 21:01:21 +00:00
sediffx.desktop Cleanup Destop files. 2013-09-16 13:53:46 -04:00
sediffx.png *** empty log message *** 2006-04-11 13:34:08 +00:00
setools.pam - use include instead of pam_stack in pam config 2005-10-10 11:52:45 +00:00
setools.spec Do not use -Werror during build 2017-02-23 10:56:01 +01:00
sources setools-4.1.0-1 2017-02-15 13:56:51 +01:00