From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=68.232.153.95; helo=esa5.dell-outbound.iphmx.com; envelope-from=jim.dailey@dell.com; receiver=edk2-devel@lists.01.org Received: from esa5.dell-outbound.iphmx.com (esa5.dell-outbound.iphmx.com [68.232.153.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E6CC221CEB15A for ; Tue, 24 Oct 2017 11:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1508869128; x=1540405128; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=CBHbR+D/GWYuuEIpFg37LKeLT1OeASL324kLOrDzVVQ=; b=SdHa6oRykOhbXJVe7nE8Er5G1k6MdbvimvDbR2hQiYfa2y685dbxksvM UV5xvq5LQcMVwnnrWTuwd2fUUQIBxZMFNrSo+lYjW5W+YElLaJd4O1tYt o9MTdjFTofnLHIdYqkfMEGJpC/tOhEPtm6Hd9+Ct6GTVkGOPxLiv2KHtm I=; Received: from esa2.dell-outbound2.iphmx.com ([68.232.153.202]) by esa5.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2017 13:18:47 -0500 From: Received: from ausxipps310.us.dell.com ([143.166.148.211]) by esa2.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2017 00:14:43 +0600 X-LoopCount0: from 10.166.136.214 X-IronPort-AV: E=Sophos;i="5.43,428,1503378000"; d="scan'208";a="78467267" X-DLP: DLP_GlobalPCIDSS To: , CC: Thread-Topic: [edk2] Shell Non-conformity to the Spec Thread-Index: AdNM9Lj2jKcRKf57QF61B1qheMChVA== Date: Tue, 24 Oct 2017 18:20:22 +0000 Message-ID: <4d26cd8872634973b7d38388dc5a0d20@ausx13mps335.AMER.DELL.COM> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titusconfig: No Restrictions 04051212 x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvIiwiaWQiOiIxZWQ2OTYxOC02NDI5LTRjZDItYWY5MS1lMGVkOTFmODc4MTIiLCJwcm9wcyI6W3sibiI6IkNsYXNzaWZpY2F0aW9uIiwidmFscyI6W3sidmFsdWUiOiJObyBSZXN0cmljdGlvbnMifV19LHsibiI6IlN1YmxhYmVscyIsInZhbHMiOltdfSx7Im4iOiJFeHRlcm5hbENvcnJlc3BvbmRlbmNlIiwidmFscyI6W119XX0sIlN1YmplY3RMYWJlbHMiOltdLCJUTUNWZXJzaW9uIjoiMTYuMi4xMS4wIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjV4SGdMejJ4T0pVbjJ1RDlYektSVFVkdjV1Y3RUWVdab2hNYlVxemZ5M0k9In0= x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.242.75] MIME-Version: 1.0 Subject: Shell Non-conformity to the Spec X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 18:16:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The shell spec says that "Each environment variable has a case-sensitive name ...". In the EfiShellSetEnv function of ShellProtocol.c a case-insensitive compare is performed against the variable that is to be set to see if it is one of the read-only variables. That means one cannot set a variable named, for example, CWD, even though "cwd" and "CWD" are two different variable names according to the spec. Should this be changed to a case-sensitive comparison? Regards, Jim