Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp416564rwn; Thu, 8 Sep 2022 03:44:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR6e/Umsx2Wu8L6wSsdCIv53x4qskDsfTKDKuVgxsjtxCXFt3O8k8NzAoXfw3GNsGy1nDiyx X-Received: by 2002:a17:902:bd05:b0:172:ae77:1eea with SMTP id p5-20020a170902bd0500b00172ae771eeamr8194116pls.158.1662633877974; Thu, 08 Sep 2022 03:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662633877; cv=none; d=google.com; s=arc-20160816; b=y8ClaCSezuIFOXYlPVtHXHpv2ybjUOH4I2QL7t40Re73AGKrLlF9MZNhoMTpgvrNbe N67ffDqL57DHk9BSDu5f4asJwSf6fZZ+H9KjdoTzih+oKqgxEzvyKAU4J9yHr9Z+23MK nzVt9UOqkEgJimrabJOoJ5QlqLMIPbm0ft9ZVJ0SODz/jhEqJZcycOeXfqlU5EZdb7PD bRTOtVKmhM4dXr22m9Ba1JCKjhvqcknI5trcsd20S0+lway/I2zD77cD4fxsbcShyyr6 PzteK2QI2cXa0LxGeJ/xqJKoyla676hVK7tf1k6oiLlzRBmVU/rJtBFncPkZ7sWxqVNB 6keg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Jr+Y5urqay5fJW8cUEsaGBeY0NvUA0xctWzzSR6sU+Y=; b=zqptdhCF8NHHcopJQ1cTYA8ugYVkMd4hTso/l9+DWycPBqCVaJOArBBEujsa4Zp0Z+ yprvR7NDWk8Dm6DO4N4YVTksNlUGCJiUNq5hiDQjmNzLH+Fo8J3DJW2h//dEeLqX/gUk Bl5eEW+t2msxO28nCtNzY/UN6jzx3dp9YEOGJvoUs6LuZbUXVloiWBj22YRvQxoi9nRm Oe68eHrGLH8ggR02P9XH7hL9yZelbpyJgjdxh/wpNzWNXnjOwUpGNZEYIIkMNF6JllgT CYCl8huflcUB1Jr2kEccgcYqzAgMCcAj80qj6GpWZv/yzCjr1SZvXpWwFEz4uk2ftB6t AFtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a170902e2d300b00177fd8409b7si30819plc.73.2022.09.08.03.44.26; Thu, 08 Sep 2022 03:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231190AbiIHKkW (ORCPT + 99 others); Thu, 8 Sep 2022 06:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbiIHKkB (ORCPT ); Thu, 8 Sep 2022 06:40:01 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4427D1EEE0; Thu, 8 Sep 2022 03:39:43 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MNb8v0YBXzZcMy; Thu, 8 Sep 2022 18:34:39 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.58) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 8 Sep 2022 18:39:09 +0800 From: Xiu Jianfeng To: , , , CC: , Subject: [PATCH -next] smack: cleanup obsolete mount option flags Date: Thu, 8 Sep 2022 18:35:43 +0800 Message-ID: <20220908103543.194119-1-xiujianfeng@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.58] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 These mount option flags are obsolete since commit 12085b14a444 ("smack: switch to private smack_mnt_opts"), remove them. Signed-off-by: Xiu Jianfeng --- security/smack/smack.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/security/smack/smack.h b/security/smack/smack.h index fc837dcebf96..e2239be7bd60 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h @@ -180,15 +180,6 @@ struct smack_known_list_elem { struct smack_known *smk_label; }; -/* Super block security struct flags for mount options */ -#define FSDEFAULT_MNT 0x01 -#define FSFLOOR_MNT 0x02 -#define FSHAT_MNT 0x04 -#define FSROOT_MNT 0x08 -#define FSTRANS_MNT 0x10 - -#define NUM_SMK_MNT_OPTS 5 - enum { Opt_error = -1, Opt_fsdefault = 0, -- 2.17.1