From patchwork Wed Oct 25 09:42:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Michael_Wei=C3=9F?= X-Patchwork-Id: 157979 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2479759vqx; Wed, 25 Oct 2023 02:46:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEuIUbOUe/SScB+DGIPZgghXpwEe3NfH+kMSKE3/8Z6e1AAlxwa4gPwBNjoEiIjXJV72ecy X-Received: by 2002:a25:e641:0:b0:da0:454d:cf57 with SMTP id d62-20020a25e641000000b00da0454dcf57mr5429896ybh.16.1698227163269; Wed, 25 Oct 2023 02:46:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698227163; cv=pass; d=google.com; s=arc-20160816; b=yfHUnpHKqInXuoL+v01mgdnKbIaRBLlr9vzuyh8rzsMXahxhaUsDsh2AWULW85Kz87 mrGFNsylG0hlfshK+thZfsfvWuh/J7b7Z4FPGjPkndBSFbjEwa9pwJ9wwgYa33a0yDyQ +mCCborH6p+OjYITk2JEGnqr3rzzLNMCB3X86cQLuAv8+aKytIGByA5fK0ORDBxuSnbo tEbHfz5f2RR7bR1AXCP6zlPgxt1XTlWTEKd4okuQHpdQve1ucC8sjMpOYnublTCmvTGJ HqU70IVHA0N+MprMLwlHX3gU8Q647ANucenw2e6wEJb4oIzXwsLS0Rwnc9+itrHKVvvn vlhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:ironport-hdrordr:ironport-data:ironport-phdr :ironport-sdr:ironport-phdr:dkim-signature; bh=jCQjkLBQou1K1XlAT1aHJgI/ZpqOx9/gRhKcqbH3k+s=; fh=U9u/esc0XBb8N/pVu7kudxJPwEQ0AyrThcmR2LpYyxQ=; b=WeRRMF6OhfRlsY+BlaKoEMAeTCP3/8HqFNEkDCzzedxoYSpy6gmH00TGKhA7NECp22 mnnhbXg2MS+TbJwqKEob3p8sX1fSBJWEgwe8WLjdTDFFrVJxes3AKmKSszyMMwHT97AI Kbg7HanvItebny+IqM6KpzKQ30HZTUNEe1lPEJOlrygmRQXzIskkwioSrCbmkCQG8Ghz uhmRYX7TrHWcFsWlnlEHkzlOqvuOXYHHaGpONlbFZQewaoTKA4HhFrTqj8Tv6OXvhjDB dmaToWF/hvTwEqgvf0PGVFvrr1mUraHAiFe6AzKOC/sQlR8UVf+KH2W6Rz4kyErV5yXM gLBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@aisec.fraunhofer.de header.s=emailbd1 header.b=kBc2+AsX; dkim=pass header.i=@fraunhofer.onmicrosoft.com header.s=selector2-fraunhofer-onmicrosoft-com header.b=LEHzHxtF; arc=pass (i=1 spf=pass spfdomain=aisec.fraunhofer.de dkim=pass dkdomain=aisec.fraunhofer.de dmarc=pass fromdomain=aisec.fraunhofer.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aisec.fraunhofer.de Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id r3-20020a254403000000b00d9ca4853316si10097762yba.694.2023.10.25.02.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 02:46:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=fail header.i=@aisec.fraunhofer.de header.s=emailbd1 header.b=kBc2+AsX; dkim=pass header.i=@fraunhofer.onmicrosoft.com header.s=selector2-fraunhofer-onmicrosoft-com header.b=LEHzHxtF; arc=pass (i=1 spf=pass spfdomain=aisec.fraunhofer.de dkim=pass dkdomain=aisec.fraunhofer.de dmarc=pass fromdomain=aisec.fraunhofer.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aisec.fraunhofer.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5B6CB801F89F; Wed, 25 Oct 2023 02:45:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234722AbjJYJoa (ORCPT + 26 others); Wed, 25 Oct 2023 05:44:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234587AbjJYJoK (ORCPT ); Wed, 25 Oct 2023 05:44:10 -0400 Received: from mail-edgeka24.fraunhofer.de (mail-edgeka24.fraunhofer.de [IPv6:2a03:db80:4420:b000::25:24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17472DE; Wed, 25 Oct 2023 02:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aisec.fraunhofer.de; i=@aisec.fraunhofer.de; q=dns/txt; s=emailbd1; t=1698227047; x=1729763047; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=6IS3qnmwyCNRIjvUFp2Jg7LA5SbSx9BBFQUcZ1ZIxA4=; b=kBc2+AsXYkIuJIJzy20otbVqCx7nmm1hk9jMnBEx8IstYupwpPe6CbZD dpZ5hB3DVkyHGaN8y13OiRY/6wVZQHicNFAl4qFC7lZVe5PHq+BjZN+Br DT+YjC86x3KlMYxFYI8tJ9YBnLR1JCv6/Rk8bFfTGGpdT6B1PO8I+zeiU UQgW8ADVdv97fN75ikva0h0JCX0dBABmTIdeS+V36NHjs4rhOiduyJIrw ow1i7KLH6rPz3a40s96eBAx10weH6mUIODJvFEom7MZ8H8H9c3JHQ22Xj EG3y3pbrxnCJJfLcbRt6fkhBjtiwC51aYs1IqSfqTCd35oX4f08otSZqJ A==; X-CSE-ConnectionGUID: RzyV6OS0RqeDLXDwHmvM6A== X-CSE-MsgGUID: aTEi1QIdQNS22hvwL+hBTw== Authentication-Results: mail-edgeka24.fraunhofer.de; dkim=pass (signature verified) header.i=@fraunhofer.onmicrosoft.com X-IPAS-Result: A2E2AABB4jhl/xwBYJlaHQEBAQEJARIBBQUBQIE7CAELAYI4gleEU4gdpWsqgSwUgREDVg8BAQEBAQEBAQEHAQFEBAEBAwSEfwKHGic0CQ4BAgEDAQEBAQMCAwEBAQEBAQECAQEGAQEBAQEBBgYCgRmFLzkNhACBHgEBAQEBAQEBAQEBAR0CNVQCAQMjBAsBDQEBNwEPJQImAgIyJQYBDQWCfoIrAzGyGH8zgQGCCQEBBrAfGIEggR4JCQGBEC4Bg1uELgGENIEdhDWCT4FKgQaCLYQpL4NGgmiDdYU8BzKCIoMvKYt+gQFHWhYbAwcDWSoQKwcELSIGCRYtJQZRBBcWJAkTEj4EgWeBUQqBAz8PDhGCQiICBzY2GUuCWwkVDDUESXYQKgQUF4ERbgUaFR43ERIXDQMIdh0CESM8AwUDBDQKFQ0LIQVXA0QGSgsDAhoFAwMEgTYFDR4CEC0nAwMZTQIQFAM7AwMGAwsxAzBXRwxZA2wfGhwJPA8MHwIbHg0yAwkDBwUsHUADCxgNSBEsNQYOG0QBcwedTYJtgQ6CKU2Se4MVAa55B4IxgV6hCRozlyuSTy6YDiCiPoVKAgQCBAUCDgiBY4IWMz6DNlIZD44gg3iPe3QCOQIHAQoBAQMJgjmJEgEB IronPort-PHdr: A9a23:3rWe0h2ruMTvgC8GsmDO+QUyDhhOgF2JFhBAs8lvgudUaa3m5JTrZ hGBtr1m2UXEWYzL5v4DkefSurDtVT9lg96N5X4YeYFKVxgLhN9QmAolAcWfDlb8IuKsZCs/T 4xZAURo+3ywLU9PQoPwfVTPpH214zMIXxL5MAt+POPuHYDOys+w0rPXmdXTNitSgz/vTbpuI UeNsA/Tu8IK065vMb04xRaMg1caUONQ2W5uORevjg7xtOKR2bMmzSlKoPMm8ZxwFIDBOokoR rxRCjsrdls44sHmrzDvZguC7XhPNwdemBodASP87hLedK72r3LZ79p58RXDNO3UQpFzayy7y Lc6DxDSiAQMLjQZq2KUkZkj6cATqkeFijxt457ITsaYKd5OTITcftUlQToQHYVUdzZsIIHtN bQsFMQvNM0EtYD24F0ngBiUJ1L9Asni7mJEllzM2bMY8OkCEDvtnykwR9MCkizZno6rJuRDd 8eUnanN1CTMUKwR4Tbf9ZfuYisRkM6XQ6BoLvvz5lhwSgLOi2nNoLD1YymY+uMgnk239steU uGhpV8+khlK+BmN980Gt87GvdkM8Fnu62J7/Lp2f9LtGwZrJN++F51IsDuGcpF7Wd4mXzRws T0hmdXu2La+dSkOjZkryBPcYqbbNYaS6w/lVOGfLC0+iH82ML68hhPn6UG70aW8Tci71l9Ws zBI2sfBrHED1hHfq4CHR/Jx813n2GOn2Rra9+dEJk45j+zcLZsgyaQ3jZ0drQLIGSqepQ== X-Talos-CUID: 9a23:FAbIUGM7QxAag+5DYjt2yhAzIZgfa3Dx6Ef8PG+9F0M3YejA X-Talos-MUID: 9a23:y4txPwQZtDcbqUvqRXTluBxjbf5J752IMxpXkYsZn4qEHxBvbmI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.03,250,1694728800"; d="scan'208";a="1802491" Received: from mail-mtaka28.fraunhofer.de ([153.96.1.28]) by mail-edgeka24.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 11:42:57 +0200 IronPort-SDR: 6538e321_973YP11K0hq3C6HMmfGN+/8ABaxTXSb4AhUFMyoWpxQ/HW9 hY5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YOCMggqVxe9ZgrfK8nnJAC30/qpxyb xpeK1zJNn5DV0/sN3z6gu1CPYsqeP3lZyAtKP31HdnRUVNcKFv7wBwFwadHAlfXRBCBZAwCZ qb4aN81lidUEVSRt+6DXFAefPCqd3NnI/nZhBDPBIu7Q3mt0LK1ILH X-Talos-CUID: 9a23:9U4Cs2jI6AjdSO0qQVEEEAMuhjJufWPB43OII16ELDwydp62TEG3oJpHup87 X-Talos-MUID: 9a23:9qVo2wWPJzT4XGHq/DntvhFoCp1N37+BT0owlLgpkeS1CjMlbg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.03,250,1694728800"; d="scan'208";a="135077926" Received: from 153-97-179-127.vm.c.fraunhofer.de (HELO smtp.exch.fraunhofer.de) ([153.97.179.127]) by mail-mtaKA28.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 11:42:56 +0200 Received: from XCH-HYBRID-04.ads.fraunhofer.de (10.225.9.46) by XCH-HYBRID-04.ads.fraunhofer.de (10.225.9.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27; Wed, 25 Oct 2023 11:42:56 +0200 Received: from DEU01-FR2-obe.outbound.protection.outlook.com (104.47.11.169) by XCH-HYBRID-04.ads.fraunhofer.de (10.225.9.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27 via Frontend Transport; Wed, 25 Oct 2023 11:42:56 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AXKx87xGk6CMIe7UNiRrfp74FFe2111/bF7U5Q74kf2r/tGdGUX/8Wc+FHsRvrznndVThXTb888DIrq86XtbMBmms43J9eGtOoaFPBYqSmoazak42aZJ5efaSiCvkb2ZbJ1zYFrgJx9xJt0cNpZwswCvofrr38xY2NgBxMEal7rJdOVzNLzrfysaCNrpGSR+kGTBNlyz9iasxP2JFYOZeAi3KWaE05Klb8rEZ0mmsYFJi2noVIYxEIzr3I/0MdySNCfKEqRV+AMqh+fV5yCi3eoTGryaDD+RTV6bPlyT2iRZ+pAbl1otkNRxptg4VUKkEIGFYmzBVibvtZpgfRtUbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=jCQjkLBQou1K1XlAT1aHJgI/ZpqOx9/gRhKcqbH3k+s=; b=Vk3qfNohnK6HblcjNgRCdX8zL+VWTABIeNckYYpkj+fkl25RwliTGudIOYc8EyxN1JHK/RSHFG3q0S7VC2oHdVJ/CDqf4U0//1OAmkN8TrARj7owIUv99gdTBeN8G8LkfsyQr67h4EUIE7sreQ4xTFKHcr/4KRZFOUUcBis8DaGxV5qEdVw7iIcbLK42eCShsXxyYNMmFRumXDsDm1FN6Tg922U4kkRsQMNZjx7D+duqUOvBqfyGjiQxG8TXOBszN2+T5nFtyfS/9wq2xpMkJQv8kbtEFJUFQiNknXBYqBlvwv0HOIrqdlc5GVlpKmhwyTpZJjiRbxIu61zWzU5hhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aisec.fraunhofer.de; dmarc=pass action=none header.from=aisec.fraunhofer.de; dkim=pass header.d=aisec.fraunhofer.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fraunhofer.onmicrosoft.com; s=selector2-fraunhofer-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jCQjkLBQou1K1XlAT1aHJgI/ZpqOx9/gRhKcqbH3k+s=; b=LEHzHxtF/euLXZOiknWl89++mHrEJj92WKsFFaC4rac/nAEkBJ39nBeL5dxKRlvJKeKiRC+Mx0idJ0eZ36z+9NOI9hmqygW7/PiJuwNxSXYWsvzp7YJGy75icmT5aTx4reDoEEMDqIVokfFYqQpS2IJYbBU/gS3qRaBv/jTT+2g= Received: from BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:50::14) by BE0P281MB0116.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.19; Wed, 25 Oct 2023 09:42:55 +0000 Received: from BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM ([fe80::7330:78f8:1bf2:2f4d]) by BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM ([fe80::7330:78f8:1bf2:2f4d%5]) with mapi id 15.20.6933.019; Wed, 25 Oct 2023 09:42:55 +0000 From: =?utf-8?q?Michael_Wei=C3=9F?= To: Alexander Mikhalitsyn , Christian Brauner , Alexei Starovoitov , Paul Moore CC: Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Quentin Monnet , Alexander Viro , Miklos Szeredi , Amir Goldstein , "Serge E. Hallyn" , , , , , =?utf-8?q?Michael_Wei=C3=9F?= Subject: [RESEND RFC PATCH v2 03/14] device_cgroup: Remove explicit devcgroup_inode hooks Date: Wed, 25 Oct 2023 11:42:13 +0200 Message-Id: <20231025094224.72858-4-michael.weiss@aisec.fraunhofer.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231025094224.72858-1-michael.weiss@aisec.fraunhofer.de> References: <20231025094224.72858-1-michael.weiss@aisec.fraunhofer.de> X-ClientProxiedBy: FR4P281CA0420.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:d0::17) To BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:50::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BEZP281MB2791:EE_|BE0P281MB0116:EE_ X-MS-Office365-Filtering-Correlation-Id: eee12d09-c658-47ff-116e-08dbd53ec38d X-LD-Processed: f930300c-c97d-4019-be03-add650a171c4,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dm49FTuTQ8jNfzqt2mYOslgd6QfM3A2lGeXCUighYa+9L33GJ/1lupIJMCFi4KWFGFoX14fYrc1cErG5oEerTCbPXTijD8H4NPcFJo5dLUEyZRfKjjwCb84iwXGSEAwCzeD0XHKSksxVCSAXfM9YXXG4JbxgBYajBx8+MFSq484GQRfGyM6H/ZO8U7vQAD9BRm83uw8mS+UeXp/f7te/6Phjz/SD5RKLYtN/pYMNleNrAya9hnO46I+u1eMwtBWG1SGYlo3deAcUKpbi5ZsiFWzM0L6I5t1aOuOlI2kan2dLZe2IOahqDUaQHDULgBIXB3YsFg/CLIgbFubpTyoAzRIhVrEUvWpKl5HxJrBSfv4nRH5eCMhUNUHq6h7ZRy1J1h7k5LCvkslxNA0u8iC66tDgEMgFZ97vu6M6IP0uGjFNFGSVrfjVfOSQNFA+xweHgk4tP5OF6Kb+XKoeeJImKGcYRo6tobER/h9R+aq5p6wAYa7+XJ4cUdJDF5x6myOgO7qdaiXdzuk2WYiiW0qah4CpqvI7oplLb+CGDQsHdoqjzDlysItPqeCiGnY0jowVh0E7g8/LEMDRuu3rTbK4SIiHFqQQZK2L4PkunbI+FKE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(366004)(346002)(136003)(396003)(376002)(39860400002)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(66946007)(83380400001)(316002)(38100700002)(6486002)(478600001)(6666004)(54906003)(110136005)(66556008)(66476007)(1076003)(107886003)(52116002)(6506007)(2616005)(6512007)(7416002)(2906002)(86362001)(4326008)(8936002)(82960400001)(8676002)(41300700001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8e9EE1KnCm0EZP12a2xbmPxMtDwx?= =?utf-8?q?H9Ky3p0rNdK32JK0UfgfhdF48JdxkUcJgSOYi7uGPw577wkuP/KFUJOVwq6yqD4FW?= =?utf-8?q?Q8uFk2sCb5+Fga6Awk/OsOt+CwWcEcX/0A00N4oCtnE9mp6iq6GELr0HKDi1REkb3?= =?utf-8?q?5BoXLeVTmbrVROf/dfVIjCqZiK8wZlcSvCHGZii41uMl3wNojmvGDdJnkGZ9c8f6n?= =?utf-8?q?xV9wcoQtaVaTbuyfys5dgso99W5VoXkAFSJFPoXT4FnlG9D3sDthZEiIKP6UgSZ+D?= =?utf-8?q?Ri7csEkSjDRDXjQ87IDhFSyEx1u5KeRjEF0uugRZPBVwI01qQ+snMZY87ArCVE0Yg?= =?utf-8?q?KmX2C+h6TbrSs0D60hbbPEOullwf3kY9EMFTUKktEk5KG/cQ+PrIQu8Sx6nn3bVWO?= =?utf-8?q?7EIohZ15kqF2yVYq6pTdr6ajiaiYogvxjacRbk/f+nsOCY28XWtSaZqwOLw62cbGg?= =?utf-8?q?fmws14cjvDzad0i66AbePcS9fqcb4EQOnk5Isp3rTjJZlgtC4pzd84IXKtSalLjEE?= =?utf-8?q?wM7TrdaokrrihGpox9O6zeM7MuYjsBbnHJ6rRCAS0KVuCqGvOkZz/4cjFna9mMcxR?= =?utf-8?q?z2bG0WZPbOffdE7Z2D3WopL42fHZdttehawLdZUHgzABo0UIPC/QGpZw6pnWSIzq7?= =?utf-8?q?OVbEYl5PHsb+FTbWabX+IV/ZydBblh+GiDZY2gXQh23URmrszKEMYMEayVKSEYWa+?= =?utf-8?q?UT1FmRh3JgnIWa+gBfw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aeL0VzVYPBpT4+NktEtmqgYSVoW0GcfzXbS4nRyzbMxyJn4fB0=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: eee12d09-c658-47ff-116e-08dbd53ec38d X-MS-Exchange-CrossTenant-AuthSource: BEZP281MB2791.DEUP281.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2023 09:42:55.1248 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f930300c-c97d-4019-be03-add650a171c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Bz5/VyBR5xryOsAMINHSUV8RoCrXgbMTUczQOV7ZplwvciOnn7ZAHXNTwgrvZXc+OfFzEvppd76qFHZ09bKZXpW6zwlc2iyRe4IWje4kltmq1hR0FQmYmOX+SFSo64Sy X-MS-Exchange-Transport-CrossTenantHeadersStamped: BE0P281MB0116 X-OriginatorOrg: aisec.fraunhofer.de X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 25 Oct 2023 02:45:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780720246253990935 X-GMAIL-MSGID: 1780720246253990935 All users (actually just fs/namei) of devcgroup_inode_mknod and devcgroup_inode_permission are removed. Now drop the API completely. Signed-off-by: Michael Weiß --- include/linux/device_cgroup.h | 47 ----------------------------------- 1 file changed, 47 deletions(-) diff --git a/include/linux/device_cgroup.h b/include/linux/device_cgroup.h index d02f32b7514e..d9a62b0cff87 100644 --- a/include/linux/device_cgroup.h +++ b/include/linux/device_cgroup.h @@ -14,54 +14,7 @@ #if defined(CONFIG_CGROUP_DEVICE) || defined(CONFIG_CGROUP_BPF) int devcgroup_check_permission(short type, u32 major, u32 minor, short access); -static inline int devcgroup_inode_permission(struct inode *inode, int mask) -{ - short type, access = 0; - - if (likely(!inode->i_rdev)) - return 0; - - if (S_ISBLK(inode->i_mode)) - type = DEVCG_DEV_BLOCK; - else if (S_ISCHR(inode->i_mode)) - type = DEVCG_DEV_CHAR; - else - return 0; - - if (mask & MAY_WRITE) - access |= DEVCG_ACC_WRITE; - if (mask & MAY_READ) - access |= DEVCG_ACC_READ; - - return devcgroup_check_permission(type, imajor(inode), iminor(inode), - access); -} - -static inline int devcgroup_inode_mknod(int mode, dev_t dev) -{ - short type; - - if (!S_ISBLK(mode) && !S_ISCHR(mode)) - return 0; - - if (S_ISCHR(mode) && dev == WHITEOUT_DEV) - return 0; - - if (S_ISBLK(mode)) - type = DEVCG_DEV_BLOCK; - else - type = DEVCG_DEV_CHAR; - - return devcgroup_check_permission(type, MAJOR(dev), MINOR(dev), - DEVCG_ACC_MKNOD); -} - #else static inline int devcgroup_check_permission(short type, u32 major, u32 minor, short access) -{ return 0; } -static inline int devcgroup_inode_permission(struct inode *inode, int mask) -{ return 0; } -static inline int devcgroup_inode_mknod(int mode, dev_t dev) -{ return 0; } #endif