Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at 2025-03-20 19:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs (Old) and /work/SRC/openSUSE:Factory/.emacs.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs" Thu Mar 20 19:24:23 2025 rev:202 rq:1254695 version:30.1 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2025-03-13 15:04:47.838681523 +0100 +++ /work/SRC/openSUSE:Factory/.emacs.new.2696/emacs.changes 2025-03-20 19:24:39.572813155 +0100 @@ -1,0 +2,7 @@ +Thu Mar 20 11:27:14 UTC 2025 - Dr. Werner Fink <wer...@suse.de> + +- Enhance patch emacs-30.1-seccomp.patch + * Support seccomp ioctl TCGETS also on ppc64le +- Use zlib-ng-compat only on opensuse + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ --- /var/tmp/diff_new_pack.2a3YYq/_old 2025-03-20 19:24:40.680858950 +0100 +++ /var/tmp/diff_new_pack.2a3YYq/_new 2025-03-20 19:24:40.684859115 +0100 @@ -103,7 +103,7 @@ #BuildRequires: xdotool #BuildRequires: xorg-x11-Xvfb BuildRequires: xz -%if 0%{?suse_version} > 1550 +%if 0%{?suse_version} > 1550 && 0%{is_opensuse} BuildRequires: zlib-ng-compat-devel %else BuildRequires: zlib-devel ++++++ emacs-30.1-seccomp.patch ++++++ --- /var/tmp/diff_new_pack.2a3YYq/_old 2025-03-20 19:24:40.808864240 +0100 +++ /var/tmp/diff_new_pack.2a3YYq/_new 2025-03-20 19:24:40.812864406 +0100 @@ -3,23 +3,30 @@ zero memory under memory pressure. --- - lib-src/seccomp-filter.c | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) + lib-src/seccomp-filter.c | 19 ++++++++++++++++++- + 1 file changed, 18 insertions(+), 1 deletion(-) --- lib-src/seccomp-filter.c -+++ lib-src/seccomp-filter.c 2025-03-06 08:46:41.901322068 +0000 -@@ -42,6 +42,7 @@ variants of those files that can be used ++++ lib-src/seccomp-filter.c 2025-03-19 12:29:10.689765873 +0000 +@@ -42,6 +42,13 @@ variants of those files that can be used #include <stdlib.h> #include <stdint.h> #include <stdio.h> -+#include <termios.h> ++#ifdef __powerpc64__ ++/* glibc uses internal an other TCGETS ioctl for its ++ tcgetattr(3) call with its internal struct termios */ ++# include <asm/termbits.h> ++#else ++# include <termios.h> ++#endif #include <time.h> #include <asm/prctl.h> -@@ -64,6 +65,10 @@ variants of those files that can be used +@@ -64,6 +71,11 @@ variants of those files that can be used #define ARCH_CET_STATUS 0x3001 #endif ++/* https://github.com/torvalds/linux/commit/9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 */ +#ifndef MAP_DROPPABLE +#define MAP_DROPPABLE 0x0 +#endif @@ -27,7 +34,7 @@ static ATTRIBUTE_FORMAT_PRINTF (2, 3) _Noreturn void fail (int error, const char *format, ...) { -@@ -187,7 +192,7 @@ main (int argc, char **argv) +@@ -187,7 +199,7 @@ main (int argc, char **argv) some versions of the dynamic loader still use it. Also allow allocating thread stacks. */ SCMP_A3_32 (SCMP_CMP_MASKED_EQ, @@ -36,11 +43,11 @@ | MAP_ANONYMOUS | MAP_FIXED | MAP_DENYWRITE | MAP_STACK | MAP_NORESERVE), 0)); -@@ -274,6 +279,11 @@ main (int argc, char **argv) +@@ -274,6 +286,11 @@ main (int argc, char **argv) SCMP_A0_32 (SCMP_CMP_EQ, STDIN_FILENO), SCMP_A1_32 (SCMP_CMP_EQ, TIOCGPGRP)); -+ /* Allow `tcgetattr'. */ ++ /* Allow `tcgetattr' call of glibc on physical terminal devices. */ + RULE (SCMP_ACT_ALLOW, SCMP_SYS (ioctl), + SCMP_A0_32 (SCMP_CMP_EQ, STDERR_FILENO), + SCMP_A1_32 (SCMP_CMP_EQ, TCGETS));