From: Phil Sutter <phil@nwl.cc>
To: Jeremy Sowden <jeremy@azazel.net>
Cc: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nft] tests: py: use `os.unshare` Python function
Date: Fri, 6 Mar 2026 18:41:06 +0100 [thread overview]
Message-ID: <aasRsr93TOUuH_Xb@orbyte.nwl.cc> (raw)
In-Reply-To: <20260305175358.806280-1-jeremy@azazel.net>
Hi Jeremy,
On Thu, Mar 05, 2026 at 05:53:58PM +0000, Jeremy Sowden wrote:
> Since Python 3.12 the standard library has included an `os.unshare` function.
> Use it if it is available.
This patch breaks py test suite cases involving time-related matches,
e.g. 'meta time "1970-05-23 21:07:14"'. It expects:
| cmp eq reg 1 0x002bd503 0x43f05400
but instead the rule serializes into:
| cmp eq reg 1 0x002bd849 0x74a8f400
Do you see that too?
Cheers, Phil
next prev parent reply other threads:[~2026-03-06 17:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 17:53 [PATCH nft] tests: py: use `os.unshare` Python function Jeremy Sowden
2026-03-05 22:15 ` Phil Sutter
2026-03-06 17:41 ` Phil Sutter [this message]
2026-03-06 18:35 ` Jeremy Sowden
2026-03-10 23:08 ` Phil Sutter
2026-03-12 22:14 ` Florian Westphal
2026-03-12 22:20 ` Pablo Neira Ayuso
2026-03-13 7:57 ` Jeremy Sowden
2026-03-13 7:56 ` Jeremy Sowden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aasRsr93TOUuH_Xb@orbyte.nwl.cc \
--to=phil@nwl.cc \
--cc=jeremy@azazel.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.