emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 940d9070e97: Support newer glib versions (Bug#59061)


From: Philipp Stephani
Subject: emacs-29 940d9070e97: Support newer glib versions (Bug#59061)
Date: Fri, 9 Dec 2022 13:34:12 -0500 (EST)

branch: emacs-29
commit 940d9070e97858fdb6c0d84fc5617b8c10dab0ba
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Support newer glib versions (Bug#59061)
    
    * lib-src/seccomp-filter.c (main): Allow pidfd_open system call
---
 lib-src/seccomp-filter.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c
index 7e54b878a22..69b56aed5c5 100644
--- a/lib-src/seccomp-filter.c
+++ b/lib-src/seccomp-filter.c
@@ -342,6 +342,8 @@ main (int argc, char **argv)
   RULE (SCMP_ACT_ALLOW, SCMP_SYS (eventfd2));
   RULE (SCMP_ACT_ALLOW, SCMP_SYS (wait4));
   RULE (SCMP_ACT_ALLOW, SCMP_SYS (poll));
+  RULE (SCMP_ACT_ALLOW, SCMP_SYS (pidfd_open),
+       SCMP_A1_32 (SCMP_CMP_EQ, 0));
 
   /* Don't allow creating sockets (network access would be extremely
      dangerous), but also don't crash.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]