diff --git a/bash.spec b/bash.spec index 3a2b51181d4df899908f01769597b514788c1352..c1feecde7cb137b1a4c171cd19811dc07c453bed 100644 --- a/bash.spec +++ b/bash.spec @@ -2,7 +2,7 @@ Name: bash Version: 5.2.15 -Release: 11 +Release: 13 Summary: It is the Bourne Again Shell License: GPLv3 URL: https://www.gnu.org/software/bash @@ -168,6 +168,9 @@ make check %exclude %{_infodir}/dir %changelog +* Wed Nov 20 2024 wangyuhang -5.2.15-12 +- remove the log message for failing to open cmdline, and reset errno to 0 + * Fri Nov 15 2024 wangyuhang -5.2.15-11 - the mayexec function no longer checks cmdline each time that verifies whether a script are allowed to run diff --git a/only-scripts-verified-by-execveat-are-allowed-to-run.patch b/only-scripts-verified-by-execveat-are-allowed-to-run.patch index 903b39ca2cee55c4efe5759f232c47d637345180..9d53bbfc281f8f111dce5ca7cfc816402ba689d5 100644 --- a/only-scripts-verified-by-execveat-are-allowed-to-run.patch +++ b/only-scripts-verified-by-execveat-are-allowed-to-run.patch @@ -59,7 +59,7 @@ index 19b00c4..287e6da 100644 + + file = fopen("/proc/cmdline", "r"); + if (!file) { -+ perror("Error opening /proc/cmdline"); ++ errno = 0; + return 0; + } +