diff mbox series

[2/3] findutils: upgrade 4.10.0 -> 4.11.0

Message ID 20260814140819.2840177-2-richard.purdie@linuxfoundation.org
State Under Review
Headers show
Series [1/3] bash-completion: upgrade 2.17.0 -> 2.18.0 | expand

Commit Message

Richard Purdie Aug. 14, 2026, 2:08 p.m. UTC
https://lists.gnu.org/archive/html/bug-findutils/2026-07/msg00050.html

* Noteworthy changes in release 4.11.0 (2026-07-11) [stable]

** Bug Fixes

  find no longer crashes when diagnosing a directory cycle (without a symlink
  being involved pointing to a parent directory).
  [Bug present since the FTS implementation.]

  'find -used' now behaves correctly on OpenBSD 7.8 with difftime(3) underflow
  bug in the C library (already fixed there) when the access time of a file is
  identical to its change time. [#68264]

  'find -ignore_readdir_race' now better handles races between FTS reading a
  directory and visiting its entries when the file or directory was meanwhile
  removed. [#45930]

  To fix a POSIX compatibility bug, -exec foo Z{} + is no longer a
  complete predicate, because '+' is only a terminator when it follows
  an argument which is exactly '{}'.  The findutils documentation
  already states this, and now find's behaviour matches the
  documentation. [#66365]

  'updatedb.sh' now properly handles the variables for the 'find' and 'frcode'
  utilities, and hence avoids command injection.

** Changes in find

  As announced since the release of 4.7.0 (2019) and mandated by POSIX 2024,
  the behaviour of the -mount option changed: while it was a mere alias for
  the -xdev option to prevent descending into directories of another device,
  the -mount option now makes find(1) ignore files on another device, i.e.,
  'find -mount' will skip the entry of active mount points already.
  Example, assuming the PROC filesystem is mounted on '/proc':
    $ find / -mount -path /proc -print
    $ find / -xdev -path /proc -print
    /proc
  [#54745]

  The actions -execdir and -okdir now refuse the '{}' replacement in the zeroth
  argument of the command to be run.  While POSIX allows this for -exec, this is
  deemed insecure as an attacker could influence which files could be found.

  'find -regex' with the default or the 'emacs' regextype now aligns better with
  Emacs behaviour, and therefore e.g. supports character classes:
    $ touch 123 && find -regex './12[[:digit:]]'
    ./123

  find now issues a warning when the punctuation operators '(', ')', '!' and ','
  are passed with a leading dash, e.g. '-!'.  Future releases will not accept
  that any more.  Accepting that was rather a bug "since the beginning".

** Improvements

  xargs now gives a better error diagnostic when executing the given command
  failed.

** Future Changes

  A future release will remove the warning message find prints about
  the 2007 change in the meaning of "-perm /000".  Everybody who is
  likely to care probably knows about this change by now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../findutils/{findutils_4.10.0.bb => findutils_4.11.0.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/findutils/{findutils_4.10.0.bb => findutils_4.11.0.bb} (90%)
diff mbox series

Patch

diff --git a/meta/recipes-extended/findutils/findutils_4.10.0.bb b/meta/recipes-extended/findutils/findutils_4.11.0.bb
similarity index 90%
rename from meta/recipes-extended/findutils/findutils_4.10.0.bb
rename to meta/recipes-extended/findutils/findutils_4.11.0.bb
index 91bb1be1708..aa5313e991e 100644
--- a/meta/recipes-extended/findutils/findutils_4.10.0.bb
+++ b/meta/recipes-extended/findutils/findutils_4.11.0.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 DEPENDS = "bison-native"
 
-SRC_URI[sha256sum] = "1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5"
+SRC_URI[sha256sum] = "bfd19cb06cc71f3352d567e90284d8cdac02ac89774bbeadf0b533b0c11432fd"
 
 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"