From patchwork Mon Aug 31 16:09:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 142536 X-Patchwork-Delegate: dilfridge@gentoo.org Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 74E7C4BA7981 for ; Mon, 31 Aug 2026 16:11:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74E7C4BA7981 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=xlSDn5pD X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by sourceware.org (Postfix) with ESMTPS id ECD194BA2E2B for ; Mon, 31 Aug 2026 16:10:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ECD194BA2E2B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ECD194BA2E2B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788192636; cv=none; b=TNaphX/2WrkTLg7gD6n8Fna/Rj9v0u+ugNf/xjHvLp6jRL8L/uswUlLpwBn2xAe6cARrfk3PzJzqjkzIZekiJHdGdPTMJ8+Dj9s0AN53eQhQXHuY9G4rR3qEtysnStp7Y+2Gz2HCxxwDuLcpIK72JURO1k8T9N649EyaJteeNA0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788192636; c=relaxed/simple; bh=LH8dwL45N72oUUoU7YS4J1Y6FOpfv2xyq8imIUVIuhY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DEeH+bsbJ8WacRggNYAiHK7ehhmNThAv3h/zh0bOzku9VZlAxBq9guvghLfgSU/C2k/VYRN/DmQdAzuqJkv/0EkoeNkxEgFEV9cAbNKdRDH5O0t70Lgc1flRw7LPgvrrJbX44jxRNUkBRqpCD7VXnteuaSlK5O76oSgdIaCC7j8= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=xlSDn5pD DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECD194BA2E2B Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-855de2d0d4dso606487b3.0 for ; Mon, 31 Aug 2026 09:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1788192635; x=1788797435; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=UGaxVnXSKAOONqbziN2li1wnRQGpckSDvrUEAZkpXuU=; b=xlSDn5pD7t6DwUFjkL5bfoDgtcfBZms1DWUGjh4MKaMh3EaURLBrw5IhTf8EAn/Q1C rm6gr9QPvUEw4+UxLMIuHHD0cYMguHXC8U1d72ricYLqK+xCuYUyc9EVV5n6eLEL9PG7 TD3AI5ZhrjBCBaLUO2OvX8ENeEF+Uiz2pUz5CUehJwxHfiurwXpBNioqA2dAmPYdqD7I EwZfDggkYB8O9ryudVxYu0e+1XbJ/lf7SOqqtCNPocMOBeEL/IkWtV6EHqxfRc0xikGu Q5Ab90w4CmIkMLH8vMM6i0XcZKh+X8S8it09srQ0nILdVOT83MfVZ81ozoG9Fp7PObgl mPWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788192635; x=1788797435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=UGaxVnXSKAOONqbziN2li1wnRQGpckSDvrUEAZkpXuU=; b=oTQEq7TJnNEzOidvkJoM+UNVxqwLfsuDLq6anEGzkXI2MFqRy5bNhJD1NPrB7KJtu1 L9rhzJW4j4vxLCOHpjEu+LsvNA67rt76YHy9oz+w6D924NudIqXuRwMbaSa3itm8NyJ9 36YImnyEYfZLwPqKEslQ32I70pgn7N5sP1L1M9QkPe1vRbMS5L15hRGnj6/mvpgZs3xp eSPIYW9LktQYd8EhUX6lbF/hKOwHDuprw/SFxy0P/wrJBtUQ4BWW2HL5FRH6T465tNBB kGI0VSsg+O5Zw/Tdt1lUt665YzVy480zsgAVYMSzERF1pJOqb/Gey0EMq3p5Gsa1MVV3 W3yA== X-Gm-Message-State: AFuF++k1ib94StICs+WjLevG46j1gAOCHVBt1P6imk1bnz15fG652RLf LMKMiBYqymk5zv4HEiD4qPdyKJcaGGkhl8YrQ+A9T9reFcKONvD88/OpJjT2rCmcp7R0BFXMmCJ tUJu71SQ= X-Gm-Gg: AYBFou0xIWBzZZ+qBMoIqXMyq5pepnHeX+rDTJp6MGCbbUCFpnoWRiTYsx05Ifl7Tn1 Snyuqp40kHmz089jrVerU+Y38cnCiHRgdKLG7pDEI94HW74UXQX+L05T9foPC5yQqe4qWvxK2Xy y1JFmDDJHqvJMsvYKh65VKH8FRDBGsCbc5ClhyKdU0lJY1TYt1j9KpKVHSEQtIxl+//KBftCVo8 Wpdhl9mKOhevMOze3uiM2J2eJJu1GFaS4x+Bvx2b++AfyP2BV+up8y29fZY1TNnlsZ+1C3T+3P8 prchrYCWo27HdLJn+Au1bN3CLPSlrsHXA7D1O9ISb7hH2oMs5jVFLd/B+h9xPS/iNg07Mrz3/zO 3V6uMiQS5+JQTIkpepKh8tG4rranVeZvSbvGXFXYqlpT0GvzwUpMx98eIM2O7nJ03XniKPjsPci RDtkux51ivI3D2oCZ5cfu22rhR76LuajFeqkawt5EHPR3K5+G1TF5zWiZJfL3P9Y1E/33GBjDK/ xj2ad1iNd0RaQz35veuhjIC41oo61U= X-Received: by 2002:a05:690c:112:b0:853:fc17:6054 with SMTP id 00721157ae682-864f01c3d80mr27977747b3.3.1788192635054; Mon, 31 Aug 2026 09:10:35 -0700 (PDT) Received: from mandiga ([2804:1b3:a7c2:aba0:33a2:3b3a:99bd:5b18]) by smtp.gmail.com with ESMTPSA id 00721157ae682-85e5ed1dc88sm55618437b3.19.2026.08.31.09.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 09:10:34 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "Andreas K . Huettel" Subject: [PATCH 1/2] Revert "posix: Add POSIX aliases to some spawn functions" (BZ 34437) Date: Mon, 31 Aug 2026 13:09:36 -0300 Message-ID: <20260831161028.3062421-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260831161028.3062421-1-adhemerval.zanella@linaro.org> References: <20260831161028.3062421-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org This reverts commit 7594b4e5a75d41e891782aa7e3fb51924f6840cb. Reviewed-by: Andreas K. Huettel --- conform/data/spawn.h-data | 4 ---- posix/Makefile | 1 - posix/spawn.h | 20 -------------------- posix/tst-spawn-chdir-posix.c | 2 -- posix/tst-spawn-chdir.c | 19 +++---------------- 5 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 posix/tst-spawn-chdir-posix.c diff --git a/conform/data/spawn.h-data b/conform/data/spawn.h-data index 1f332324c2..43aa9cb8ae 100644 --- a/conform/data/spawn.h-data +++ b/conform/data/spawn.h-data @@ -29,10 +29,6 @@ function int posix_spawnattr_setpgroup (posix_spawnattr_t*, pid_t) function int posix_spawnattr_setschedparam (posix_spawnattr_t*, const struct sched_param*) function int posix_spawnattr_setschedpolicy (posix_spawnattr_t*, int) function int posix_spawnattr_setsigmask (posix_spawnattr_t*, const sigset_t*) -#if defined XOPEN2K24 || defined POSIX2024 -function int posix_spawn_file_actions_addchdir (posix_spawn_file_actions_t*, const char *) -function int posix_spawn_file_actions_addfchdir (posix_spawn_file_actions_t*, int) -#endif function int posix_spawn_file_actions_addclose (posix_spawn_file_actions_t*, int) function int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t*, int, int) function int posix_spawn_file_actions_addopen (posix_spawn_file_actions_t*, int, const char *, int, mode_t) diff --git a/posix/Makefile b/posix/Makefile index ae26443ac9..b2fc897455 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -317,7 +317,6 @@ tests := \ tst-rxspencer-no-utf8 \ tst-sched_getaffinity \ tst-spawn-chdir \ - tst-spawn-chdir-posix \ tst-spawn4 \ tst-spawn5 \ tst-spawn6 \ diff --git a/posix/spawn.h b/posix/spawn.h index 0aabf5ebef..5e68752a66 100644 --- a/posix/spawn.h +++ b/posix/spawn.h @@ -200,26 +200,6 @@ extern int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t * int __fd, int __newfd) __THROW __nonnull ((1)); -#ifdef __USE_XOPEN2K24XSI - -/* Add an action changing the directory to PATH during spawn. This - affects the subsequent file actions. - Alias of posix_spawn_file_actions_addchdir_np. */ -extern int __REDIRECT_NTH (posix_spawn_file_actions_addchdir, - (posix_spawn_file_actions_t * __restrict __actions, - const char *__restrict __path), - posix_spawn_file_actions_addchdir_np); - -/* Add an action changing the directory to FD during spawn. This - affects the subsequent file actions. FD is not duplicated and must - be open when the file action is executed. - Alias of posix_spawn_file_actions_addfchdir_np. */ -extern int __REDIRECT_NTH (posix_spawn_file_actions_addfchdir, - (posix_spawn_file_actions_t *, int __fd), - posix_spawn_file_actions_addfchdir_np); - -#endif /* __USE_XOPEN2K24XSI */ - #ifdef __USE_MISC /* Add an action changing the directory to PATH during spawn. This affects the subsequent file actions. */ diff --git a/posix/tst-spawn-chdir-posix.c b/posix/tst-spawn-chdir-posix.c deleted file mode 100644 index 3f8d8952bb..0000000000 --- a/posix/tst-spawn-chdir-posix.c +++ /dev/null @@ -1,2 +0,0 @@ -#define USE_POSIX_ALIASES -#include "tst-spawn-chdir.c" diff --git a/posix/tst-spawn-chdir.c b/posix/tst-spawn-chdir.c index 166f835492..a3478d61f6 100644 --- a/posix/tst-spawn-chdir.c +++ b/posix/tst-spawn-chdir.c @@ -78,25 +78,12 @@ add_chdir (posix_spawn_file_actions_t *actions, const char *path, { TEST_COMPARE (posix_spawn_file_actions_addopen (actions, tmpfd, path, O_DIRECTORY | O_RDONLY, 0), 0); - -#ifdef USE_POSIX_ALIASES - int ret = posix_spawn_file_actions_addfchdir (actions, tmpfd); -#else - int ret = posix_spawn_file_actions_addfchdir_np (actions, tmpfd); -#endif - TEST_COMPARE (ret, 0); - + TEST_COMPARE (posix_spawn_file_actions_addfchdir_np + (actions, tmpfd), 0); TEST_COMPARE (posix_spawn_file_actions_addclose (actions, tmpfd), 0); } else - { -#ifdef USE_POSIX_ALIASES - int ret = posix_spawn_file_actions_addchdir (actions, path); -#else - int ret = posix_spawn_file_actions_addchdir_np (actions, path); -#endif - TEST_COMPARE (ret, 0); - } + TEST_COMPARE (posix_spawn_file_actions_addchdir_np (actions, path), 0); } static int From patchwork Mon Aug 31 16:09:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 142537 X-Patchwork-Delegate: dilfridge@gentoo.org Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 555E04BA7995 for ; Mon, 31 Aug 2026 16:11:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 555E04BA7995 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wBPlHS5r X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by sourceware.org (Postfix) with ESMTPS id 6D3564BA23D1 for ; Mon, 31 Aug 2026 16:10:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D3564BA23D1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D3564BA23D1 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1133 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788192638; cv=none; b=tD8kUj1UVTx4dhwwMlBJe2MKnvRTEZjM8iWwtPW3C+9gpy9J5wDJeuSfLhjGZi+MdH22KGRzfIQoHhZ5qJ2nkzfd9621TfPXJKm8hc0U5DPow7oYsXxs4CJ+mKGC3BnYy8/Y9KsQvpa3u94AiXUuRehRQUjdI4x/kbNX8BZvlls= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788192638; c=relaxed/simple; bh=XCfiVVQV7iE6Mei405N9XU7AiolCAl1Pdxrn48mO6jw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gLASXgGsJvAqoWKX+pLnneeFN4C+WrVnkSZ54hmKX1B2YCeNyX0HTCQ8cd9YuJhjDC1/p3zZUVzPbwjjGuy1lvbSZo5jxRGLJm/hN8c6JLydvJmOwNWGvjUlCN7m7+AanXZ5kQ0o/9ZQLtUGehg6PfdLSPMJOss9alNMl/50pHk= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wBPlHS5r DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D3564BA23D1 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-856114a8247so41985727b3.2 for ; Mon, 31 Aug 2026 09:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1788192638; x=1788797438; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ApkKM1H80DdCdLBQZeIDcUS6qSp+ND3pYxYkubpyPgs=; b=wBPlHS5rOZ+5YNhlHxjnMSuf3oS0OEVh8hBKkSc0/88oyyAF5CkJ+hnkKOga5EyfWa YFgN8tJ+sS+C/HXw0e3PxqaxtTBJq2/YMadmTzINqC/IDjaQj23maz1xo1DXH0bzApVj XpgIoiYaItPkmoD/0Df3oba1zJ70xQY29rEX3qL5DJR3w9fS/ZAseg0a6HPmlhZUNaRW C6k+l3B7j4iwGVb4R4SB2HiDrBKJmmOggb1CrVS2FpO+o20jBFiLT3d6vQXuZPHVoHg3 c8KQquYUGPS0jXQuCu6Jsy4XoD8SIJwpsCmL7L7x7PGyLTtELpXZt243zEZMMU1xQsQj 9gJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788192638; x=1788797438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ApkKM1H80DdCdLBQZeIDcUS6qSp+ND3pYxYkubpyPgs=; b=ZRICKPo4m3CObp2xPinQmz1qOaJFcaSeCrh7QH13fiUktFBBPPWEMf0B+iTqnJZ1BF xKdsv567FBHPBuMhrULX9NkrdgFw9boq7Fg/WZeeo0/Jr1X2+GYd3wDFdxzY1CBC+MVM 01YSi9BkD9akWRx45zNVW+fyRn+vzdFsgTBgnRkFVoBr+RNUA4sw4EMB+1hqp7LQjqiN VNXwUdNICTQbzRRfaSQclQAeDMkGjec94T4dzHAGzx5CxPXWEgfhhMhMt1/xtiXNWjTb 4q8PdA6Gw1INQUHO6WnmWsut9b2NU6/nHLmJ6czWdRnvHjHhssfxl888NVxeGBjHk5Lb h/AA== X-Gm-Message-State: AFuF++nnrAUvOFa3Sv7GbisZjaak/yzGAPr9jTyYeZNSY0IJTm84Qezl sDRolWhygqgyxR94juuQJGd5bozPcVSoAzdgjgQqRjNxOzgwwt0UMjk8FbZuvO675blgwDfn6Dq EsStPPIg= X-Gm-Gg: AYBFou33b92khs9R8L6PU1aMbfKMlIpfqPINq9luyJLUTqG1bfztyHhwxPpdwTJRbR+ 9NWgHo//is0HQBFyDxDWkZuS6U2eV6ttTbRjOLNIhElkv6wiuPP7PNaZ796Is/aChjw6KQXDBBG J8Xi8+KtAwxcpMtndvlZ4ZW1Ez4iQQs1cyGZjrp6B+AlzZltg7tnHkHXbG0W4M2CFzuKGx/tSp1 n5J8VKHTJan8nmAVcYxijdTQ9KfXuQYnSEHcVeDK+q67W6QkNTBjaj5RzmwPzwoo8EmOKnuqVad QQBisSgAyB9oB8RIYNnvIdRX9nhG0xEO4MethYySs+445fxBfvyx7h8RO2pcL2PaZ8ksrnV3Xw4 TWwvmAKVlcp5Kk1VeLwOJBFnZEKDNfkA0qIZX0qMzaSTJKkxPoX4+Lu+JnFHDNDqikXW7WKvJT0 FM0fIeT8WVon+WPYj4uHLINZwOE8mTQhjEYmtPwkoVmS6SUxKOypPh1bq0QGhRR7p01vE76NqPN 9jrsJVow1dTmzR8qwVUrDU5Sw2aWBk= X-Received: by 2002:a05:690c:c4f9:b0:867:e5c7:480f with SMTP id 00721157ae682-867e5c7572emr14797647b3.30.1788192637203; Mon, 31 Aug 2026 09:10:37 -0700 (PDT) Received: from mandiga ([2804:1b3:a7c2:aba0:33a2:3b3a:99bd:5b18]) by smtp.gmail.com with ESMTPSA id 00721157ae682-85e5ed1dc88sm55618437b3.19.2026.08.31.09.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 09:10:36 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "Andreas K . Huettel" Subject: [PATCH 2/2] posix: Add POSIX posix_spawn_file_actions_add{,f}chdir Date: Mon, 31 Aug 2026 13:09:37 -0300 Message-ID: <20260831161028.3062421-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260831161028.3062421-1-adhemerval.zanella@linaro.org> References: <20260831161028.3062421-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org Use proper symbols instead of alias to the *_np counterpart. Checked on x86_64-linux-gnu. --- NEWS | 4 +++- conform/data/spawn.h-data | 4 ++++ posix/Makefile | 1 + posix/Versions | 4 ++++ posix/spawn.h | 22 +++++++++++++++---- posix/spawn_faction_addchdir.c | 8 +++++-- posix/spawn_faction_addfchdir.c | 8 +++++-- posix/tst-spawn-chdir-posix.c | 2 ++ posix/tst-spawn-chdir.c | 8 +++++++ sysdeps/mach/hurd/i386/libc.abilist | 4 +++- sysdeps/mach/hurd/x86_64/libc.abilist | 4 +++- sysdeps/unix/sysv/linux/aarch64/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/alpha/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/arc/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/arm/be/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/arm/le/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/csky/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/hppa/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/i386/libc.abilist | 2 ++ .../sysv/linux/loongarch/ilp32/libc.abilist | 2 ++ .../sysv/linux/loongarch/lp64/libc.abilist | 2 ++ .../sysv/linux/m68k/coldfire/libc.abilist | 2 ++ .../unix/sysv/linux/m68k/m680x0/libc.abilist | 2 ++ .../sysv/linux/microblaze/be/libc.abilist | 2 ++ .../sysv/linux/microblaze/le/libc.abilist | 2 ++ .../sysv/linux/mips/mips32/fpu/libc.abilist | 2 ++ .../sysv/linux/mips/mips32/nofpu/libc.abilist | 2 ++ .../sysv/linux/mips/mips64/n32/libc.abilist | 2 ++ .../sysv/linux/mips/mips64/n64/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/or1k/libc.abilist | 2 ++ .../linux/powerpc/powerpc32/fpu/libc.abilist | 2 ++ .../powerpc/powerpc32/nofpu/libc.abilist | 2 ++ .../linux/powerpc/powerpc64/be/libc.abilist | 2 ++ .../linux/powerpc/powerpc64/le/libc.abilist | 2 ++ .../unix/sysv/linux/riscv/rv32/libc.abilist | 2 ++ .../unix/sysv/linux/riscv/rv64/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/s390/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/sh/be/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/sh/le/libc.abilist | 2 ++ .../sysv/linux/sparc/sparc32/libc.abilist | 2 ++ .../sysv/linux/sparc/sparc64/libc.abilist | 2 ++ .../unix/sysv/linux/x86_64/64/libc.abilist | 2 ++ .../unix/sysv/linux/x86_64/x32/libc.abilist | 2 ++ 43 files changed, 122 insertions(+), 11 deletions(-) create mode 100644 posix/tst-spawn-chdir-posix.c diff --git a/NEWS b/NEWS index 56c6b581df..91cb2816a5 100644 --- a/NEWS +++ b/NEWS @@ -13,7 +13,9 @@ Major new features: Deprecated and removed features, and other changes affecting compatibility: - [Add deprecations, removals and changes affecting compatibility here] +* The posix_spawn_file_actions_addchdir and posix_spawn_file_actions_addfchdir + functions, added in glibc 2.44 as header redirects to the _np variants, are + now exported from libc.so under the GLIBC_2.45 symbol version. Changes to build and runtime requirements: diff --git a/conform/data/spawn.h-data b/conform/data/spawn.h-data index 43aa9cb8ae..1f332324c2 100644 --- a/conform/data/spawn.h-data +++ b/conform/data/spawn.h-data @@ -29,6 +29,10 @@ function int posix_spawnattr_setpgroup (posix_spawnattr_t*, pid_t) function int posix_spawnattr_setschedparam (posix_spawnattr_t*, const struct sched_param*) function int posix_spawnattr_setschedpolicy (posix_spawnattr_t*, int) function int posix_spawnattr_setsigmask (posix_spawnattr_t*, const sigset_t*) +#if defined XOPEN2K24 || defined POSIX2024 +function int posix_spawn_file_actions_addchdir (posix_spawn_file_actions_t*, const char *) +function int posix_spawn_file_actions_addfchdir (posix_spawn_file_actions_t*, int) +#endif function int posix_spawn_file_actions_addclose (posix_spawn_file_actions_t*, int) function int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t*, int, int) function int posix_spawn_file_actions_addopen (posix_spawn_file_actions_t*, int, const char *, int, mode_t) diff --git a/posix/Makefile b/posix/Makefile index b2fc897455..ae26443ac9 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -317,6 +317,7 @@ tests := \ tst-rxspencer-no-utf8 \ tst-sched_getaffinity \ tst-spawn-chdir \ + tst-spawn-chdir-posix \ tst-spawn4 \ tst-spawn5 \ tst-spawn6 \ diff --git a/posix/Versions b/posix/Versions index 0624d24bcc..e70ff69b27 100644 --- a/posix/Versions +++ b/posix/Versions @@ -159,6 +159,10 @@ libc { GLIBC_2.35 { posix_spawn_file_actions_addtcsetpgrp_np; } + GLIBC_2.45 { + posix_spawn_file_actions_addchdir; + posix_spawn_file_actions_addfchdir; + } GLIBC_PRIVATE { __libc_fork; __libc_pread; __libc_pwrite; __nanosleep_nocancel; __pause_nocancel; diff --git a/posix/spawn.h b/posix/spawn.h index 5e68752a66..da0cabbf42 100644 --- a/posix/spawn.h +++ b/posix/spawn.h @@ -200,17 +200,31 @@ extern int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t * int __fd, int __newfd) __THROW __nonnull ((1)); -#ifdef __USE_MISC +#ifdef __USE_XOPEN2K24XSI /* Add an action changing the directory to PATH during spawn. This affects the subsequent file actions. */ -extern int posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t * - __restrict __actions, - const char *__restrict __path) +extern int posix_spawn_file_actions_addchdir (posix_spawn_file_actions_t * + __restrict __actions, + const char *__restrict __path) __THROW __nonnull ((1, 2)); /* Add an action changing the directory to FD during spawn. This affects the subsequent file actions. FD is not duplicated and must be open when the file action is executed. */ +extern int posix_spawn_file_actions_addfchdir (posix_spawn_file_actions_t *, + int __fd) + __THROW __nonnull ((1)); + +#endif /* __USE_XOPEN2K24XSI */ + +#ifdef __USE_MISC +/* Same as posix_spawn_file_actions_addchdir. */ +extern int posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t * + __restrict __actions, + const char *__restrict __path) + __THROW __nonnull ((1, 2)); + +/* Same as posix_spawn_file_actions_addfchdir. */ extern int posix_spawn_file_actions_addfchdir_np (posix_spawn_file_actions_t *, int __fd) __THROW __nonnull ((1)); diff --git a/posix/spawn_faction_addchdir.c b/posix/spawn_faction_addchdir.c index 02f8ce27ee..8c25df2de0 100644 --- a/posix/spawn_faction_addchdir.c +++ b/posix/spawn_faction_addchdir.c @@ -23,8 +23,8 @@ #include "spawn_int.h" int -posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t *file_actions, - const char *path) +__posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t *file_actions, + const char *path) { struct __spawn_action *rec; @@ -51,3 +51,7 @@ posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t *file_actions, return 0; } +weak_alias (__posix_spawn_file_actions_addchdir_np, + posix_spawn_file_actions_addchdir_np) +weak_alias (__posix_spawn_file_actions_addchdir_np, + posix_spawn_file_actions_addchdir) diff --git a/posix/spawn_faction_addfchdir.c b/posix/spawn_faction_addfchdir.c index a3df6df489..fd94d7bccd 100644 --- a/posix/spawn_faction_addfchdir.c +++ b/posix/spawn_faction_addfchdir.c @@ -23,8 +23,8 @@ #include "spawn_int.h" int -posix_spawn_file_actions_addfchdir_np (posix_spawn_file_actions_t *actions, - int fd) +__posix_spawn_file_actions_addfchdir_np (posix_spawn_file_actions_t *actions, + int fd) { struct __spawn_action *rec; @@ -44,3 +44,7 @@ posix_spawn_file_actions_addfchdir_np (posix_spawn_file_actions_t *actions, return 0; } +weak_alias (__posix_spawn_file_actions_addfchdir_np, + posix_spawn_file_actions_addfchdir_np) +weak_alias (__posix_spawn_file_actions_addfchdir_np, + posix_spawn_file_actions_addfchdir) diff --git a/posix/tst-spawn-chdir-posix.c b/posix/tst-spawn-chdir-posix.c new file mode 100644 index 0000000000..8bdbfa32aa --- /dev/null +++ b/posix/tst-spawn-chdir-posix.c @@ -0,0 +1,2 @@ +#define USE_POSIX +#include "tst-spawn-chdir.c" diff --git a/posix/tst-spawn-chdir.c b/posix/tst-spawn-chdir.c index a3478d61f6..389af15b97 100644 --- a/posix/tst-spawn-chdir.c +++ b/posix/tst-spawn-chdir.c @@ -78,12 +78,20 @@ add_chdir (posix_spawn_file_actions_t *actions, const char *path, { TEST_COMPARE (posix_spawn_file_actions_addopen (actions, tmpfd, path, O_DIRECTORY | O_RDONLY, 0), 0); +#ifdef USE_POSIX + TEST_COMPARE (posix_spawn_file_actions_addfchdir (actions, tmpfd), 0); +#else TEST_COMPARE (posix_spawn_file_actions_addfchdir_np (actions, tmpfd), 0); +#endif TEST_COMPARE (posix_spawn_file_actions_addclose (actions, tmpfd), 0); } else +#ifdef USE_POSIX + TEST_COMPARE (posix_spawn_file_actions_addchdir (actions, path), 0); +#else TEST_COMPARE (posix_spawn_file_actions_addchdir_np (actions, path), 0); +#endif } static int diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist index 0166703bdb..9a001227d6 100644 --- a/sysdeps/mach/hurd/i386/libc.abilist +++ b/sysdeps/mach/hurd/i386/libc.abilist @@ -727,7 +727,7 @@ GLIBC_2.2.6 _libc_intl_domainname D 0x5 GLIBC_2.2.6 _longjmp F GLIBC_2.2.6 _mcleanup F GLIBC_2.2.6 _mcount F -GLIBC_2.2.6 _nl_default_dirname D 0xe +GLIBC_2.2.6 _nl_default_dirname D 0x12 GLIBC_2.2.6 _nl_domain_bindings D 0x4 GLIBC_2.2.6 _nl_msg_cat_cntr D 0x4 GLIBC_2.2.6 _null_auth D 0xc @@ -2835,6 +2835,8 @@ GLIBC_2.44 timer_delete F GLIBC_2.44 timer_getoverrun F GLIBC_2.44 timer_gettime F GLIBC_2.44 timer_settime F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/mach/hurd/x86_64/libc.abilist b/sysdeps/mach/hurd/x86_64/libc.abilist index 0262a079aa..7c80f7441a 100644 --- a/sysdeps/mach/hurd/x86_64/libc.abilist +++ b/sysdeps/mach/hurd/x86_64/libc.abilist @@ -611,7 +611,7 @@ GLIBC_2.38 _libc_intl_domainname D 0x5 GLIBC_2.38 _longjmp F GLIBC_2.38 _mcleanup F GLIBC_2.38 _mcount F -GLIBC_2.38 _nl_default_dirname D 0xe +GLIBC_2.38 _nl_default_dirname D 0x12 GLIBC_2.38 _nl_domain_bindings D 0x8 GLIBC_2.38 _nl_msg_cat_cntr D 0x4 GLIBC_2.38 _obstack_allocated_p F @@ -2511,6 +2511,8 @@ GLIBC_2.44 timer_delete F GLIBC_2.44 timer_getoverrun F GLIBC_2.44 timer_gettime F GLIBC_2.44 timer_settime F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F HURD_CTHREADS_0.3 __mutex_init F HURD_CTHREADS_0.3 __mutex_lock F HURD_CTHREADS_0.3 __mutex_trylock F diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist index 3156688add..ad0cbaa2ac 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist @@ -2775,3 +2775,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist index 8af5b0b581..0e75090900 100644 --- a/sysdeps/unix/sysv/linux/alpha/libc.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist @@ -3122,6 +3122,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist index 35fcef2cc4..2b40d1adec 100644 --- a/sysdeps/unix/sysv/linux/arc/libc.abilist +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist @@ -2536,3 +2536,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist index a6c6b951bf..ae7f8787f5 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist @@ -2828,6 +2828,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist index e76015fe66..42a0e9816b 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist @@ -2825,6 +2825,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist index 1fb7cdcad5..17566797fc 100644 --- a/sysdeps/unix/sysv/linux/csky/libc.abilist +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist @@ -2812,3 +2812,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist index 0710ccecf9..5ae4bc610b 100644 --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist @@ -2849,6 +2849,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist index 3afe3a88eb..5ed513a623 100644 --- a/sysdeps/unix/sysv/linux/i386/libc.abilist +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist @@ -3032,6 +3032,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist b/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist index 7c6d7055c3..4dc42fb90e 100644 --- a/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist +++ b/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist @@ -2287,3 +2287,5 @@ GLIBC_2.44 wprintf F GLIBC_2.44 write F GLIBC_2.44 writev F GLIBC_2.44 wscanf F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist b/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist index c2b3a66d3a..1cf70f6cdf 100644 --- a/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist +++ b/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist @@ -2296,3 +2296,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist index d6855131e8..4e4d4dbdfd 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist @@ -2808,6 +2808,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist index 4e3fe9c42f..58e80df210 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist @@ -2975,6 +2975,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist index 29f0c5f954..ee7bd65818 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist @@ -2861,3 +2861,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist index 2ef62838f7..269c8e6315 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist @@ -2858,3 +2858,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist index 031e8961ac..fc9609351e 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist @@ -2938,6 +2938,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist index 8dc99d81b4..9ab36b5e2d 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist @@ -2936,6 +2936,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist index 054c5b6391..9ead3c2c89 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist @@ -2944,6 +2944,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist index 13f0148bc0..18a00bc9a6 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist @@ -2846,6 +2846,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/or1k/libc.abilist b/sysdeps/unix/sysv/linux/or1k/libc.abilist index e7ffe07dd8..7c220c414c 100644 --- a/sysdeps/unix/sysv/linux/or1k/libc.abilist +++ b/sysdeps/unix/sysv/linux/or1k/libc.abilist @@ -2286,3 +2286,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index dea4b20f05..44fcc172a4 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -3165,6 +3165,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index b45e127463..33b91a001c 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -3210,6 +3210,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist index 942cf6a027..638ea184d3 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist @@ -2919,6 +2919,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist index 65d78e5076..66b2d73497 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist @@ -2995,3 +2995,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist index dcab30d72e..5d832d1304 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -2539,3 +2539,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index 796ef35e26..ea97ab4f6a 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -2739,3 +2739,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F diff --git a/sysdeps/unix/sysv/linux/s390/libc.abilist b/sysdeps/unix/sysv/linux/s390/libc.abilist index 8f2350ee0b..703c402f99 100644 --- a/sysdeps/unix/sysv/linux/s390/libc.abilist +++ b/sysdeps/unix/sysv/linux/s390/libc.abilist @@ -2956,6 +2956,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist index 7aa98c5aed..47079e00ca 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist @@ -2855,6 +2855,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist index 6bd4f8f63a..21677414a5 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist @@ -2852,6 +2852,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist index b52cab2a35..52515956fc 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist @@ -3186,6 +3186,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist index ff99cd4f21..2f2dc8a456 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist @@ -2822,6 +2822,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist index 306cd627fd..286fe42a5b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist @@ -2771,6 +2771,8 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F GLIBC_2.5 __readlinkat_chk F GLIBC_2.5 inet6_opt_append F GLIBC_2.5 inet6_opt_find F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist index 8b9c448742..b6f3ea7d2d 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist @@ -2790,3 +2790,5 @@ GLIBC_2.43 memset_explicit F GLIBC_2.43 mseal F GLIBC_2.43 openat2 F GLIBC_2.43 umaxabs F +GLIBC_2.45 posix_spawn_file_actions_addchdir F +GLIBC_2.45 posix_spawn_file_actions_addfchdir F