{"id":2223678,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2223678/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/cover/20260416005603.22427-1-wegao@suse.com/","project":{"id":59,"url":"http://patchwork.ozlabs.org/api/1.1/projects/59/?format=json","name":"Linux Test Project development","link_name":"ltp","list_id":"ltp.lists.linux.it","list_email":"ltp@lists.linux.it","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260416005603.22427-1-wegao@suse.com>","date":"2026-04-16T00:55:21","name":"[v8,0/2] open16: allow restricted O_CREAT of FIFOs and regular files","submitter":{"id":85577,"url":"http://patchwork.ozlabs.org/api/1.1/people/85577/?format=json","name":"Wei Gao","email":"wegao@suse.com"},"mbox":"http://patchwork.ozlabs.org/project/ltp/cover/20260416005603.22427-1-wegao@suse.com/mbox/","series":[{"id":500061,"url":"http://patchwork.ozlabs.org/api/1.1/series/500061/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/list/?series=500061","date":"2026-04-16T00:55:21","name":"open16: allow restricted O_CREAT of FIFOs and regular files","version":8,"mbox":"http://patchwork.ozlabs.org/series/500061/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2223678/comments/","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=NzusXYeV;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=bgns/kU7;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\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 4fx02F6YGzz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 10:56:21 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 5E3DB3E5B6D\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 02:56:12 +0200 (CEST)","from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id B0BB33CC8C5\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 02:56:07 +0200 (CEST)","from mail-wm1-x332.google.com (mail-wm1-x332.google.com\n [IPv6:2a00:1450:4864:20::332])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-5.smtp.seeweb.it (Postfix) with ESMTPS id E43C760070B\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 02:56:06 +0200 (CEST)","by mail-wm1-x332.google.com with SMTP id\n 5b1f17b1804b1-48334ee0aeaso72535025e9.1\n for <ltp@lists.linux.it>; Wed, 15 Apr 2026 17:56:06 -0700 (PDT)","from localhost ([2a07:de40:b240:0:2ad6:ed42:2ad6:ed42])\n by smtp.gmail.com with UTF8SMTPSA id\n 5b1f17b1804b1-488f08bdadbsm35883865e9.0.2026.04.15.17.56.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 15 Apr 2026 17:56:05 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1776300972; h=to : date :\n message-id : in-reply-to : references : mime-version : subject :\n list-id : list-unsubscribe : list-archive : list-post : list-help :\n list-subscribe : from : reply-to : content-type :\n content-transfer-encoding : sender : from;\n bh=Lv4RrQgzI+OlRnxg6Z05W/9Kzyeahy1LHMQu8DemS2w=;\n b=NzusXYeVJav3Xxg7+v4SFQbF7WJ4CltgJTO29kXZQ4qrFMXGVAoqy5X/fcq2Stnqgobfr\n XzNycOQPl21wYLhyCjrc4rgGAMcRxhjplmSGM7/JH7LzcUvJzlnQByJervxVn4mwnAP8gtM\n gzHqdmY9wVQElsQ+dtDEluHTX1IEe6c=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1776300966; x=1776905766; darn=lists.linux.it;\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=BUEc3R0EVlkDgvPpdsFVeYH+6kO1pMcjTHuql3aDeNs=;\n b=bgns/kU73gNwDwHHphX6tuvNiQXXsfF6NlWwRcmviPR4jgAL5YRFvdmSf1gJefxHog\n 0GqYuDNdQuTcz51CR7lCSEynO0QRUCQcTvpTlwMksOi+IMpkxsBTzh7ADBC5y+Bdn5J0\n umwAHkl5NNHPj7rHMfEbCpJqMFFfGVFucoFUwKit6eBzhwgn4zFfVvSNw2mqe8J9DAdS\n T2i41cq8ps6h+EpVaN7BORrGFEnsNijaAqI7TC1JRh3gxKqnW/VVy9cmlf1bnZHc8/Ct\n +3xNMGbYkoTf2rFNc3N/D8PpLwCRA7DSBA5afJYpTP9usAOshUXWq/XiDCV5NrLNWNy8\n /dUQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776300966; x=1776905766;\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=BUEc3R0EVlkDgvPpdsFVeYH+6kO1pMcjTHuql3aDeNs=;\n b=QvfEhBSrHSbntWvzW/yKLnnymYX+QMZCAcFx9Nn5czeFetx6eLZGWbYjKzwCVBjdoD\n GV4Dorpv/tRPZDx/M1kJdLJkrtgnbmbsglTXYKzWhGxzzAAnFfqPNDZNNinHOqcjpKGc\n nXZIHe8v0GLurpLRZ5aHG/JZvkYRallOayEYOBH10UVze+GlmhTifRUVQRcLC34eKaG5\n bp2XsHmUB112IFMoQshjvf52JY9rwStKfTVurjiFQK76a5EiKxL/T4jjS+S+9TgLT6u5\n o7PI3RE2qb9yCk6C5kpWgQ3wGC2pzOoDUPsYZiRWHLckWklVsP7h/rzuo800BvxHt8Y2\n J76Q==","X-Gm-Message-State":"AOJu0Yz8+TAaCO8lRzhht+fONUrdWNBN8zO0HoPPsq9ORL7GbO08JQ/w\n KgQpE3sKUKYPMkgHN4+QCkhzpG5uN8HU5HKJJVMi8QJz5cc7SC8LJOajc6a32hAlsaN8Usi9jdi\n 7SGA=","X-Gm-Gg":"AeBDievvoIQWG+Ndv/jAVMSW+Nmm/OC18rjXXKaXiazGdayLUE/1ATOsZUFIDqiL3D1\n /bmW86iefiWAZ0R5xW9D5OteXAhgQJ7KcDDacF0FsJIHdU47B6w6RVaTv5LVDbt0Z/L6C6kQ332\n U00bRSUrw2EBpAci7y78R0biz+SIveGss20AYl5SuujSCGxs9P2/LFcA2RJ6gFTN3mduEfeMTlq\n KRUo4fxU2hnCyvt49oruTaOrU724g1pFW+vXRIWIxSHDWeuj6Jvdh3CEBf2K6H1vGOpw1Msz4FV\n 3Hk9Pfz1zE0Ib6t2ZO8+jouEZO6070IC5nsBkb1TjO25gH3/dIMoHIX7QlVTyfwhs2GqPGLuI6n\n DM8tl47+Ar4Tk4GDeEXoGKt52WAAqmfQC4wDiPNdvYhOB8l0lIh8HAnsWpFmCFCleOg8ZwuYky/\n vwOOb+FqVlcdA=","X-Received":"by 2002:a05:600c:1507:b0:485:3a27:a961 with SMTP id\n 5b1f17b1804b1-488d7f23b18mr176045055e9.0.1776300966080;\n Wed, 15 Apr 2026 17:56:06 -0700 (PDT)","To":"ltp@lists.linux.it","Date":"Thu, 16 Apr 2026 00:55:21 +0000","Message-ID":"<20260416005603.22427-1-wegao@suse.com>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20260415103812.21999-2-wegao@suse.com>","References":"<20260415103812.21999-2-wegao@suse.com>","MIME-Version":"1.0","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-5.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-5.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"[LTP] [PATCH v8 0/2] open16: allow restricted O_CREAT of FIFOs and\n regular files","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","From":"Wei Gao via ltp <ltp@lists.linux.it>","Reply-To":"Wei Gao <wegao@suse.com>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"},"content":"Wei Gao (2):\n  lib: New library function tst_get_free_uid\n  open16: allow restricted O_CREAT of FIFOs and regular files\n\nv7->v8\n- Update comments of test cases\n- Refactor test case with tcase array\n- Set file mode to 0030 for level2 check\n- TST_EXP_FAIL->TST_EXP_FAIL2\n\n include/tst_uid.h                         |   7 +-\n lib/tst_uid.c                             |  26 +++++\n runtest/syscalls                          |   1 +\n testcases/kernel/syscalls/open/.gitignore |   1 +\n testcases/kernel/syscalls/open/open16.c   | 128 ++++++++++++++++++++++\n 5 files changed, 161 insertions(+), 2 deletions(-)\n create mode 100644 testcases/kernel/syscalls/open/open16.c"}