Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp766168ybj; Thu, 19 Sep 2019 23:10:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzraZ0tKG7gGiXOH59fbaerdrr9r9e0pq0DZOdDHKTRhak24SFDgRJJDQXFZsgtecHJPj9s X-Received: by 2002:aa7:db43:: with SMTP id n3mr19710930edt.136.1568959851671; Thu, 19 Sep 2019 23:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568959851; cv=none; d=google.com; s=arc-20160816; b=rnEODfI5bgc7I2FHtkoXfv0gsRzB81o/G+YMyDUmBRtPGkF01uj6hyDo7q9SiYkVt7 kpK8WTwA7YbaUy/08Z4BE/h3gBSaqU5iM8w+Bom32ZiUL5unfSyLJHDyC/2nbHgW5jBO WWaNf/9Y6Mpee7KJeBvaJZNhquXmWUkZ+zGrF/8RBSiyC3fxd/3QrHUAQ95KMcikQEkI fKIKbbgkatZc1vMbqw/q4gTKR4lBzGt70tj0Ek+jnuJO7q9w2z4Btpk7suA12T0MZ31o vdAZVXKS8UfmwGhPqjauqiZWs3xQFUqJwZ24MCrFLKEXDiBrct16ucY67FNG2BkkZ7tx R4zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CUgsbf/jB2T41BbAqv3yJJ6qnY+emEeWTF8GouW0W7k=; b=FdRznOrVxP41f7I+HNw8K2Al1d75RYekKBQgMlwvpkLeKbrCsn5x7IeOwd0MFcrgkS 6+5KMDU7jmIG5Z6WIhYCgMiCeq6TieCFeMJx2iXBXWYcSsf3Ov7qAJrnXlJx/r3S4G5i ekNofwLELGmZiWkaqRJz7Qi1xrzP6maRFw3w6bgGO9GhtVd8Qa5oeeu0zERXNr0muf8/ sgb5WuaX8xcMhuCSMH70IXj+9hwrXjHquK//bdjaAsCrTOjBVJPba3nOJYJahulqanME 98l8TM3gSg4/lDX5n+GhqH2yanjI3ya/FtAwNUIQhNbbhxJCrSYL/XxhIlY5AxBaJwhp iYew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Skg8FBDY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si680799edx.168.2019.09.19.23.10.28; Thu, 19 Sep 2019 23:10:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Skg8FBDY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732876AbfISU64 (ORCPT + 99 others); Thu, 19 Sep 2019 16:58:56 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:40941 "EHLO mail-pg1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732070AbfISU64 (ORCPT ); Thu, 19 Sep 2019 16:58:56 -0400 Received: by mail-pg1-f180.google.com with SMTP id w10so2554062pgj.7 for ; Thu, 19 Sep 2019 13:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CUgsbf/jB2T41BbAqv3yJJ6qnY+emEeWTF8GouW0W7k=; b=Skg8FBDYI3SI80OiRaZsajZIS+mB/ws1Benp96vjZIICX5FQ+h9kfoOXJI3HVESzW+ GK+aessLoKXzNbE0qDzjfAAkxFLtfNQTm/gGUDRHm1zFBR+P6Gi2NLWI+G0ABr0jhmwy qWUOkMVTLwXp2lAvy82OQuTS8G5C4Pwp9SWq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CUgsbf/jB2T41BbAqv3yJJ6qnY+emEeWTF8GouW0W7k=; b=gr2q1PcoYe6MRWkIcTIdxiioNv4BHvRXEMAivCrfdttwhwId5A3+JuGrjhE0mwmMQW u9lECHXzwnWplFNakQj7+yHtUbXnyHdRloSlHuEz0NWIjPe3KnrBcrEsq/4p5n/YGAkZ PWPgUa2KutyUemipr6YUALumWn2sLJ6FodEu2GJDrnN1RkUY4xfH73YHGQ+Box5yz6wk RoNvS9JQBfAV3RsyZ3O9v5lbslhYBA1HFseDCoGmFXc4KwQJfklJBLWEgtFFxe0gLMtt gV7c+sU7+DufdgWgCTkAkT/WJeERWlJDuYADPNp14QAXtXqLJFGURrUlKm2jDYARVVxf NUpA== X-Gm-Message-State: APjAAAUgvmSaTo6nJfHGqgjcexuIYRfQ91beba3VYXjsRA+YX6NJG8pF dEP8viiXGtPoKm8a8VGNA961Zg== X-Received: by 2002:aa7:93b7:: with SMTP id x23mr12589265pff.250.1568926735403; Thu, 19 Sep 2019 13:58:55 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f18sm3666342pgf.58.2019.09.19.13.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 13:58:54 -0700 (PDT) Date: Thu, 19 Sep 2019 13:58:53 -0700 From: Kees Cook To: Tim.Bird@sony.com Cc: shuah@kernel.org, anders.roxell@linaro.org, alexandre.belloni@bootlin.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test Message-ID: <201909191357.7B79D5D427@keescook> References: <201909191102.97FA56072@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 19, 2019 at 08:49:14PM +0000, Tim.Bird@sony.com wrote: > > > +export timeout_rc=124 > > what are the units here? I presume seconds? > > Nevermind. I misread this. This is the return code from the 'timeout' program, right? Correct -- given the skip_rc usage, it felt weird to hard-code it in the if/else statements. As for the "45" I chose, that was just to be "more than 30" which was the per-sub-test for tests built using kselftest_harness.h. -- Kees Cook