diff options
author | 2022-07-01 14:03:50 +0300 | |
---|---|---|
committer | 2022-07-04 00:52:43 +0100 | |
commit | f51fe5149921cfd97d4eb15ba9560fd3d9a24226 (patch) | |
tree | 65ab62270fa6c5c51847fae5ce49e84ef4ecd4cc /sys-apps/busybox/files | |
parent | sys-apps/busybox: update 1.34.1-r1 from with 1.34.1 (diff) | |
download | gentoo-f51fe5149921cfd97d4eb15ba9560fd3d9a24226.tar.gz gentoo-f51fe5149921cfd97d4eb15ba9560fd3d9a24226.tar.bz2 gentoo-f51fe5149921cfd97d4eb15ba9560fd3d9a24226.zip |
sys-apps/busybox: sync fixes to newer versions
Sync fixes from 1.34.0-r1 to 1.35.0-r1 and to 9999
Fix new QA issue in live version
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/busybox/files')
-rw-r--r-- | sys-apps/busybox/files/busybox-1.36.0-fix-wx-sections.patch | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/busybox-1.36.0-fix-wx-sections.patch b/sys-apps/busybox/files/busybox-1.36.0-fix-wx-sections.patch new file mode 100644 index 000000000000..16118cf9b95f --- /dev/null +++ b/sys-apps/busybox/files/busybox-1.36.0-fix-wx-sections.patch @@ -0,0 +1,74 @@ + * QA Notice: The following files contain writable and executable sections + * Files with such sections will not work properly (or at all!) on some + * architectures/operating systems. A bug should be filed at + * https://bugs.gentoo.org/ to make sure the issue is fixed. + * For more information, see: + * + * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart + * + * Please include the following list of files in your report: + * Note: Bugs should be filed for the respective maintainers + * of the package in question and not hardened@gentoo.org. + * RWX --- --- bin/busybox + +$ scanelf -qeR . +RWX --- --- ./busybox +RWX --- --- ./busybox_unstripped +!WX --- --- ./libbb/hash_md5_sha_x86-64_shaNI.o +!WX --- --- ./libbb/hash_md5_sha_x86-64.o +!WX --- --- ./libbb/hash_md5_sha_x86-32_shaNI.o +!WX --- --- ./libbb/hash_md5_sha256_x86-64_shaNI.o +!WX --- --- ./libbb/hash_md5_sha256_x86-32_shaNI.o + +Try to fix this QA issue + +--- a/libbb/hash_md5_sha256_x86-32_shaNI.S ++++ b/libbb/hash_md5_sha256_x86-32_shaNI.S +@@ -278,4 +278,7 @@ + PSHUFFLE_BSWAP32_FLIP_MASK: + .octa 0x0c0d0e0f08090a0b0405060700010203 + ++#if defined(__linux__) && defined(__ELF__) ++ .section .note.GNU-stack, "", %progbits ++#endif + #endif +--- a/libbb/hash_md5_sha256_x86-64_shaNI.S ++++ b/libbb/hash_md5_sha256_x86-64_shaNI.S +@@ -284,4 +284,7 @@ + PSHUFFLE_BSWAP32_FLIP_MASK: + .octa 0x0c0d0e0f08090a0b0405060700010203 + ++#if defined(__linux__) && defined(__ELF__) ++ .section .note.GNU-stack, "", %progbits ++#endif + #endif +--- a/libbb/hash_md5_sha_x86-32_shaNI.S ++++ b/libbb/hash_md5_sha_x86-32_shaNI.S +@@ -228,4 +228,7 @@ + PSHUFFLE_BYTE_FLIP_MASK: + .octa 0x000102030405060708090a0b0c0d0e0f + ++#if defined(__linux__) && defined(__ELF__) ++ .section .note.GNU-stack, "", %progbits ++#endif + #endif +--- a/libbb/hash_md5_sha_x86-64.S ++++ b/libbb/hash_md5_sha_x86-64.S +@@ -1483,4 +1483,7 @@ + .long 0x8F1BBCDC + .long 0xCA62C1D6 + ++#if defined(__linux__) && defined(__ELF__) ++ .section .note.GNU-stack, "", %progbits ++#endif + #endif +--- a/libbb/hash_md5_sha_x86-64_shaNI.S ++++ b/libbb/hash_md5_sha_x86-64_shaNI.S +@@ -226,4 +226,7 @@ + PSHUFFLE_BYTE_FLIP_MASK: + .octa 0x000102030405060708090a0b0c0d0e0f + ++#if defined(__linux__) && defined(__ELF__) ++ .section .note.GNU-stack, "", %progbits ++#endif + #endif |