From: Alon Levy <alevy@redhat.com>
To: qemu-devel@nongnu.org, kraxel@redhat.com
Subject: [Qemu-devel] [PATCH v9 5/5] (temp) FORTIFY_SOURCES hack
Date: Mon, 20 Aug 2012 16:26:21 +0300 [thread overview]
Message-ID: <1345469181-1708-5-git-send-email-alevy@redhat.com> (raw)
In-Reply-To: <1345469181-1708-1-git-send-email-alevy@redhat.com>
---
.gitmodules | 3 +++
compiler.h | 7 +++++++
spice-protocol | 1 +
3 files changed, 11 insertions(+)
create mode 160000 spice-protocol
diff --git a/.gitmodules b/.gitmodules
index eca876f..ba6844b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -19,3 +19,6 @@
[submodule "roms/sgabios"]
path = roms/sgabios
url = git://git.qemu.org/sgabios.git
+[submodule "spice-protocol"]
+ path = spice-protocol
+ url = git://git.freedesktop.org/git/spice/spice-protocol
diff --git a/compiler.h b/compiler.h
index 07ba1f8..622aeda 100644
--- a/compiler.h
+++ b/compiler.h
@@ -57,4 +57,11 @@
#define GCC_FMT_ATTR(n, m)
#endif
+/* Enable compile-time and run-time bounds-checking, and some warnings. */
+#ifdef __OPTIMIZE__
+#if __OPTIMIZE__
+# define _FORTIFY_SOURCE 2
+#endif
+#endif
+
#endif /* COMPILER_H */
diff --git a/spice-protocol b/spice-protocol
new file mode 160000
index 0000000..26cd194
--- /dev/null
+++ b/spice-protocol
@@ -0,0 +1 @@
+Subproject commit 26cd1946a5c959a53c78fa16f1b3e84a9682121b
--
1.7.11.2
next prev parent reply other threads:[~2012-08-20 13:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 13:26 [Qemu-devel] [PATCH v9 1/5] qxl/update_area_io: guest_bug on invalid parameters Alon Levy
2012-08-20 13:26 ` [Qemu-devel] [PATCH v9 2/5] qxl: disallow unknown revisions Alon Levy
2012-08-20 13:26 ` [Qemu-devel] [PATCH v9 3/5] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC Alon Levy
2012-08-20 19:52 ` Blue Swirl
2012-08-20 13:26 ` [Qemu-devel] [PATCH v9 4/5] configure: print spice-protocol and spice-server versions Alon Levy
2012-08-20 13:26 ` Alon Levy [this message]
2012-08-20 19:49 ` [Qemu-devel] [PATCH v9 5/5] (temp) FORTIFY_SOURCES hack Blue Swirl
2012-08-21 9:43 ` Alon Levy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345469181-1708-5-git-send-email-alevy@redhat.com \
--to=alevy@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).