From patchwork Tue Mar 10 02:44:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ronald Monthero X-Patchwork-Id: 1251954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XzQAeUX6; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48bzwK41jGz9sRf for ; Tue, 10 Mar 2020 13:45:21 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 070E93C6179 for ; Tue, 10 Mar 2020 03:45:16 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) by picard.linux.it (Postfix) with ESMTP id 8125E3C613B for ; Tue, 10 Mar 2020 03:45:13 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by in-2.smtp.seeweb.it (Postfix) with ESMTP id 0AA6B601E23 for ; Tue, 10 Mar 2020 03:45:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583808311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=V7soeGZH75VHGfHywCxxqNX1aflin+GYHBReXVNKPdU=; b=XzQAeUX6HLtTRVg5si+2fVfVjzz+IRY8ze+RGANq1ifGwXs013Sivb5HrDAPgcWY2DkG86 vl0tbnDn51lgGhVXfVW9tv9KZYIzZBHSPWtWs8xD3Q34eDuKxEyGos4vCt9bzPOQURxPpE 3RytBf2+SKB0FgT3t+nbu34wDC7rFmI= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-Q-_8ezwsPomRmpZY0EXPoA-1; Mon, 09 Mar 2020 22:45:07 -0400 X-MC-Unique: Q-_8ezwsPomRmpZY0EXPoA-1 Received: by mail-lj1-f197.google.com with SMTP id l18so400866lja.19 for ; Mon, 09 Mar 2020 19:45:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BXgCwh2eSq/XMmxA0VKtBSHEBf9U8BNFOqkV99Nu8R8=; b=eFG0pdxqsQrkDVeABsmrc2wwnwj7VTacVXqIKlsCrLHVnYLYc3kvbEwD6fU0UtdGlx KncgHdaet6WrHRbN80AEl0gvo7z/I5sMI++mMtNobm2rZNEOQZjOxHQbG4R3r+27XGqS 9vTLVpr80YBV7Dm094sOhM3G0AeWFO8Bf8+h+n6+h+fIOYdFgi4UdAHkl/ESgOQbMihB ZvbJeF2D6kUXzWgMS24wjwUjqlIVKmr4Nh4aLLGJMELXpNWtLm8toNfYmR2ALQ7vih3y 0Fa3FeUb9DRqa95BHGidovFsROOOjzcPpwZcqUfuJx2Q1v3Uo51VE3sRvjOpbI8d4j9n OzHA== X-Gm-Message-State: ANhLgQ02wJ6pbQ6gAWc4lWVLJv6NiYOc5DPxEsODoNQN4UVT50+BUnid 0hru01IRtlTFfcstg2QWBhyScjqf2cdr+t/d/VDf8sMnwXJqNNvTMHD5xrtADl4Uv+fghY8NLy4 QVBh1uI7eFGuHtZGKD0T9iDg950A= X-Received: by 2002:a2e:a312:: with SMTP id l18mr2706731lje.229.1583808305691; Mon, 09 Mar 2020 19:45:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt7Ps7GvpQ41OoZu+D0AEe4Nq5U45k2tIfbJgLHVgGO/ISc33uodqNC8nz3/3TizA/2OmvnExnSJ1po1uZ0dyw= X-Received: by 2002:a2e:a312:: with SMTP id l18mr2706722lje.229.1583808305428; Mon, 09 Mar 2020 19:45:05 -0700 (PDT) MIME-Version: 1.0 From: Ronald Monthero Date: Tue, 10 Mar 2020 12:44:54 +1000 Message-ID: To: ltp@lists.linux.it X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Virus-Scanned: clamav-milter 0.99.2 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HTML_MESSAGE, SPF_HELO_NONE, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-2.smtp.seeweb.it Subject: [LTP] Fix build error because of undefined CAP_SYS_TIME X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Details of the build log at pr#654 https://github.com/linux-test-project/ltp/pull/654 Signed-off-by: Ronald Monthero Signed-off-by: Ronald Monthero --- --- diff --git a/include/lapi/capability.h b/include/lapi/capability.h index 8833f0605..8ed68bfce 100644 --- a/include/lapi/capability.h +++ b/include/lapi/capability.h @@ -24,6 +24,10 @@ # define CAP_NET_RAW 13 #endif +#ifndef CAP_SYS_TIME +#define CAP_SYS_TIME 25 +#endif + #ifndef CAP_SYS_ADMIN # define CAP_SYS_ADMIN 21 #endif