From patchwork Mon Nov 30 17:04:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hatle X-Patchwork-Id: 106562 Received: from CY7PR03CU001.outbound.protection.outlook.com (CY7PR03CU001.outbound.protection.outlook.com [40.93.198.25]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.36961.1796058299889974643 for ; Mon, 30 Nov 2026 09:05:00 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Kqy7Pe61; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.93.198.25, mailfrom: mark.hatle@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=d2AO+SB/O0mU9ilYPK+SX7n3Yp4qgiKtIbj5NaIObyLC0ZSOahOk071n+kRuMbupBUfGLSgsVrz36fuWbIiojXhg9F0iuw+AeB2xXBKw8VD6BC5ThFq6YFFOaE9k5uZp3FZ2W9YsAS8bbJoDp8jhDotZKdAX66mvVZHeU7Dle8sd3+7ljLBnWylQFvcQUpVdyWVPYjYu3w6QXZfc4V8kHnHHjl64bD5QZV/LoyCZiH14HBbc4Wdg/pO1+IGvuDsa6C4bl63tXqEsvKTzJA9emOfdIRNgVZfMcRaluSEGcCDBTUd67D/nXrPssxmvZW/eW5wffBfxX8QSpMtTyLbqjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dtd2icfb1IKdGzfv0rw8ruFpQhpokz3QS/b6/yMZ1SM=; b=f4/XBMkaJtw9qk5LPcL8rkNbor2UUKSwQUiv2bfXJJ4/l015i3UIQNVRfHOSNZVNH9TWIFbpPqEpJSbPFjAaJKlJ5YfxlGf8rv/wN+4yKMMqwbjg2x3KQ/+7cuc2+TM0frtNrr+kFTFdRzxu9LX6g388wQ5YY/jQdRlyKGEHHHlz4gQuCGLSQPNS0v7FM90AVWbPtlk0UEVQWmlVEtzuH44EhR1U2QqzuQNl1nrzCPQJr81w979xreo17LZs6Tx5lPukZtTYrfEifPwa20Dupk/6lSByviUE51Kl0ousZuWA2+J9T1fWcBIP+7lg6vmP5KJnTzIdAggJ0TSTlvC63g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dtd2icfb1IKdGzfv0rw8ruFpQhpokz3QS/b6/yMZ1SM=; b=Kqy7Pe61ubQ97BzLyObf4aKZpGcvEdcAUhqHgHtU0EPGo7ShjkTAcpHqPRLyWjLqGvTyE/05anrVp3rcARNMoVWOxb5yKE/oQ3QmT8ah8xpkeKuL/jfdI2cjKSNhxCX7LkIX1CdPXjmmngRfmCYLe5n6kEy9wS3i4pO7J2BWrgg= Received: from CH5P222CA0018.NAMP222.PROD.OUTLOOK.COM (2603:10b6:610:1ee::29) by SN7PR12MB8130.namprd12.prod.outlook.com (2603:10b6:806:32e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.10; Mon, 30 Nov 2026 17:04:47 +0000 Received: from CH2PEPF00000148.namprd02.prod.outlook.com (2603:10b6:610:1ee:cafe::4d) by CH5P222CA0018.outlook.office365.com (2603:10b6:610:1ee::29) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.13 via Frontend Transport; Mon, 30 Nov 2026 17:04:46 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb08.amd.com; pr=C Received: from satlexmb08.amd.com (165.204.84.17) by CH2PEPF00000148.mail.protection.outlook.com (10.167.244.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Mon, 30 Nov 2026 17:04:45 +0000 Received: from satlexmb07.amd.com (10.181.42.216) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 11:04:45 -0600 Received: from xcolc230100.xilinx.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 11:04:45 -0600 From: Mark Hatle To: Subject: [PATCH] pseudo: Update to 1.99.3 version Date: Mon, 30 Nov 2026 10:04:45 -0700 Message-ID: <20261130170445.3829289-1-mark.hatle@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Return-Path: mark.hatle@amd.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000148:EE_|SN7PR12MB8130:EE_ X-MS-Office365-Filtering-Correlation-Id: 59d706d5-6052-4cdb-14de-08df4f0408db X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|23010399003|1800799024|82310400026|376014|10067099003|56012099006|260925022911599003|260925021911599003|260925021311599003|261026140227099003|261028144727099003|261026121527099003|261021121427099003|261021123027099003|261021135927099003|261022105027099003|261102123227099003|261022075727099003|261009221227099003|261009221727099003|261009220027099003|261009223027099003|261009223327099003|25016099003|12006099003|29003799003|18002099003|11063799006|6133799003|13003099007|3023799007; X-Microsoft-Antispam-Message-Info: OszKrfUw03GN0MMLOU3k9qW7Xbj4s8XRGZgdkCSLdezOMqEWBzCySNz+WKRaYYwAf0IU3PzFmkhO8Pz4lmLwI3VOBYDPcy2BhFFc36PAXKPUFSJj7OVFyQqbo4r50JDsVH1z5bkC5JVrcVCx42I9erF0Y18iAjQvJlgkKb+T0mdvaBVmsVjRoDyOE8Z3uhTrfsOglDklri/QrJgm0a8p97/Oh/L6riO4skyHwM8mtSfXFvb4Ry/w9pywtpvcXsf9aXj5dSPfuU+YiTWvloUpuy5JmEZefwiheTsUr6uDIBo1BPx4jnGAU6IhFk1rszo9sy2/OWLhDt5dJH4mo4lSKw0ttH6jB3haWooZXbhBUoQpaIOWA/nurQAQjBGPaDmJhN0+Dt/bzoA9cmwdWgqS8exbqnlvtIENy2V6CVMLgB9N+3L4ci9IZAgcLRe/GhE4uLiFEZtHoGtx101wfID3Wk91hGiGeJGqg67fxQdfDmMQe9s6/InThjV1+3mt1GeYYjDc0dZw/zKbSw5FVJ3S9keYl8AWjY8DIGMTIEs0RMl6t24SMq/qjZkrmph+6ht7lRqLWtwm7/H9xUynmnNb21jLe5m/4ebwf0bhX1KZ1oAyfjrXmz7X3fDejiyrqnS0vdYEL9jlE9ND4ccEx4rRJg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb08.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(23010399003)(1800799024)(82310400026)(376014)(10067099003)(56012099006)(260925022911599003)(260925021911599003)(260925021311599003)(261026140227099003)(261028144727099003)(261026121527099003)(261021121427099003)(261021123027099003)(261021135927099003)(261022105027099003)(261102123227099003)(261022075727099003)(261009221227099003)(261009221727099003)(261009220027099003)(261009223027099003)(261009223327099003)(25016099003)(12006099003)(29003799003)(18002099003)(11063799006)(6133799003)(13003099007)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LzQ/I98GKJLdJXd3yIoMidV5V0Gey7rlamR7ns1gAbw8FHUe7Is/W4mCjgzC5kmSKWqIf0aKad0AxekWTXxdqVEKCGexULH70bNVo6vSyBKrzKNnXiktMH/prDNkqGOyBcdp4tDAj0CJ7K9F+RVOJMoha1cByZ5ue29NTNSujNhjtl7FMD33yS4UOjr8ga1HSKsMbxkyS0D2vilncF/28y577i3VvyTmshAMaidzbqW9NVLUQ3sGPcwtvLHKm0Dt9MehSQ2J2TfBi5FkmjWYLwNd49blzRnog0sdy0cQ9lgHk0oa18ANxnuI+1C9kQWTOyFg6GOXOHu71yHpXAFkZWlYClcatb5QI/VhpmqM1WxneNaD9cgtJWuJrxTHqufYXl+xKcuyTJOWSG+PzNHLFRUUwfydCPdaoTB4/wPvC1iUDxfVKWaAY74Tr1Ncl33T X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 17:04:45.6397 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59d706d5-6052-4cdb-14de-08df4f0408db X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb08.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000148.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8130 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 17:05:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251630 Changelog from last version: Makefile.in: call this 1.99.3 test-glibc-symver: Add test for glibc version deps ports/linux: pseudo_io_uring_seccomp: Fix strtol usage AGENTS.md: Add rules around __isoc23_* funcs Makefile.in: call this 1.99.2 Replace FASTOP with requests that don't wait for a reply Send client requests over one shared datagram socket pseudo_server: Log when running in a confined SELinux domain ports/linux: Report SELinux as disabled under pseudo README.security: Describe io_uring refusal and the host fallback ports/linux: Refuse io_uring in the kernel rather than be bypassed by it ports/linux/pseudo_wrappers: Report io_uring as unsupported in syscall() openat2: Look at dirfd for an empty path ports/linux: Pass an empty openat() path to the kernel ports/linux: Wrap name_to_handle_at() and open_by_handle_at() pseudo_client: Fail when the local state directory isn't writable ports/linux/pseudo_wrappers: Fake seccomp strict mode in syscall() ports/linux/pseudo_wrappers: Fake seccomp filters set by prctl() test-seccomp: Check that seccomp is never really enabled ports/linux/pseudo_wrappers: Report Landlock as unsupported pseudo_client: Connect to the server without changing directory test-landlock: Add a Landlock sandbox test Wrap execvpe(), fexecve() and execveat() wrappers: Don't re-block signals in nested wrapper calls pseudo_util: Skip unneeded lstat calls when canonicalizing paths configure: Fix the --enable-profiling default doc: Update README and doc/ to match the code configure: Require GCC 5 or later ports/linux: Don't require pseudo.1: Update to match the current code pseudo_util: Write the event log to PSEUDO_EVLOG_FILE pseudo: List -p in the usage message pseudo_util: Fix the date format in the event log dump AGENTS.md: Add to assist future developers pseudo_util: Make -v and numeric PSEUDO_DEBUG add debug flags pseudo: Fix the -k severity option pseudo_util: Store PSEUDO_SEVERITY as severity names pseudo_server: Set highest_client to the new client when growing pseudo_server: Lower highest_client when the highest client closes configure: Fix --disable-* options pseudo_server: Always use epoll pseudo_server: Drop an idle client when out of file descriptors pseudo_server: Skip events for clients closed earlier in the batch ports/linux: Drop redundant PSEUDO_LINK_SYMLINK_BEHAVIOR override ports/common/subports: Show the unknown OS name in the error pseudo_util: Remove stale with_libpseudo() comment Replace #if 0 strerror() debug messages with a comment Remove unused #if 0 debug code patches/yocto-older-glibc-symbols.patch: Update to latest YP version ports: Let the port define how pseudo stats files ports/unix: Remove guts overridden by the Linux port ports: Remove PSEUDO_NO_REAL_AT_FUNCTIONS test-parallel-ops: Add a parallel create/rename/link/chmod test ports: check created files under the path lock before recording them ports: hold the path lock in create and metadata wrappers pseudo_client: serialize path changes across clients Makefile.in: Declare 1.99.1 README.security: Add information specific to file/process security test-chroot-proc-dev: Add /proc and /dev within a chroot test test-proc-fd: Add a stale directory descriptor case pseudo_client.h: remove dangling pseudo_client_fdpath declaration pseudo_client: resolve /proc//fd/ to the descriptor makewrappers: Allow the wrapper architecture to be set for cross builds makewrappers: Change 'Warning' to 'Info' makewrappers: Don't generate unused _int paths with noignore_path ports: Remove Darwin (macOS) support test: Skip open_tree tests when the function or syscall is unavailable ports/linux/guts: Fix uninitialized pseudo_path in open_tree wrappers Signed-off-by: Mark Hatle --- This version started as 1.99.2, but has moved to 1.99.3 after the issue that was found in the previous merge/test build. This should match the version that passed the testing. ...ow-the-wrapper-architecture-to-be-se.patch | 149 ------------------ meta/recipes-devtools/pseudo/pseudo_git.bb | 5 +- 2 files changed, 2 insertions(+), 152 deletions(-) delete mode 100644 meta/recipes-devtools/pseudo/files/0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch diff --git a/meta/recipes-devtools/pseudo/files/0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch b/meta/recipes-devtools/pseudo/files/0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch deleted file mode 100644 index 6bdea7ad6d..0000000000 --- a/meta/recipes-devtools/pseudo/files/0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch +++ /dev/null @@ -1,149 +0,0 @@ -From 979add31166eadc1954b32ff7cb6038fbd171e06 Mon Sep 17 00:00:00 2001 -From: Sunil Dora -Date: Fri, 30 Oct 2026 11:56:45 -0700 -Subject: [PATCH] makewrappers: Allow the wrapper architecture to be set for - cross builds - -Architecture specific modifiers in wrapfuncs.in, such as -version-aarch64="GLIBC_2.17" on the xattr wrappers, are selected with -platform.machine(), so they follow the machine running the script -rather than the one pseudo is built for. An aarch64 pseudo cross built -on x86_64 ends up with GLIBC_2.3 and the reverse with GLIBC_2.17, which -shows up as pseudo not being reproducible between x86_64 and aarch64 -builders. - -Add a --target option to configure and pass it on to makewrappers, -which uses the cpu part of the triplet for these modifiers. Without ---target the build machine is used as before. - -[YOCTO #16376] - -Upstream-Status: Backport [https://git.yoctoproject.org/pseudo/commit/?id=979add31166eadc1954b32ff7cb6038fbd171e06] - -Signed-off-by: Sunil Dora -Message-Id: <20261030185645.765144-1-sunilkumar.dora@windriver.com> -Signed-off-by: Mark Hatle ---- - Makefile.in | 3 ++- - configure | 6 ++++++ - makewrappers | 17 +++++++++++++++-- - 3 files changed, 23 insertions(+), 3 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 6640a73..9c6da77 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -34,6 +34,7 @@ BITS=@BITS@ - ARCH_FLAGS=@ARCH_FLAGS@ - MARK64=@MARK64@ - RPATH=@RPATH@ -+TARGET=@TARGET@ - VERSION=1.99.0 - - LIB=@LIB@ -@@ -146,7 +147,7 @@ tables: enums/*.in maketables templatefile.py $(TABLES) - ./maketables enums/*.in - - wrappers: makewrappers templatefile.py $(TEMPLATES) ports/*/wrapfuncs.in -- CC="$(CC) $(CFLAGS) $(CFLAGS_PSEUDO)" ./makewrappers "xattr=$(XATTR)" -+ CC="$(CC) $(CFLAGS) $(CFLAGS_PSEUDO)" ./makewrappers --target="$(TARGET)" "xattr=$(XATTR)" - - .SECONDARY: tables wrappers - -diff --git a/configure b/configure -index 68c9962..b43809e 100755 ---- a/configure -+++ b/configure -@@ -10,6 +10,7 @@ - opt_prefix= - opt_libdir= - opt_suffix= -+opt_target= - opt_arch=x86 - opt_bits= - opt_sqlite=/usr -@@ -32,6 +33,7 @@ usage() - echo >&2 " configure --prefix=..." - echo >&2 " [--libdir=...]" - echo >&2 " [--suffix=...]" -+ echo >&2 " [--target=...]" - echo >&2 " [--enable-memory-db]" - echo >&2 " [--enable-epoll]" - echo >&2 " [--enable-xattr]" -@@ -153,6 +155,9 @@ do - --suffix=*) - opt_suffix=${arg#--suffix=} - ;; -+ --target=*) -+ opt_target=${arg#--target=} -+ ;; - --arch=*) - echo >&2 "WARNING: The --arch option is now deprecated. Use --cflags." - opt_arch=${arg#--arch=} -@@ -341,6 +346,7 @@ sed -e ' - s,@LIBDIR@,'"$opt_libdir"',g - s,@LIB@,'"$opt_lib"',g - s,@SUFFIX@,'"$opt_suffix"',g -+ s,@TARGET@,'"$opt_target"',g - s,@SQLITE@,'"$opt_sqlite"',g - s,@ARCH_FLAGS@,'"$arch_flags"',g - s,@DEFAULT_SQLITE@,'"$default_sqlite"',g -diff --git a/makewrappers b/makewrappers -index 81d2444..1ac46bf 100755 ---- a/makewrappers -+++ b/makewrappers -@@ -15,6 +15,13 @@ import platform - import subprocess - from templatefile import TemplateFile - -+# Set from --target=, empty means the machine running this script -+target_arch = "" -+ -+def wrapper_arch(): -+ """Architecture the wrappers are built for: the --target cpu or the build machine.""" -+ return target_arch or platform.machine() -+ - class ArgumentList: - """A (possibly empty) list of arguments""" - -@@ -316,11 +323,11 @@ class Function: - # Strip all leading/trailing whitespace - modifiers = {k.strip():v.strip() for k, v in modifiers.items()} - -- arch = "-" + platform.machine() -+ arch = "-" + wrapper_arch() - # Sorted so that versions-foo appear after versions, so overrides are easy - for key in sorted(modifiers): - value = modifiers[key].replace('', '==') -- # If the key is version-arm64 and we're on arm64 then rename this to version -+ # If the key is version-arm64 and we're building for arm64 then rename this to version - if key.endswith(arch): - key = key.replace(arch, "") - setattr(self, key, value) -@@ -664,10 +671,15 @@ def process_wrapfuncs(port): - - def main(argv): - """Read in function definitions, write out files based on templates.""" -+ global target_arch - funcs = [] - sources = [] - - for arg in argv: -+ if arg.startswith('--target='): -+ # A GNU triplet such as aarch64-poky-linux, only the cpu part is used -+ target_arch = arg[len('--target='):].split('-')[0] -+ continue - if '=' not in arg: - print("Invalid argument '%s', must be of the form name=value" % arg) - exit(1) -@@ -697,6 +709,7 @@ def main(argv): - port = Port('common', sources) - - # the per-function stuff -+ print("Architecture for wrapper modifiers: %s" % wrapper_arch()) - print("Writing functions...") - all_funcs = port.functions() - for name in sorted(all_funcs.keys()): --- -2.49.0 - diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index f8903dbb63..943582b8dd 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -3,7 +3,6 @@ require pseudo.inc SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \ file://fallback-passwd \ file://fallback-group \ - file://0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch \ " SRC_URI:append:class-native = " \ http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \ @@ -13,8 +12,8 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "75222afce8836d12e58b7e85c2dd6057518257a1" -PV = "1.99.0+git" +SRCREV = "0aad512ab73cb51f1deaed0aa14f1c6638bdd1c1" +PV = "1.99.3+git" # largefile and 64bit time_t support adds these macros via compiler flags globally # remove them for pseudo since pseudo intercepts some of the functions which will be