From: Mike Frysinger Date: Mon, 24 Sep 2012 23:39:38 +0000 (-0400) Subject: xfstests: install shared libs with +x bits X-Git-Tag: v2022.05.01~3580 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=ebc2cf34a710d3f9929f891c8a65b008e157c708;ds=inline xfstests: install shared libs with +x bits These are shared libs w/executable code, so make sure they have +x bits set on them. Some kernels will proactively disallow executable mmaps if the files lack +x bits. It's also the right thing to do. Signed-off-by: Mike Frysinger Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- diff --git a/include/buildmacros b/include/buildmacros index 5eb24f2e..b80b534c 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -54,7 +54,7 @@ ifeq ($(ENABLE_SHARED),yes) INSTALL_LTLIB = \ cd $(TOPDIR)/$(LIBNAME)/.libs; \ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ - ../$(INSTALL) -m 644 -T so_dot_version $(LIBNAME).lai $(PKG_LIB_DIR); \ + ../$(INSTALL) -m 755 -T so_dot_version $(LIBNAME).lai $(PKG_LIB_DIR); \ ../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_LIB_DIR) endif