Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217417/?format=api
{ "id": 2217417, "url": "http://patchwork.ozlabs.org/api/patches/2217417/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260328172314.45807-3-dorjoychy111@gmail.com/", "project": { "id": 12, "url": "http://patchwork.ozlabs.org/api/projects/12/?format=api", "name": "Linux CIFS Client", "link_name": "linux-cifs-client", "list_id": "linux-cifs.vger.kernel.org", "list_email": "linux-cifs@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260328172314.45807-3-dorjoychy111@gmail.com>", "list_archive_url": null, "date": "2026-03-28T17:22:23", "name": "[v6,2/4] kselftest/openat2: test for OPENAT2_REGULAR flag", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ab513375de3e8a0185625f96aa5557809bdbf49c", "submitter": { "id": 88386, "url": "http://patchwork.ozlabs.org/api/people/88386/?format=api", "name": "Dorjoy Chowdhury", "email": "dorjoychy111@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260328172314.45807-3-dorjoychy111@gmail.com/mbox/", "series": [ { "id": 497884, "url": "http://patchwork.ozlabs.org/api/series/497884/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=497884", "date": "2026-03-28T17:22:21", "name": "OPENAT2_REGULAR flag support for openat2", "version": 6, "mbox": "http://patchwork.ozlabs.org/series/497884/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217417/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217417/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-10564-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-cifs@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=lnk5RSPO;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10564-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"lnk5RSPO\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.216.54", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fjkvQ1w1zz1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 04:26:26 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id B797C303131C\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 17:24:13 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 21DC03A4534;\n\tSat, 28 Mar 2026 17:24:12 +0000 (UTC)", "from mail-pj1-f54.google.com (mail-pj1-f54.google.com\n [209.85.216.54])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id A78C03590CD\n\tfor <linux-cifs@vger.kernel.org>; Sat, 28 Mar 2026 17:24:10 +0000 (UTC)", "by mail-pj1-f54.google.com with SMTP id\n 98e67ed59e1d1-35d99031e4eso257613a91.1\n for <linux-cifs@vger.kernel.org>;\n Sat, 28 Mar 2026 10:24:10 -0700 (PDT)", "from toolbx ([103.103.35.11])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-35c22a5570esm10513773a91.3.2026.03.28.10.23.55\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 28 Mar 2026 10:24:09 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774718652; cv=none;\n b=BL0jadRpLT5C3lemjdoTAxNPRxedE/PvcO/KqcN7ro858JzK37BsBnHf42yGcs2WDdLXJWA8sRxGdFwT4x4LSyWwrDtXf9gxZScmUxMzDilEoudQGaK4FPmG6qhON5SSk53VGMdZ82vm63iQI3p6i+SaEI8mTRbL5y9lqiiavr0=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774718652; c=relaxed/simple;\n\tbh=QvKBTacd5z2P43CbYauz1u/x08KHhA7f2Nkz0BaL8og=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=NR10s+JUui0kKIa5xh8Weo4GvkpzDpM5gP9J1A9TsZ8vZgRqiKTgigzvojyX3dh2KvXse49YwIF0I+4xadnlhznjVUNq3Tn44H0B57phfh4Ut0Wn6eXFrP1qqN+kp//Xvwew0B23/gVidWQfs95BugM35VhUzLARqdaPF7vTPyY=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=lnk5RSPO; arc=none smtp.client-ip=209.85.216.54", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1774718650; x=1775323450;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=/Vj99fOR8e2nvanig9cWTi+niKOe1ygt4TyyqPTa8nU=;\n b=lnk5RSPO5uaZzdvoYplj50n4Pdtn+IjdotyTh0EqRdl95MlH9XHvqx40Q/bH7sXudC\n m/87dqBHYnZMw8YXKzWk9pIvZkucoFMsFUgueCgMWoF6JQteXbdUudF5qj4JQBi27/RR\n OAjcQGQJ9/dINc8bZ263JhPxPxZJX5y/UofCbwEybJ7ma4Sgtz51okm3POF4gNkgNgEm\n /42sOkx4X5LBDAUb1nbwbXfMloVd7i9IdURNwKPk/oiSqEMvfbvlv6QEHEFqMjVntep6\n T2vGonEWlWtxfXjEGKsjnrLZQMBM2yxBhMfdi8Pr2EX7UL4lM/ELJHByPdWR7MIIFY2a\n /7EA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774718650; x=1775323450;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=/Vj99fOR8e2nvanig9cWTi+niKOe1ygt4TyyqPTa8nU=;\n b=gFlxV6lhv0oEOe4GuccrCBxHWdWwQjktY8KSk/OGzBDR4HEn97/+52vxzstkzNlz84\n fGYngyb4pd37XUO00sw6JSUgRV9qpLttxh70Z8SGAHZKr2b4rIWNmVQVUxqBSwmREfuN\n KuHqEhyRErG06/aoMwIQIHh27WBuoPl3ipjYod2LuJ5mp+nnfoBRAz8aRLC5i9nDYIN3\n bw7f6c5692Xp94eCYCI8+0xkq6oNWRdUd2vo8hbBjff34rhNdlTESZxftHMm7uV2FrWY\n JZUmZFwvgzL4fbdC/TXeeDFg7glQVSynppSFw+muk649b2OdskHAEl9SxmU7zjteomp1\n zc5A==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCUGFASxn/JRR620wgQvdIopKgxv8+Wf4QCWTsMjbE2wR2wIq9xU89eZdZjCEHg9FK5JNPgKBlAZCFeh@vger.kernel.org", "X-Gm-Message-State": "AOJu0YxJ9fyrXlwOGfZqGYrLsq7EqmpvxkSx4GZ70byv7Qr1gFdgXEDE\n\tu2MdawUHoGBkIUPkwnK37qBZg78oLbPEGXnNRNiGdDzmcF0PaqXeJCdW", "X-Gm-Gg": "ATEYQzyQcS0GUbKyF4ytpj0HdhtXEZIimQk2pfFG5duXdq/fiYgNhKSpQKf35giwHn7\n\tu56Pj7oUP3dupu1CWxVIykKP81vbVJxXcLKL45guQxGQWxSSnXIWiCqtHGOF5Hp4u9aCC9krQtD\n\tfS3zexnbs1ULhFMbG2X/hgZbZDcHoIU64bErpABHRXPuambh0wOjnef221Au/kz5b8fXbHN9o81\n\t+QG8h0tgkt6cXBEwG31HekXDrmBxETApVyoOS3525bLc/TrAzMn5WzTFF2Cd9Pkm46pQwuxkvpL\n\tCqFG+vCsHE/fqrqir73JxAr/48U+KgE7pI8oj9TMZzvWCoqAmD+jDrvAP1AogeOcNZSwTi+giMW\n\ttc1/5m5vFPQmsLV9FRrCSk4MnofHuVlzJf1WGphIqcyeJWBUQ8vhpX3GGBWIJiiE+LCr8lygRMr\n\txQ5BBpPOCXavok9+yKaYW7A8rUJv8mXxSiApaCcvQDm3nz6EMnOV43m6k=", "X-Received": "by 2002:a17:90b:164a:b0:359:f2e1:5906 with SMTP id\n 98e67ed59e1d1-35c2ffb6610mr6349220a91.4.1774718649869;\n Sat, 28 Mar 2026 10:24:09 -0700 (PDT)", "From": "Dorjoy Chowdhury <dorjoychy111@gmail.com>", "To": "linux-fsdevel@vger.kernel.org", "Cc": "linux-kernel@vger.kernel.org,\n\tlinux-api@vger.kernel.org,\n\tceph-devel@vger.kernel.org,\n\tgfs2@lists.linux.dev,\n\tlinux-nfs@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org,\n\tv9fs@lists.linux.dev,\n\tlinux-kselftest@vger.kernel.org,\n\tviro@zeniv.linux.org.uk,\n\tbrauner@kernel.org,\n\tjack@suse.cz,\n\tjlayton@kernel.org,\n\tchuck.lever@oracle.com,\n\talex.aring@gmail.com,\n\tarnd@arndb.de,\n\tadilger@dilger.ca,\n\tmjguzik@gmail.com,\n\tsmfrench@gmail.com,\n\trichard.henderson@linaro.org,\n\tmattst88@gmail.com,\n\tlinmag7@gmail.com,\n\ttsbogend@alpha.franken.de,\n\tJames.Bottomley@HansenPartnership.com,\n\tdeller@gmx.de,\n\tdavem@davemloft.net,\n\tandreas@gaisler.com,\n\tidryomov@gmail.com,\n\tamarkuze@redhat.com,\n\tslava@dubeyko.com,\n\tagruenba@redhat.com,\n\ttrondmy@kernel.org,\n\tanna@kernel.org,\n\tsfrench@samba.org,\n\tpc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tbharathsm@microsoft.com,\n\tshuah@kernel.org,\n\tmiklos@szeredi.hu,\n\thansg@kernel.org", "Subject": "[PATCH v6 2/4] kselftest/openat2: test for OPENAT2_REGULAR flag", "Date": "Sat, 28 Mar 2026 23:22:23 +0600", "Message-ID": "<20260328172314.45807-3-dorjoychy111@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260328172314.45807-1-dorjoychy111@gmail.com>", "References": "<20260328172314.45807-1-dorjoychy111@gmail.com>", "Precedence": "bulk", "X-Mailing-List": "linux-cifs@vger.kernel.org", "List-Id": "<linux-cifs.vger.kernel.org>", "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Just a happy path test.\n\nSigned-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>\n---\n .../testing/selftests/openat2/openat2_test.c | 37 ++++++++++++++++++-\n 1 file changed, 36 insertions(+), 1 deletion(-)", "diff": "diff --git a/tools/testing/selftests/openat2/openat2_test.c b/tools/testing/selftests/openat2/openat2_test.c\nindex 0e161ef9e9e4..e8847f7d416c 100644\n--- a/tools/testing/selftests/openat2/openat2_test.c\n+++ b/tools/testing/selftests/openat2/openat2_test.c\n@@ -320,8 +320,42 @@ void test_openat2_flags(void)\n \t}\n }\n \n+#ifndef OPENAT2_REGULAR\n+#define OPENAT2_REGULAR 040000000\n+#endif\n+\n+#ifndef EFTYPE\n+#define EFTYPE 134\n+#endif\n+\n+void test_openat2_regular_flag(void)\n+{\n+\tif (!openat2_supported) {\n+\t\tksft_test_result_skip(\"Skipping %s as openat2 is not supported\\n\", __func__);\n+\t\treturn;\n+\t}\n+\n+\tstruct open_how how = {\n+\t\t.flags = OPENAT2_REGULAR | O_RDONLY\n+\t};\n+\n+\tint fd = sys_openat2(AT_FDCWD, \"/dev/null\", &how);\n+\n+\tif (fd == -ENOENT) {\n+\t\tksft_test_result_skip(\"Skipping %s as there is no /dev/null\\n\", __func__);\n+\t\treturn;\n+\t}\n+\n+\tif (fd != -EFTYPE) {\n+\t\tksft_test_result_fail(\"openat2 should return EFTYPE\\n\");\n+\t\treturn;\n+\t}\n+\n+\tksft_test_result_pass(\"%s succeeded\\n\", __func__);\n+}\n+\n #define NUM_TESTS (NUM_OPENAT2_STRUCT_VARIATIONS * NUM_OPENAT2_STRUCT_TESTS + \\\n-\t\t NUM_OPENAT2_FLAG_TESTS)\n+\t\t NUM_OPENAT2_FLAG_TESTS + 1)\n \n int main(int argc, char **argv)\n {\n@@ -330,6 +364,7 @@ int main(int argc, char **argv)\n \n \ttest_openat2_struct();\n \ttest_openat2_flags();\n+\ttest_openat2_regular_flag();\n \n \tif (ksft_get_fail_cnt() + ksft_get_error_cnt() > 0)\n \t\tksft_exit_fail();\n", "prefixes": [ "v6", "2/4" ] }