From patchwork Tue Mar 10 02:53:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ronald Monthero X-Patchwork-Id: 1251955 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=iWgWJ/o5; 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 48c05s4sNBz9sRN for ; Tue, 10 Mar 2020 13:53:37 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 100A03C6177 for ; Tue, 10 Mar 2020 03:53:35 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6]) by picard.linux.it (Postfix) with ESMTP id 8BC033C613B for ; Tue, 10 Mar 2020 03:53:32 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by in-6.smtp.seeweb.it (Postfix) with ESMTP id EDFEB1401A5C for ; Tue, 10 Mar 2020 03:53:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583808810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2nqZYsheq4Bf1UsIdg1LI3/RAaGJwpwhmUG/NMta7c0=; b=iWgWJ/o5jg1FW0GsdF3MnJsu96aozy7hdmYDwhJLX/SD5pmUrv3fw4KyKS73KJyZzMsTDv qCKIC+3U+hrXwQjVbLIusWSQxm/CMku9UxMWUkgD3LvQEMtTCKGL83aJiLo5sgNU46HIP8 GrTA+gACzluLH5jJHdwjpzEvjePP4E0= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-330-kK9Ts2MyP4WKNJJ_n3YbGQ-1; Mon, 09 Mar 2020 22:53:28 -0400 X-MC-Unique: kK9Ts2MyP4WKNJJ_n3YbGQ-1 Received: by mail-lf1-f70.google.com with SMTP id q4so3578112lfp.3 for ; Mon, 09 Mar 2020 19:53:28 -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:references:in-reply-to:from:date :message-id:subject:to; bh=c1rNxRVwdoEQp1I6TPbnHgg9cCMFgEZkAz9+UhKlu7s=; b=GkeipmMPjpROaouuKSmevhDRkOy46zNhUpeSxKefRJ3Voxk31vYo3AgTGQJxIOoM9H IoMV97/VwRS0zuqD7qy78shrlhtvoQU+oAkdYEFi4eA8Dk2KVNhdTz4Z5Td2ifalqfvG 1SUxUsCxmPUhqtFF4ix2eoOj2dbX+jUfMy+vre0SReBKQR0aojQZF97oppdYv+kH8EC9 UPW3csDbaQONh51M+N6tC4VHMp87vUeCREhvC+jrPpMmHCp9GO7gAm0Km5Po9O+U/cGA x+jkJ46+GteCRM98B0VV3rVzAP970nnPafjfLuxjj/CB+jdpSXZo/o5utNLy630Ntltc ds7g== X-Gm-Message-State: ANhLgQ3eSn+7mRbYpeFbn+oqdj7I3gg2SkBmLToD+vxdaIzgX7F/YIZo JrivR1sJ8IpPQy08vJK4brPVvNo4vHmf4w6/7oYo5oAsl95Z0RdT2gTdDZHSaAX79qeJJCawcXF fs7fNVi3mVftUfVlQz8ok8oLzIyA= X-Received: by 2002:a05:6512:3042:: with SMTP id b2mr11362659lfb.36.1583808806550; Mon, 09 Mar 2020 19:53:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvVVbrAWxX9sxH2EvKmnsW2CtQ7A3tNS/mRrW8HpfzJZ/bDAId2Fr4sESw1qqloncWOxFyVG0+Cr5N0wt8apTA= X-Received: by 2002:a05:6512:3042:: with SMTP id b2mr11362656lfb.36.1583808806359; Mon, 09 Mar 2020 19:53:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ronald Monthero Date: Tue, 10 Mar 2020 12:53:15 +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-6.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, SPF_HELO_NONE, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-6.smtp.seeweb.it Subject: [LTP] Fwd: 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 --- include/lapi/capability.h | 4 ++++ 1 file changed, 4 insertions(+) --- 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 -- 2.21.1 ---------- Forwarded message --------- From: Ronald Monthero Date: Tue, Mar 10, 2020 at 12:44 PM Subject: Fix build error because of undefined CAP_SYS_TIME To: Details of the build log at pr#654 https://github.com/linux-test-project/ltp/pull/654 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