* [PATCH] libtracefs: Do not install header as executable
@ 2020-12-23 15:48 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2020-12-23 15:48 UTC (permalink / raw)
To: Linux Trace Devel; +Cc: Jan Engelhardt
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
By default, install will set the mode of the files it installs as rwxr-xr-x,
but headers should not be executable. Set its mode to rw-r--r--.
Reported-by: Jan Engelhardt <ej+bko@inai.de>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210873
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5861d1f..10e78f6 100644
--- a/Makefile
+++ b/Makefile
@@ -244,7 +244,7 @@ endif # DESTDIR = ""
install_libs: libs install_pkgconfig
$(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)); \
cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ)
- $(Q)$(call do_install,$(src)/include/tracefs.h,$(includedir_SQ))
+ $(Q)$(call do_install,$(src)/include/tracefs.h,$(includedir_SQ),644)
$(Q)$(call install_ld_config)
install: install_libs
--
2.25.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-23 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-23 15:48 [PATCH] libtracefs: Do not install header as executable Steven Rostedt
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).