libtracefs: Do not install header as executable
PATCH 1/1 libtracefs: Do not install header as executable
From: "Steven Rostedt (VMware)" <[email protected]>
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 <[email protected]>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210873
Signed-off-by Steven Rostedt (VMware) <[email protected]>
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -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
Signature · 1 line
2.25.4