<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in remove-stale-files</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>3b70b66e - selinux: move genheaders to security/selinux/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#3b70b66e</link>
        <description>selinux: move genheaders to security/selinux/This tool is only used in security/selinux/Makefile.Move it to security/selinux/ so that &apos;make clean&apos; can clean it up.Please note &apos;make clean&apos; does not clean scripts/ because tools underscripts/ are often used for external module builds. Obviously, genheadersis not the case here.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Fri, 06 Sep 2024 17:29:14 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>4e9903b0 - fortify: refactor test_fortify Makefile to fix some build problems</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#4e9903b0</link>
        <description>fortify: refactor test_fortify Makefile to fix some build problemsThere are some issues in the test_fortify Makefile code.Problem 1: cc-disable-warning invokes compiler dozens of timesTo see how many times the cc-disable-warning is evaluated, changethis code:  $(call cc-disable-warning,fortify-source)to:  $(call cc-disable-warning,$(shell touch /tmp/fortify-$$$$)fortify-source)Then, build the kernel with CONFIG_FORTIFY_SOURCE=y. You will see alarge number of &apos;/tmp/fortify-&lt;PID&gt;&apos; files created:  $ ls -1 /tmp/fortify-* | wc       80      80    1600This means the compiler was invoked 80 times just for checking the-Wno-fortify-source flag support.$(call cc-disable-warning,fortify-source) should be added to a simplevariable instead of a recursive variable.Problem 2: do not recompile string.o when the test code is updatedThe test cases are independent of the kernel. However, when the testcode is updated, $(obj)/string.o is rebuilt and vmlinux is relinkeddue to this dependency:  $(obj)/string.o: $(obj)/$(TEST_FORTIFY_LOG)always-y is suitable for building the log files.Problem 3: redundant code  clean-files += $(addsuffix .o, $(TEST_FORTIFY_LOGS))... is unneeded because the top Makefile globally cleans *.o files.This commit fixes these issues and makes the code readable.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Link: https://lore.kernel.org/r/20240727150302.1823750-2-masahiroy@kernel.orgSigned-off-by: Kees Cook &lt;kees@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 27 Jul 2024 15:02:36 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>44ad2814 - kbuild: clean up scripts/remove-stale-files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#44ad2814</link>
        <description>kbuild: clean up scripts/remove-stale-filesThese lines have been here for more than a year. Remove them.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Wed, 17 Jul 2024 18:13:22 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ffa46bbc - kbuild: rpm-pkg: generate kernel.spec in rpmbuild/SPECS/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#ffa46bbc</link>
        <description>kbuild: rpm-pkg: generate kernel.spec in rpmbuild/SPECS/kernel.spec is the last piece that resides outside the rpmbuild/directory. Move all the RPM-related files to rpmbuild/ consistently.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 30 Sep 2023 10:38:47 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>975667d0 - kbuild: rpm-pkg: rename binkernel.spec to kernel.spec</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#975667d0</link>
        <description>kbuild: rpm-pkg: rename binkernel.spec to kernel.specNow kernel.spec and binkernel.spec have the exactly same contents.Use kernel.spec for binrpm-pkg as well.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 22 Jul 2023 04:48:03 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>5e9e95cc - kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without recursion</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#5e9e95cc</link>
        <description>kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without recursionWhen CONFIG_TRIM_UNUSED_KSYMS is enabled, Kbuild recursively traversesthe directory tree to determine which EXPORT_SYMBOL to trim. If anEXPORT_SYMBOL turns out to be unused by anyone, Kbuild begins thesecond traverse, where some source files are recompiled with theirEXPORT_SYMBOL() tuned into a no-op.Linus stated negative opinions about this slowness in commits: - 5cf0fd591f2e (&quot;Kbuild: disable TRIM_UNUSED_KSYMS option&quot;) - a555bdd0c58c (&quot;Kbuild: enable TRIM_UNUSED_KSYMS again, with some guarding&quot;)We can do this better now. The final data structures of EXPORT_SYMBOLare generated by the modpost stage, so modpost can selectively emitKSYMTAB entries that are really used by modules.Commit f73edc8951b2 (&quot;kbuild: unify two modpost invocations&quot;) is anotherground-work to do this in a one-pass algorithm. With the list of modules,modpost sets sym-&gt;used if it is used by a module. modpost emits KSYMTABonly for symbols with sym-&gt;used==true.BTW, Nicolas explained why the trimming was implemented with recursion:  https://lore.kernel.org/all/2o2rpn97-79nq-p7s2-nq5-8p83391473r@syhkavp.arg/Actually, we never achieved that level of optimization where the chainreaction of trimming comes into play because: - CONFIG_LTO_CLANG cannot remove any unused symbols - CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is enabled only for vmlinux,   but not modulesIf deeper trimming is required, we need to revisit this, but I guessthat is unlikely to happen.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sun, 11 Jun 2023 15:50:57 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f6e09b07 - kbuild: do not put .scmversion into the source tarball</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#f6e09b07</link>
        <description>kbuild: do not put .scmversion into the source tarball.scmversion is used by (src)rpm-pkg and deb-pkg to carry KERNELRELEASE.In fact, deb-pkg does not rely on it any more because the generateddebian/rules specifies KERNELRELEASE from the command line.Do likwise for (src)rpm-pkg, and remove this feature.For the same reason, you do not need to save LOCALVERSION in thespec file.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sun, 22 Jan 2023 14:14:21 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ec61452a - scripts: remove bin2c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#ec61452a</link>
        <description>scripts: remove bin2cCommit 80f8be7af03f (&quot;tomoyo: Omit use of bin2c&quot;) removed the lastuse of bin2c.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;Reviewed-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Thu, 19 Jan 2023 07:12:15 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c83b16ce - kbuild: rust: move rust/target.json to scripts/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#c83b16ce</link>
        <description>kbuild: rust: move rust/target.json to scripts/scripts/ is a better place to generate files used treewide.With target.json moved to scripts/, you do not need to add target.jsonto no-clean-files or MRPROPER_FILES.&apos;make clean&apos; does not visit scripts/, but &apos;make mrproper&apos; does.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;Tested-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 07 Jan 2023 09:45:45 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8f99eb85 - kbuild: clean up stale file removal</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#8f99eb85</link>
        <description>kbuild: clean up stale file removalMore than one year has passed since the copied *.[cS] files wereremoved from arch/*/boot/compressed/.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Thu, 29 Dec 2022 07:06:33 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>3122c844 - kconfig: refactor Makefile to reduce process forks</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#3122c844</link>
        <description>kconfig: refactor Makefile to reduce process forksRefactor Makefile and use read-file macro. For Make &gt;= 4.2, it can readout a file by using the built-in function.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sun, 11 Dec 2022 02:54:48 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d8357e3b - riscv/purgatory: Omit use of bin2c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#d8357e3b</link>
        <description>riscv/purgatory: Omit use of bin2cThe .incbin assembler directive is much faster than bin2c + $(CC).Do similar refactoring as in commit 4c0f032d4963 (&quot;s390/purgatory:Omit use of bin2c&quot;).Please note the .quad directive matches to size_t in C (both 8 byte)because the purgatory is compiled only for the 64-bit kernel.(KEXEC_FILE depends on 64BIT).Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Link: https://lore.kernel.org/r/20220625223438.835408-2-masahiroy@kernel.orgSigned-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 25 Jun 2022 22:34:37 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>92579713 - powerpc/purgatory: Omit use of bin2c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#92579713</link>
        <description>powerpc/purgatory: Omit use of bin2cThe .incbin assembler directive is much faster than bin2c + $(CC).Do similar refactoring as in commit 4c0f032d4963 (&quot;s390/purgatory:Omit use of bin2c&quot;).Please note the .quad directive matches to size_t in C (both 8 byte)because the purgatory is compiled only for the 64-bit kernel.(KEXEC_FILE depends on PPC64).Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Segher Boessenkool &lt;segher@kernel.crashing.org&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20220725015619.618070-1-masahiroy@kernel.org

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Mon, 25 Jul 2022 01:56:19 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2d17bd24 - x86/purgatory: Omit use of bin2c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#2d17bd24</link>
        <description>x86/purgatory: Omit use of bin2cThe .incbin assembler directive is much faster than bin2c + $(CC).Do similar refactoring as in  4c0f032d4963 (&quot;s390/purgatory: Omit use of bin2c&quot;).Please note the .quad directive matches to size_t in C (both 8byte) because the purgatory is compiled only for the 64-bit kernel.(KEXEC_FILE depends on X86_64).Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;Link: https://lore.kernel.org/r/20220725020812.622255-2-masahiroy@kernel.org

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Mon, 25 Jul 2022 02:08:12 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>340a0253 - certs: move scripts/extract-cert to certs/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#340a0253</link>
        <description>certs: move scripts/extract-cert to certs/extract-cert is only used in certs/Makefile.Move it there and build extract-cert on demand.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Tue, 14 Dec 2021 02:53:54 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>3cbadd20 - parisc: decompressor: do not copy source files while building</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#3cbadd20</link>
        <description>parisc: decompressor: do not copy source files while buildingAs commit 7ae4a78daacf (&quot;ARM: 8969/1: decompressor: simplify libfdtbuilds&quot;) stated, copying source files during the build time may notend up with as clean code as expected.Do similar for parisc to clean up the Makefile.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Acked-by: Helge Deller &lt;deller@gmx.de&gt;Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Mon, 13 Dec 2021 03:09:15 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>251cc826 - ARM: 9154/1: decompressor: do not copy source files while building</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#251cc826</link>
        <description>ARM: 9154/1: decompressor: do not copy source files while buildingAs commit 7ae4a78daacf (&quot;ARM: 8969/1: decompressor: simplify libfdtbuilds&quot;) stated, copying source files during the build time may notend up with as clean code as expected.Do similar for the other library files for further cleanups of theMakefile and .gitignore.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sat, 30 Oct 2021 17:52:58 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f78b25ee - mips: decompressor: do not copy source files while building</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#f78b25ee</link>
        <description>mips: decompressor: do not copy source files while buildingAs commit 7ae4a78daacf (&quot;ARM: 8969/1: decompressor: simplify libfdtbuilds&quot;) stated, copying source files during the build time may notend up with as clean code as expected.Do similar for mips to clean up the Makefile and .gitignore.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Tested-by: Paul Cercueil &lt;paul@crapouillou.net&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Fri, 05 Nov 2021 02:38:14 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>1476fee5 - kbuild: add a script to remove stale generated files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/remove-stale-files#1476fee5</link>
        <description>kbuild: add a script to remove stale generated filesWe maintain .gitignore and Makefiles so build artifacts are properlyignored by Git, and cleaned up by &apos;make clean&apos;. However, the code isalways changing; generated files are often moved to another directory,or removed when they become unnecessary. Such garbage files tend to beleft over in the source tree because people usually git-pull withoutcleaning the tree.This is not only the noise for &apos;git status&apos;, but also a build issuein some cases.One solution is to remove a stale file like commit 223c24a7dba9 (&quot;kbuild:Automatically remove stale &lt;linux/version.h&gt; file&quot;) did. Such workaroundshould be removed after a while, but we forget about that if we scatterthe workaround code in random places.So, this commit adds a new script to collect cleanings of stale files.As a start point, move the code in arch/arm/boot/compressed/Makefileinto this script.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/remove-stale-files</description>
        <pubDate>Sun, 25 Apr 2021 07:07:12 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
