Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2547777rdb; Sun, 3 Dec 2023 23:52:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGS34rscdoTBxUZ29zRZ9J7L4QDgMw2gv5dvQ9FbPo9xB1tpxwFaMhEIeK12Vfay+g4dPa6 X-Received: by 2002:aca:120d:0:b0:3b8:b21d:206c with SMTP id 13-20020aca120d000000b003b8b21d206cmr3300538ois.119.1701676372467; Sun, 03 Dec 2023 23:52:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701676372; cv=none; d=google.com; s=arc-20160816; b=keV9s0mHjP8E/FIG6u1bksIHRZQWm/a3XT2pxpkMdNhqq5ABXmxWD6daMjY65EVatU ox1vnV6ZfpfFclPRpRv4OeXflpOGNvM22jepVuQnEMduU9B0yEFFEfFJuSLEIJjyE+Y7 SH3JW8W5X/gOgmQHTf0exc2pvDlb0wk9Otfdy9xiiT1TBpJJtXWJpgp2h9DHS0CazwMu 5ihXxXZ/pszAl8yifJBmMKjjNeaYS9GJpAaRpGqRmBuLeHlVEjyg3l3GOVAeXmYFq8EB nA33obORMYUiJRFep3bVcQj4WlFOAbXiAYS6WdcvRcesdGtZJOQg3XXNgcPa/ZPA8+d2 PuHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=k7sRWkx6pOZozBhM53jcUnSMcKa9gqtnbw5C+biAft4=; fh=1v5zqbO9sIGUc9bsdyhYE0zxdK1knZz2xnJYWUWMFKo=; b=S2xdM43LFSLfi6hZkO+NwbDt8JkglmQFHWuJTW/3rlsCLJ/9HwXNGPFH8y5XuO6Dkr DgzcuGG2/UrFUupdHILCs/ynHc/fPQ8H3UZ8Jw1BSCK9VAu/c/kCuSJy9trYTTK6QbCY 1TE9BgYpYq+J59qdoruxSRaYLS3VdeMZ8lwBhNdOcO49hw4yDgbPX914HxlokKyOD4O5 kUak5NC6W+Ja9uMYA1R51Vjbs+Dz1CAS7FvUlrp5RIZuFj9sIcioUwfzsSjjreCP0+Wi I8bYL2qEfIbgSI2oY5Z0nC2uU6nQcxuNMnFobIpq/ye24qiSXPR8kMkV2Nt8tyXj9IXY ++Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=YvZQVv7h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v16-20020a63f850000000b005bd85b5a76csi7347868pgj.274.2023.12.03.23.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 23:52:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=YvZQVv7h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F122D809ABE0; Sun, 3 Dec 2023 23:52:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343512AbjLDHwb (ORCPT + 99 others); Mon, 4 Dec 2023 02:52:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234714AbjLDHw2 (ORCPT ); Mon, 4 Dec 2023 02:52:28 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D583710E; Sun, 3 Dec 2023 23:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1701676351; bh=q4VE2o2FyvyFNG1LqUdQPdjkzoeYyweyQ8tzt1Zr98M=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=YvZQVv7h5D8dBbZC2USl0/LGJ0NYUJBbWTU6gw9zrE5BzBgs6GREiFYl+645cIPQY hbCfQvLOj0lKhEoVRdO1IkXwIAXAzSMwM3JY4WPe0PpDtiIJ7iNlEETgrMwtpB+lZs GNcyUZ4jYSKzKv+EoU/hmUX4GwERfFyKXIZx5FhU= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 04 Dec 2023 08:52:15 +0100 Subject: [PATCH v2 02/18] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net> References: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> In-Reply-To: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> To: Kees Cook , "Gustavo A. R. Silva" , Luis Chamberlain , Iurii Zaikin , Greg Kroah-Hartman , Joel Granados Cc: linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701676350; l=622; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=q4VE2o2FyvyFNG1LqUdQPdjkzoeYyweyQ8tzt1Zr98M=; b=w9UTx2HponGUKe8TWC0etLx9EWRzxuN1D/Eju+YpMZkSFCuCRce0znWXJDyiwUfDfeENARdb8 gNbmedabRpLB4Cu3/U/T/SDS4VwIA3XWLFu2VK3XeTU44B3TFShYaa0 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sun, 03 Dec 2023 23:52:50 -0800 (PST) It seems it was never used. Signed-off-by: Thomas Weißschuh --- include/linux/sysctl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 61b40ea81f4d..26a38161c28f 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -255,8 +255,6 @@ extern int unaligned_enabled; extern int unaligned_dump_stack; extern int no_unaligned_warning; -#define SYSCTL_PERM_EMPTY_DIR (1 << 0) - #else /* CONFIG_SYSCTL */ static inline void register_sysctl_init(const char *path, struct ctl_table *table) -- 2.43.0