Linux DTrace development list
 help / color / mirror / Atom feed
* [PATCH] libcommon: disable _FORTIFY_SOURCE
@ 2024-04-25 16:40 Nick Alcock
  2024-04-25 16:55 ` Eugene Loh
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Alcock @ 2024-04-25 16:40 UTC (permalink / raw)
  To: dtrace; +Cc: dtrace-devel

This is incompatible with the dynamic-length-string trick we pull in
the DOF parser (which is in any case seccomp-jailed).

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
---
 libcommon/Build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcommon/Build b/libcommon/Build
index 50aa4ed88f8c3..fd54dc044f9af 100644
--- a/libcommon/Build
+++ b/libcommon/Build
@@ -8,6 +8,6 @@ LIBS += libcommon
 
 libcommon_TARGET = libcommon
 libcommon_DIR := $(current-dir)
-libcommon_CPPFLAGS := -Ilibcommon -Ilibproc
+libcommon_CPPFLAGS := -Ilibcommon -Ilibproc -U_FORTIFY_SOURCE
 libcommon_SOURCES = dof_parser.c dof_parser_host.c dt_list.c
 libcommon_LIBSOURCES = libcommon

base-commit: 6c5f67cc8ea1d694da8043c8f5aeb2f97b69997a
prerequisite-patch-id: 27ade1c234620c8ed86991c2311a7887e935e1c0
-- 
2.44.0.273.ge0bd14271f


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-26 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 16:40 [PATCH] libcommon: disable _FORTIFY_SOURCE Nick Alcock
2024-04-25 16:55 ` Eugene Loh
2024-04-26 11:30   ` Nick Alcock
2024-04-26 15:57     ` Eugene Loh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox