[PATCH] libtracefs: Do not install header as executable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>

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@xxxxxxx>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210873
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
---
 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




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux