From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 359BAAC18DE for ; Mon, 18 Nov 2024 17:00:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3DgjaplKH2JlIRRhHlWAtll6Fc3wa1Oa5mX60CueTo0=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240830; t=1731949213; v=1; x=1732208412; b=lPTMSw/E6yxSm1Vo5NygGyIot23eQyhI2EGfEP1S0Y+hyS3VuooPbG8VLLEcLJcA1rsufkEs 7/6L9zjldskcvrtMFrNVy2JzqWwxEaqJUhru6nQ4kj/U/d9VvT7oqZ0MUAHztPThcfZHEn8so+R LTAM2elLxQ2VX9aEbJuwEfUtrE6FfSmGMsQCE+2k+uJq6rsQF7H+DV9JJf0QgqYBrjzmbpS0IXb zeZxbStd4v7XJoupUdH1E4LV75OO3MtDgFDycv6RAXMGZ1YRDOiJvUhzyE1z/jZSh1HyG0ggOzr XS9TYCLsa5rXZqGBb5+gYOtYZs4jfX9GmTHm4/PeYJdhg== X-Received: by 127.0.0.2 with SMTP id Jy0vYY7687511xGO4FPKOW5J; Mon, 18 Nov 2024 09:00:12 -0800 X-Received: from EUR03-AM7-obe.outbound.protection.outlook.com (EUR03-AM7-obe.outbound.protection.outlook.com [40.107.105.59]) by mx.groups.io with SMTP id smtpd.web10.46808.1731949211148089310 for ; Mon, 18 Nov 2024 09:00:12 -0800 X-Received: from DBBPR09CA0041.eurprd09.prod.outlook.com (2603:10a6:10:d4::29) by PAXPR08MB7334.eurprd08.prod.outlook.com (2603:10a6:102:231::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Mon, 18 Nov 2024 17:00:05 +0000 X-Received: from DU2PEPF00028D04.eurprd03.prod.outlook.com (2603:10a6:10:d4:cafe::46) by DBBPR09CA0041.outlook.office365.com (2603:10a6:10:d4::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.18 via Frontend Transport; Mon, 18 Nov 2024 17:00:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF00028D04.mail.protection.outlook.com (10.167.242.164) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8158.14 via Frontend Transport; Mon, 18 Nov 2024 17:00:04 +0000 X-Received: ("Tessian outbound 6970ca6dd121:v490"); Mon, 18 Nov 2024 17:00:04 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cbd6521e7c9753bc X-TessianGatewayMetadata: jdhxUz6pcjIbt+ImvOkL9n+suXBmtEt+yAZC4q7z6vL/zR/P0gHBIizGFL1NC6yeWX5u8QDI99hYIQdnOkMg6+PDshQb8xAoFZdHoJOruBxvPrvYQ+PcBWY6Ut1YWFtHbn1aCTj2LC+2QWoZH3f3MSvuMUEmAahwSP5E98apY6TopIGuNBkq0nIMMVM+4ExuRShbwtrq5Q1l22DoQHGDpQ== X-CR-MTA-TID: 64aa7808 X-Received: from L370509d06546.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BDDF68FD-12D6-463F-91B9-2BCC6C34B6E0.1; Mon, 18 Nov 2024 16:59:52 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L370509d06546.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 18 Nov 2024 16:59:52 +0000 X-Received: from AS1PR08MB7475.eurprd08.prod.outlook.com (2603:10a6:20b:4dd::19) by PAXPR08MB6688.eurprd08.prod.outlook.com (2603:10a6:102:130::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Mon, 18 Nov 2024 16:59:50 +0000 X-Received: from AS1PR08MB7475.eurprd08.prod.outlook.com ([fe80::3c43:9052:e51:8463]) by AS1PR08MB7475.eurprd08.prod.outlook.com ([fe80::3c43:9052:e51:8463%5]) with mapi id 15.20.8137.027; Mon, 18 Nov 2024 16:59:50 +0000 From: "G Edhaya Chandran via groups.io" To: Ann Cheng , "devel@edk2.groups.io" CC: Barton Gao , Carolyn Gjertsen Subject: Re: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows EFI_ACCESS_DENIED with a warning Thread-Topic: [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows EFI_ACCESS_DENIED with a warning Thread-Index: AQHbN2lPnGNfSrHs9E+1LcrP3kBwmrK9R3GQ Date: Mon, 18 Nov 2024 16:59:50 +0000 Message-ID: References: <20241115141833.1117221-1-ann.cheng@arm.com> <20241115141833.1117221-2-ann.cheng@arm.com> In-Reply-To: <20241115141833.1117221-2-ann.cheng@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS1PR08MB7475:EE_|PAXPR08MB6688:EE_|DU2PEPF00028D04:EE_|PAXPR08MB7334:EE_ X-MS-Office365-Filtering-Correlation-Id: cd6c33e2-b122-4f7b-ce1d-08dd07f272fb x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|376014|1800799024|10070799003|366016|38070700018; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?LX74tHLFGfbeWHr7FrTfvhAgX1zWJDYz0SQAjHHajEBMyPleoGgJTUeQcQVD?= =?us-ascii?Q?HJnzR3MW1HNdProJQWaWcpyBzIANhZKgSk3otXujteHcPHAZYFGraRD/+Qln?= =?us-ascii?Q?6OAUOYpcQu58obwA9zw4Sue76qc9u3FzTZHJ9TLERRXFOwpanVPUIA89yVSN?= =?us-ascii?Q?OSEOUKaOjH/djqgeTCglx6cNnlDky4yn7szmQ2mmAJar0tTQoL/VHgIH8oXU?= =?us-ascii?Q?wss3Mf3ybV+zm7ZpIz8aVkDegrRFagwb6hcSLXn+FAeZjNpx/aUUUrWmwpVS?= =?us-ascii?Q?TTcTgLMTv4zO30vN99xOwA/mokh8ERiCZVjJNN7hk/Pj+grUWzM5QWD7yKVx?= =?us-ascii?Q?92Le4nhmE6j9A0s+u2ykDMwiKD4QHy3h71MWVr5uNrWmrdCai3GB40dLcdmk?= =?us-ascii?Q?rkQN+mrpk2UYeOF7TbPYXkaBvzyU6/dvbywlVrOfL+hD/V7Ch/5G8AplGwhv?= =?us-ascii?Q?5TDFY5h5mNxoGuiJ4qYuN8ISMuf2cXXpdFakw1RJ5Vno2UscO5EHkt45BwRZ?= =?us-ascii?Q?zjblYxdJ2+eaW9PW9BSown9K2O630HoN0+9kPdWVQC3G8jucvUBYwJHc6cyj?= =?us-ascii?Q?j+VVHweWmiJm3CmzFpHPN4ry8ym0IQypDcdDTvWISN573qka2C2HlK6MRfK1?= =?us-ascii?Q?zGbooN1ohTZMUhfGd66VM9qDErFBY3ObpLxTdHuzyjCfpokLgyditKtDxDwp?= =?us-ascii?Q?M3CsK6/nyXa4Qpnj1P3qYqsmm/VQV4GP+5vNrLR/IAdS9eTYKHNy+EseZomc?= =?us-ascii?Q?8W9/YZ0wVxIhxMEuXOIHlRZUAUj9ZgBVmRACVtKQVMkmkLgwhCt24m7aoSCR?= =?us-ascii?Q?R3WeUDCs9ZA5JOamR5QCbN+ElaEyQQ/RlqHjyLnId3A22yIi5YeewSkkAMpP?= =?us-ascii?Q?934g1OeA1v9sKMxG3HQ3VqAhNAkXzC9IV+zL/l7duL4uy6fD9YWzy3dDJL/m?= =?us-ascii?Q?yp5DBMoyPC9gs5A0KYiOW7PHS5QowpslhXHOX5NdBv5Mx+9Yz73EQnSByjuQ?= =?us-ascii?Q?8uqrt/sOI8tYokLjeSnQY2dBUjH490T/P4ILwVnVVvlYqg8y4DLQv40uVC2+?= =?us-ascii?Q?6k27WFS+XrnPxWSBZeKRT+oiG8moQeQj8pMeumBtY5kT+FWnHceQPrxT4ZWP?= =?us-ascii?Q?PveAayIQ04wOXQ/K+F+pp/VfRnOEUbkH6pqPYfnERow3H091byuwQJWN+9wi?= =?us-ascii?Q?OdPg5WrHw8rfFvyt3eOV239kaNBG8BZ+mxASO84bB+7icf0GAkC2X64WU3gm?= =?us-ascii?Q?jtJ0cnYgrgR/efki0lkBrfcJoEaubITk09d5kgArYQ4lw3jO5/L7evxy9OQC?= =?us-ascii?Q?22LD0O8HInZRl82oJF9CImlj?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR08MB7475.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(10070799003)(366016)(38070700018);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6688 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:20b:4dd::19];domain=AS1PR08MB7475.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028D04.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 92c2c772-05b7-494a-885a-08dd07f26a47 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?We3iTnqqH2o5bmkZvSgjEekYC+iuaS0Hi73MhdIl2KtEXy9iz+jTmrsKgDHq?= =?us-ascii?Q?H4wyn5V4yLWx/nWwJ/YshWdXC8q2UhVu5N9G28j6IeEQb9EOuW+ZQaklUsMA?= =?us-ascii?Q?BUWF0mVxtay/XA+98Jtt5ma2XJ8Q5H0FkfzM1LHy59ZcJmSfO77RrQjwjTPI?= =?us-ascii?Q?jqRZ7zo/8/1lWcFByEy486ceVfiXSzxoE/ZfI3WOhjWoDikcxEHVEuVQiOJs?= =?us-ascii?Q?Z4AGWWERbBkZIwAAzbU02mpl4CTv7qrZD19udemGFLDxYQAhaSjXBgDfTzsf?= =?us-ascii?Q?ZdIDTh/MTbrAg28e4bbntaW52UxlEoxyeOIS2N52V2sBFuXrEXTscPLzwlKe?= =?us-ascii?Q?200nzNkvE5syYP4pStH+96rmFHDa4AGJRMSETRYOAEN7tUC8/wLmy+fZOmho?= =?us-ascii?Q?QR/wN4Xl/hD/apXszxHrzxCTSpGhjWs8LcBlnjTc1v1W/l/GYOuK/cFyVTdt?= =?us-ascii?Q?5oJ7bQSPi2jGvaAtYmC2yzhkoyBgMtShCq/+pvcS9B4h1AVDF4lhG77yV4Tm?= =?us-ascii?Q?JE3ZvGhwEqF0j3jkslHy5As3mbmtbD6gY4eJPRBlB5gqnLPKR6DCIYeYtVyk?= =?us-ascii?Q?n9qcy51+OC2I0iepAaNraRjG8tSHBBepbiqXKItXzHPIn95D42ZK0BMRTdDS?= =?us-ascii?Q?KG0RUrr9fhTef92Qj/1dELPUuu8P5iuCoN7soDK87fFBbmN1yDhR9Tvykvqh?= =?us-ascii?Q?0QhyL9/V+Wuk1mtbpomr/AQtChV6Vhi0XFbaEwMSK5DvvVnfkFiIEsnOp1Kl?= =?us-ascii?Q?pzyyQlRqVv+/nBvxNH5XPKQA3jNDs4TBucZrz9fWvVyBdHKRjUKOaho2oCqW?= =?us-ascii?Q?V08tNPCG/NJ0/USQUQtKP8l97n6zhxuD8I//euUjM9XQOEtTC0dORbyAkaMn?= =?us-ascii?Q?R5+71rQkcFF6u2p5uvQxhwtA9hPxxUt0Wo2uxygkqbhLiobKHNlWhlzJhVvW?= =?us-ascii?Q?d/+J3elII3stqDxeyA3j9rkt5b03D4PSs8RHAoVrRNW1pjvcuL1gc+s4uwPd?= =?us-ascii?Q?fInG9k+paSoFJj06aAgkIuVAO9r8VnS85ph4f3r8BwdsJyY33v2vKqeSGPmN?= =?us-ascii?Q?DNmC4bs9cKQcu1b9H+yELdTSMQXLKYl3rODSVWWd+rwtoh+WEEQtumXvSvYY?= =?us-ascii?Q?sEm2pvFrVfzI6LAZrnj6zXvrk41UigJLZnrMJhcHp3KtyIeLL1xuYl3Iz2ra?= =?us-ascii?Q?vBIqXgjfoFTYAeVsIwewcX/IekekN9S1IzdbqrEwD4+Q2H7X8/DTBRXjDLhI?= =?us-ascii?Q?rMjq86tInbHbKmf0pkKNrrI65iDCBo5ppnfRjyAGfirrb/58YE4IjKA1+quD?= =?us-ascii?Q?jaY+pQPIQRAResbLQEWp0FTk7h+VQwjK2QsOdsrFOPAgEjsk1ICT7ka9b+NH?= =?us-ascii?Q?9UYoSOI=3D?= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2024 17:00:04.9063 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd6c33e2-b122-4f7b-ce1d-08dd07f272fb X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028D04.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7334 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 18 Nov 2024 09:00:12 -0800 Resent-From: edhaya.chandran@arm.com Reply-To: devel@edk2.groups.io,edhaya.chandran@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: VxYxD5vCD0lrDkt5eWII7icMx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b="lPTMSw/E"; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: G Edhaya Chandran The changes are reviewed OK. Thank you, Ann for the solution. With Warm Regards, Edhay > -----Original Message----- > From: Ann Cheng > Sent: 15 November 2024 08:19 > To: devel@edk2.groups.io > Cc: G Edhaya Chandran ; Barton Gao > ; Carolyn Gjertsen > Subject: [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows > EFI_ACCESS_DENIED with a warning > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4847 > > EFI_ACCESS_DENIED (The action violated a system policy) is an acceptable > status for ExtractConfig in UEFI specification. > > SCT now marks the test case as a warning instead of failure, when > EFI_ACCESS_DENIED is returned. > > Cc: G Edhaya Chandran > Cc: Barton Gao > Cc: Carolyn Gjertsen > Signed-off-by: Ann Cheng > --- > uefi- > sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HIICon= fi > gAccessBBTestFunction.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HIICon= fi > gAccessBBTestFunction.c b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HIICon= fi > gAccessBBTestFunction.c > index fedccb382f81..b1419bed36dc 100644 > --- a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HIICon= fi > gAccessBBTestFunction.c > +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBo > +++ xTest/HIIConfigAccessBBTestFunction.c > @@ -328,8 +328,8 @@ BBTestExtractConfigFunctionTestCheckpoint1 ( > } else { > gtBS->FreePool (Results); > } > - } else if (EFI_OUT_OF_RESOURCES =3D=3D Status) { > - AssertionType =3D EFI_TEST_ASSERTION_WARNING; > + } else if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED= =3D=3D > Status) ) { > + AssertionType =3D EFI_TEST_ASSERTION_WARNING; > }else { > AssertionType =3D EFI_TEST_ASSERTION_FAILED; > } > @@ -385,7 +385,7 @@ BBTestExtractConfigFunctionTestCheckpoint1 ( > } > gtBS->FreePool (Results); > } > - } else if (EFI_OUT_OF_RESOURCES =3D=3D Status) { > + } else if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED= =3D=3D > + Status) ) { > AssertionType =3D EFI_TEST_ASSERTION_WARNING; > }else { > AssertionType =3D EFI_TEST_ASSERTION_FAILED; @@ -445,7 +445,7 @@ > BBTestExtractConfigFunctionTestCheckpoint2 ( > &Results > ); > > - if (EFI_OUT_OF_RESOURCES =3D=3D Status) { > + if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED =3D=3D > + Status) ) { > AssertionType =3D EFI_TEST_ASSERTION_WARNING; > } else if ((EFI_NOT_FOUND =3D=3D Status) && (Progress =3D=3D NULL) && = (Results =3D=3D > NULL)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > -- > 2.34.1 > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120784): https://edk2.groups.io/g/devel/message/120784 Mute This Topic: https://groups.io/mt/109648112/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-