From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753558AbbCBLY3 (ORCPT ); Mon, 2 Mar 2015 06:24:29 -0500 Received: from mail-we0-f171.google.com ([74.125.82.171]:44561 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbbCBLYZ (ORCPT ); Mon, 2 Mar 2015 06:24:25 -0500 Date: Mon, 2 Mar 2015 11:24:20 +0000 From: Matt Fleming To: Borislav Petkov Cc: Andy Lutomirski , "Kweh, Hock Leong" , Sam Protsenko , Ming Lei , Greg Kroah-Hartman , "Ong, Boon Leong" , LKML , "linux-efi@vger.kernel.org" Subject: Re: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface Message-ID: <20150302112420.GA24476@codeblueprint.co.uk> References: <20150225114747.GC3226@pd.tnic> <20150226155458.GC3314@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150226155458.GC3314@pd.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Feb, at 04:54:58PM, Borislav Petkov wrote: > On Thu, Feb 26, 2015 at 07:30:54AM -0800, Andy Lutomirski wrote: > > How can the error code be propagated? Would that echo command fail in > > case of error? > > Yeah, either that or we can put the error code in the sysfs file which > userspace can cat. FWIW, I'd prefer to make the echo command fail in case of capsule error. -- Matt Fleming, Intel Open Source Technology Center