[prev in list] [next in list] [prev in thread] [next in thread]
List: selinux
Subject: [PATCH 67/73] policycoreutils -- fix ftbfs with hardening flags fix ftbfs with hardening flags
From: Daniel J Walsh <dwalsh () redhat ! com>
Date: 2012-03-27 15:41:04
Message-ID: 4F71DF90.3000601 () redhat ! com
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9x35AACgkQrlYvE4MpobNXGQCdFi6vWHoo+cQRVVVr3b1h0cdg
ux4Anixs2AoSXDxZhsYpW37K+FrhfprV
=IBlq
-----END PGP SIGNATURE-----
["0067-policycoreutils-fix-ftbfs-with-hardening-flags.patch" (text/x-patch)]
From 3a5e494eb7c3accff2c80258290150373fe7b7f3 Mon Sep 17 00:00:00 2001
From: Laurent Bigonville <bigon@debian.org>
Date: Mon, 26 Mar 2012 17:43:41 +0200
Subject: [PATCH 67/73] policycoreutils -- fix ftbfs with hardening flags
Hi,
We are now building our packages with -Werror=format-security enabled.
The attached patch fix the FTBFS. More patch related to this could
follow.
Laurent
From: Laurent Bigonville <bigon@debian.org>
Date: Mon, 5 Mar 2012 22:45:58 +0100
Subject: fix ftbfs with hardening flags
Signed-off-by: Eric Paris <eparis@redhat.com>
---
policycoreutils/sandbox/seunshare.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/policycoreutils/sandbox/seunshare.c b/policycoreutils/sandbox/seunshare.c
index e15b2a5..3bb3c4b 100644
--- a/policycoreutils/sandbox/seunshare.c
+++ b/policycoreutils/sandbox/seunshare.c
@@ -295,8 +295,8 @@ static int seunshare_mount(const char *src, const char *dst, struct stat *src_st
*/
static int sandbox_error(const char *string)
{
- fprintf(stderr, string);
- syslog(LOG_AUTHPRIV | LOG_ALERT, string);
+ fprintf(stderr, "%s", string);
+ syslog(LOG_AUTHPRIV | LOG_ALERT, "%s", string);
exit(-1);
}
--
1.7.9.3
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic