Bug 210873 - libtracefs: +x bit set on installed headers
Summary: libtracefs: +x bit set on installed headers
Status: RESOLVED CODE_FIX
Alias: None
Product: Tools
Classification: Unclassified
Component: Trace-cmd/Kernelshark (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Default virtual assignee for Trace-cmd and kernelshark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-23 11:10 UTC by Jan Engelhardt
Modified: 2021-03-10 22:34 UTC (History)
1 user (show)

See Also:
Kernel Version: libtracefs 1.0.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Do not install header as executable (1.07 KB, patch)
2020-12-23 15:47 UTC, Steven Rostedt
Details | Diff

Description Jan Engelhardt 2020-12-23 11:10:12 UTC
The +x bit is set on headers.

» make install DESTDIR=$PWD/rt
  COMPILE FPIC       tracefs-utils.o
  COMPILE FPIC       tracefs-instance.o
  COMPILE FPIC       tracefs-events.o
  BUILD STATIC LIB   libtracefs.a
  COMPILE SHARED LIB libtracefs.so.1.0.0
  UPDATE             build_prefix
  INSTALL     ~/libtracefs-1.0.0/libtracefs.pc   to      ~/libtracefs-1.0.0/rt/usr/lib64/pkgconfig
  INSTALL     ~/libtracefs-1.0.0/lib/tracefs/libtracefs.so.1.0.0 to     ~/libtracefs-1.0.0/rt/usr/local/lib64
  INSTALL     ~/libtracefs-1.0.0/include/tracefs.h       to      ~/libtracefs-1.0.0/rt/usr/local/include/tracefs

» ls -l rt/usr/local/include/tracefs/tracefs.h
-rwxr-xr-x 1 jengelh users 2279 Dec 23 12:09 rt/usr/local/include/tracefs/tracefs.h
Comment 1 Steven Rostedt 2020-12-23 15:47:29 UTC
Created attachment 294321 [details]
Do not install header as executable
Comment 2 Steven Rostedt 2021-03-10 22:34:01 UTC
Fixed by 9bd207222b ("libtracefs: Do not install header as executable")

Note You need to log in before you can comment on or make changes to this bug.