Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4577153ybb; Tue, 14 Apr 2020 09:57:59 -0700 (PDT) X-Google-Smtp-Source: APiQypL3q7k7T4zSdOErEUNX6jY1vuOEmy38CB+I0lemF8+MU5zVJ48x6JYsNoiNwR+Iy3ghOhb1 X-Received: by 2002:a17:906:1c8a:: with SMTP id g10mr1127856ejh.342.1586883479440; Tue, 14 Apr 2020 09:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586883479; cv=none; d=google.com; s=arc-20160816; b=x6VmT/IC2TNs7/x+pJnY/mBAY/pPTtw3p5HSOdaXinGfqIrKRqFBxbia3FjNZjw9Oq XlURls/j9M2extwpc8+/S/0ewdIWNlv9xjPfZVByilWwDX5RJ9iegXKc+4/qTid9Voam MAqRHn6QjzY/kELEstRqj75piMV5m3vrfh727li0JwqdbD4BRMeQ2k1M1PXoWkBzZF9i JB+SOEbJVGVZS8Lu1ngc37Cj9AK2wwqN8UIGLboqz0Qt9Iz6F37arnlfACQKZE6Qdydw x3eNdKZPWU+77DTFT6ja+TNMDtYOq4O/DeXsX8JptOG+ZuXSZ72l+s2F4m5vrMyjq4ai K7rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8l1KCvVim0XyEUCkoKAROKJ/8ipRd6NTAuc9v+CSI+4=; b=yefVTrDV5fc94vMLCjZRbOKy4Lbj2YRYzePKTQ6cTKfRiEblH6W0TqZ/wQkWsT2kvP 0oLT3f8G+3x6ufURUtAqE0Y6XGgh9w9m7tdRUI7BQKPR9FDYSjAyM0KDe1Lbdj2HsIVm wq6+E+gd+rzFH9KfF1oNaF/k66w3vJH+y8roov/atGY5olhpEXY2GVDbtFTtQW1BFCue aCwv4EaMXqOhIcxanu5Vph66eaAD2ioJ/ytyJKly0IFOJfEhtXLlw9kMRHW7FKVL8+gJ TaAh30DVbyu4cX8kdhK52S886UVRGdOsicclM9VnVLp2QkA58tTe65c3XQT2p2z6LHj4 EeOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SeHHlKJr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si9839880edp.376.2020.04.14.09.57.35; Tue, 14 Apr 2020 09:57:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SeHHlKJr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440607AbgDNQuv (ORCPT + 99 others); Tue, 14 Apr 2020 12:50:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:55812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440445AbgDNQt3 (ORCPT ); Tue, 14 Apr 2020 12:49:29 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 959CC215A4; Tue, 14 Apr 2020 16:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586882969; bh=ooRDyaPgSsVt4tLNtUCnIAPFTG4dZFZGWj4c122vd84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SeHHlKJrJjmFhWQD566xMcVZZ3RgShp6zE6sXdagx6I3JTVzCJKuOOS2UZym6bIg/ HmEvKoLKwdCG+hv5sYQZRcNu088IZzXQN66IJ/xpxdPKyrcYC4qKr0GcEDeyHWN4ab geawZG7XtYlnh9lMuA/TYI8TC7yqHUzYevZr89vU= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Eric Biggers Subject: [PATCH 09/15] tools headers UAPI: Sync linux/fscrypt.h with the kernel sources Date: Tue, 14 Apr 2020 13:48:48 -0300 Message-Id: <20200414164854.26026-10-acme@kernel.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200414164854.26026-1-acme@kernel.org> References: <20200414164854.26026-1-acme@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo To pick the changes from: e98ad464750c ("fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl") That don't trigger any changes in tooling. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/fscrypt.h' differs from latest version at 'include/uapi/linux/fscrypt.h' diff -u tools/include/uapi/linux/fscrypt.h include/uapi/linux/fscrypt.h In time we should come up with something like: $ tools/perf/trace/beauty/fsconfig.sh static const char *fsconfig_cmds[] = { [0] = "SET_FLAG", [1] = "SET_STRING", [2] = "SET_BINARY", [3] = "SET_PATH", [4] = "SET_PATH_EMPTY", [5] = "SET_FD", [6] = "CMD_CREATE", [7] = "CMD_RECONFIGURE", }; $ And: $ tools/perf/trace/beauty/drm_ioctl.sh | head #ifndef DRM_COMMAND_BASE #define DRM_COMMAND_BASE 0x40 #endif static const char *drm_ioctl_cmds[] = { [0x00] = "VERSION", [0x01] = "GET_UNIQUE", [0x02] = "GET_MAGIC", [0x03] = "IRQ_BUSID", [0x04] = "GET_MAP", [0x05] = "GET_CLIENT", $ For fscrypt's ioctls. Cc: Adrian Hunter Cc: Eric Biggers Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/uapi/linux/fscrypt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/uapi/linux/fscrypt.h b/tools/include/uapi/linux/fscrypt.h index 0d8a6f47711c..a10e3cdc2839 100644 --- a/tools/include/uapi/linux/fscrypt.h +++ b/tools/include/uapi/linux/fscrypt.h @@ -163,6 +163,7 @@ struct fscrypt_get_key_status_arg { #define FS_IOC_REMOVE_ENCRYPTION_KEY _IOWR('f', 24, struct fscrypt_remove_key_arg) #define FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS _IOWR('f', 25, struct fscrypt_remove_key_arg) #define FS_IOC_GET_ENCRYPTION_KEY_STATUS _IOWR('f', 26, struct fscrypt_get_key_status_arg) +#define FS_IOC_GET_ENCRYPTION_NONCE _IOR('f', 27, __u8[16]) /**********************************************************************/ -- 2.21.1