From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 640DBC433F5 for ; Mon, 21 Feb 2022 15:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379412AbiBUPns (ORCPT ); Mon, 21 Feb 2022 10:43:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379402AbiBUPnr (ORCPT ); Mon, 21 Feb 2022 10:43:47 -0500 Received: from smtp-bc0b.mail.infomaniak.ch (smtp-bc0b.mail.infomaniak.ch [IPv6:2001:1600:3:17::bc0b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D5482253A; Mon, 21 Feb 2022 07:43:20 -0800 (PST) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4K2RQs5CPKzMptjp; Mon, 21 Feb 2022 16:43:17 +0100 (CET) Received: from localhost (unknown [23.97.221.149]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4K2RQr4xqLzlhMBl; Mon, 21 Feb 2022 16:43:16 +0100 (CET) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: James Morris , "Serge E . Hallyn" Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jann Horn , Kees Cook , Konstantin Meskhidze , Nathan Chancellor , Nick Desaulniers , Paul Moore , Shuah Khan , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [PATCH v1 0/7] Minor Landlock fixes and new tests Date: Mon, 21 Feb 2022 16:53:04 +0100 Message-Id: <20220221155311.166278-1-mic@digikod.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: Hi, This series contains landlock_add_rule(2) (cosmetic) signature and documentation fixes. There is also some miscellaneous new tests to improve coverage and that may help for future access types (e.g. networking). Regards, Mickaël Salaün (7): landlock: Fix landlock_add_rule(2) documentation landlock: Fix landlock_add_rule(2) signature selftest/landlock: Make tests build with old libc selftest/landlock: Extend tests for minimal valid attribute size selftest/landlock: Add tests for unknown access rights selftest/landlock: Extend access right tests to directories selftest/landlock: Fully test file rename with "remove" access include/linux/syscalls.h | 3 +- include/uapi/linux/landlock.h | 5 +- security/landlock/syscalls.c | 14 ++-- tools/testing/selftests/landlock/base_test.c | 5 ++ tools/testing/selftests/landlock/fs_test.c | 84 ++++++++++++++++---- 5 files changed, 86 insertions(+), 25 deletions(-) base-commit: cfb92440ee71adcc2105b0890bb01ac3cddb8507 -- 2.35.1