lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231229030654.17474-1-richard.weiyang@gmail.com>
Date: Fri, 29 Dec 2023 03:06:51 +0000
From: Wei Yang <richard.weiyang@...il.com>
To: gregkh@...uxfoundation.org,
	masahiroy@...nel.org,
	nicolas@...sle.eu
Cc: linux-kernel@...r.kernel.org,
	Wei Yang <richard.weiyang@...il.com>,
	Guennadi Liakhovetski <g.liakhovetski@....de>,
	WANG Cong <xiyou.wangcong@...il.com>,
	Michal Marek <mmarek@...e.cz>
Subject: [PATCH 1/4] scripts/tags.sh: use more portable -path instead of -wholename

According to the manual, -path is more portable than -wholename. Also
for consistency, let's use -path here.

Signed-off-by: Wei Yang <richard.weiyang@...il.com>
CC: Guennadi Liakhovetski <g.liakhovetski@....de>
CC: WANG Cong <xiyou.wangcong@...il.com>
CC: Michal Marek <mmarek@...e.cz>

merg
---
 scripts/tags.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index a70d43723146..fbae1a087ee1 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -50,7 +50,7 @@ fi
 find_arch_sources()
 {
 	for i in $archincludedir; do
-		prune="$prune -wholename $i -prune -o"
+		prune="$prune ( -path $i ) -prune -o"
 	done
 	find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print;
 }
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ