selinux/policycoreutils/newrole
Nicolas Iooss d1b49d833e policycoreutils: newrole: add missing defined in #if
When building newrole with gcc 5.3.0 and some warning flags, the
compiler reports:

  newrole.c:77:33: error: "NAMESPACE_PRIV" is not defined [-Werror=undef]
  #if defined(AUDIT_LOG_PRIV) || (NAMESPACE_PRIV)
                                  ^

Indeed, "defined" is missing here.  This nevertheless worked so far
because when NAMESPACE_PRIV was selected in the Makefile, newrole.c was
compiled with "-DNAMESPACE_PRIV", which defined NAMESPACE_PRIV to 1.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2016-02-01 08:54:30 -05:00
..
hashtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
hashtab.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
newrole-lspp.pamd initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
newrole.1 Add description of missing newrole parameter -p in newrole man page. 2016-01-12 08:39:14 -05:00
newrole.c policycoreutils: newrole: add missing defined in #if 2016-02-01 08:54:30 -05:00
newrole.pamd Give people who use run_init or newrole an indicator to make it not ask for passwords 2013-10-24 13:58:39 -04:00