Your message dated Fri, 10 May 2024 04:49:01 +0000
with message-id <[email protected]>
and subject line Bug#1070786: fixed in arping 2.24-2
has caused the Debian Bug report #1070786,
regarding arping: please add support for loong64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1070786: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070786
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: arping
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The arping software compiles incorrectly on the loong64 architecture, the 
attached patch has resolved the issue.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 arping (2.24-1) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Use secure URI in Homepage field.
   * Set upstream metadata fields: Bug-Submit.
 .
   [ Salvatore Bonaccorso ]
   * New upstream version 2.24
   * Declare compliance with Debian policy 4.6.2
   * Update copyright years for debian/* packaging files
Author: Salvatore Bonaccorso <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-05-09

--- arping-2.24.orig/configure.ac
+++ arping-2.24/configure.ac
@@ -195,6 +195,26 @@ AC_ARG_ENABLE(warnings,
         CHECK_COMPILER_OPTION([-Wtrampolines])
 ])
 
+AC_DEFUN([CHECK_SECCOMP_SYSCALL], [
+  AC_MSG_CHECKING([seccomp syscall $1])
+  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include<seccomp.h>
+]], [[
+void test()
+{
+scmp_filter_ctx ctx;
+seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS($1), 0);
+}
+]])],
+[
+  AC_MSG_RESULT(yes)
+  AC_DEFINE([HAVE_SECCOMP_SYSCALL_$1], [1], [Have seccomp syscall])
+],[AC_MSG_RESULT(no)])])
+
+CHECK_SECCOMP_SYSCALL([fstat]);
+CHECK_SECCOMP_SYSCALL([statx]);
+CHECK_SECCOMP_SYSCALL([nonexistant]);
+
 AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([src/Makefile])
 AC_CONFIG_FILES([doc/Makefile])
--- arping-2.24.orig/src/arping.c
+++ arping-2.24/src/arping.c
@@ -645,10 +645,18 @@ static void drop_seccomp(int libnet_fd)
         //
 
         // Write to stdout and stderr.
+#if HAVE_SECCOMP_SYSCALL_statx
+        if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(statx), 1, 
SCMP_A0(SCMP_CMP_EQ, STDOUT_FILENO))) {
+                perror("seccomp_rule_add(statx stdout)");
+                exit(1);
+        }
+#endif
+#if HAVE_SECCOMP_SYSCALL_fstat
         if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fstat), 1, 
SCMP_A0(SCMP_CMP_EQ, STDOUT_FILENO))) {
                 perror("seccomp_rule_add(fstat stdout)");
                 exit(1);
         }
+#endif
         if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, 
SCMP_A0(SCMP_CMP_EQ, STDOUT_FILENO))) {
                 perror("seccomp_rule_add(write stdout)");
                 exit(1);

--- End Message ---
--- Begin Message ---
Source: arping
Source-Version: 2.24-2
Done: Salvatore Bonaccorso <[email protected]>

We believe that the bug you reported is fixed in the latest version of
arping, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <[email protected]> (supplier of updated arping package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 10 May 2024 06:39:54 +0200
Source: arping
Architecture: source
Version: 2.24-2
Distribution: unstable
Urgency: medium
Maintainer: Salvatore Bonaccorso <[email protected]>
Changed-By: Salvatore Bonaccorso <[email protected]>
Closes: 1070786
Changes:
 arping (2.24-2) unstable; urgency=medium
 .
   * seccomp: Check for and allow statx (Closes: #1070786)
   * Declare compliance with Debian policy 4.7.0
Checksums-Sha1: 
 7fd6a4ea41b05be8bb3481fb403a49849a62edf9 2051 arping_2.24-2.dsc
 ba203ebbadddd7640eef75c6397f208bc2137953 10300 arping_2.24-2.debian.tar.xz
Checksums-Sha256: 
 e485c6e03c61ef201e0410811ca86b539c52f2849462fbe2539a6f3773b9dbcd 2051 
arping_2.24-2.dsc
 f1801eef77a806b1ecd107c8c0bf7b5c30d5cbe9200c6bc1bee31a11b648d394 10300 
arping_2.24-2.debian.tar.xz
Files: 
 5aa79f913be3b063139d3c2569e07ff1 2051 net optional arping_2.24-2.dsc
 8a84bb1cec5032dfef5a5f546fe300b9 10300 net optional arping_2.24-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmY9pXRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89E7xoP/R8bkVLw2HXOnNgf92GZKw1fNlykGtMc
xp5JJSJ7zrPLh4mCfXyd1vTH1o++kchDlAM5aPsa5Vk6/gBQzk1Bo0PBjw7KnvYD
uLvdg7SG1ZGU396CLvihUaIQ/WiTRBe+TLyLmMN9LZwoD12uRaCBLj5WUoXW4uNa
H6XGBl+pn/OtRO/eLes4D59SA9xQmPG9yrL3l4jfXoAUbvwYxHqw0Dvo8LsGjvfa
n+SdNfNZOKLTua63nyd2a6Y8tSYQ0qoaBLIrHr1L4zJgEC96jmYtjrmQTCkdn+yq
0E6Ufh/fu05k3VaxjJvOhdlVP64SSI/6LBwRwTOEE2iL3eEbyAltGcON46O/F6wk
rItcihs873PvWO0FsgD2wCxwrI0kv7ax0E6fSP3R7buEPrgJuD0DYVhGUPBolnps
zRBQHvdxLW8li66RRcEKJkBNQljpQyiIKhCENeayqWWUntRbMugacmQXj9cgUC4Y
/S8XwLyKcyzuEWi4JmXJ/JgvKt7wGOwH//62C9Ch3n/4dpXnsXMNo3437cxM+Hby
1mAhiOHFekMDjcnkaxUUBYqvS3OmCfbDeteiNiL6kmjUPmXPyyUGZzXFKt58qql5
O7jjqH37mJKpxsbJOzn3PaxL1EN9LIYJMkTaxjwXt/27vBDXzZShwmeNqmcV2FZt
kIeHhGprf9wR
=VVtA
-----END PGP SIGNATURE-----

Attachment: pgpeQ_Y0WACKw.pgp
Description: PGP signature


--- End Message ---

Reply via email to