summaryrefslogtreecommitdiffstats
path: root/recipes-security/checksecurity/files/setuid-log-folder.patch
diff options
context:
space:
mode:
authorQi.Chen@windriver.com <Qi.Chen@windriver.com>2019-08-28 09:48:44 +0800
committerArmin Kuster <akuster808@gmail.com>2019-08-28 08:05:55 -0700
commit10ac9f8bff0cad508404ac22d66132115db02d8b (patch)
tree573e0c78b3c3b842485bf824797d02e15327a470 /recipes-security/checksecurity/files/setuid-log-folder.patch
parentbcbd10be8775785c2d03fc768a1f76a6c13ea8b8 (diff)
downloadmeta-security-10ac9f8bff0cad508404ac22d66132115db02d8b.tar.gz
ecryptfs-utils: fix race condition in do_install
The rootsbindir is a self-defined directory. The install-rootsbinPROGRAMS is actually treated as part of install-data instead of install-exec. Do making install-exec-am depend on it actually results in the following Makefile contents. install-data-am: install-rootsbinPROGRAMS install-exec-am: install-binPROGRAMS install-binSCRIPTS @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-exec-hook: install-rootsbinPROGRAMS And this results in race condition as two install commands of the same file running at the same time. Error message is like below. TOPDIR/tmp-glibc/hosttools/install: cannot create regular file 'TOPDIR/tmp-glibc/work/aarch64-wrs-linux/ecryptfs-utils/111-r0/image/sbin/mount.ecryptfs': File exists Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/checksecurity/files/setuid-log-folder.patch')
0 files changed, 0 insertions, 0 deletions