aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/Kbuild1
-rw-r--r--include/uapi/linux/audit.h2
-rw-r--r--include/uapi/linux/in6.h1
-rw-r--r--include/uapi/linux/vtpm_proxy.h36
4 files changed, 40 insertions, 0 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild
index ec10cfef166a..6d4e92ccdc91 100644
--- a/include/uapi/linux/Kbuild
+++ b/include/uapi/linux/Kbuild
@@ -455,6 +455,7 @@ header-y += virtio_scsi.h
455header-y += virtio_types.h 455header-y += virtio_types.h
456header-y += vm_sockets.h 456header-y += vm_sockets.h
457header-y += vt.h 457header-y += vt.h
458header-y += vtpm_proxy.h
458header-y += wait.h 459header-y += wait.h
459header-y += wanrouter.h 460header-y += wanrouter.h
460header-y += watchdog.h 461header-y += watchdog.h
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index d820aa979620..82e8aa59446b 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -130,6 +130,8 @@
130#define AUDIT_MAC_IPSEC_EVENT 1415 /* Audit an IPSec event */ 130#define AUDIT_MAC_IPSEC_EVENT 1415 /* Audit an IPSec event */
131#define AUDIT_MAC_UNLBL_STCADD 1416 /* NetLabel: add a static label */ 131#define AUDIT_MAC_UNLBL_STCADD 1416 /* NetLabel: add a static label */
132#define AUDIT_MAC_UNLBL_STCDEL 1417 /* NetLabel: del a static label */ 132#define AUDIT_MAC_UNLBL_STCDEL 1417 /* NetLabel: del a static label */
133#define AUDIT_MAC_CALIPSO_ADD 1418 /* NetLabel: add CALIPSO DOI entry */
134#define AUDIT_MAC_CALIPSO_DEL 1419 /* NetLabel: del CALIPSO DOI entry */
133 135
134#define AUDIT_FIRST_KERN_ANOM_MSG 1700 136#define AUDIT_FIRST_KERN_ANOM_MSG 1700
135#define AUDIT_LAST_KERN_ANOM_MSG 1799 137#define AUDIT_LAST_KERN_ANOM_MSG 1799
diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h
index 318a4828bf98..b39ea4f2e701 100644
--- a/include/uapi/linux/in6.h
+++ b/include/uapi/linux/in6.h
@@ -143,6 +143,7 @@ struct in6_flowlabel_req {
143#define IPV6_TLV_PAD1 0 143#define IPV6_TLV_PAD1 0
144#define IPV6_TLV_PADN 1 144#define IPV6_TLV_PADN 1
145#define IPV6_TLV_ROUTERALERT 5 145#define IPV6_TLV_ROUTERALERT 5
146#define IPV6_TLV_CALIPSO 7 /* RFC 5570 */
146#define IPV6_TLV_JUMBO 194 147#define IPV6_TLV_JUMBO 194
147#define IPV6_TLV_HAO 201 /* home address option */ 148#define IPV6_TLV_HAO 201 /* home address option */
148 149
diff --git a/include/uapi/linux/vtpm_proxy.h b/include/uapi/linux/vtpm_proxy.h
new file mode 100644
index 000000000000..41e8e2252a30
--- /dev/null
+++ b/include/uapi/linux/vtpm_proxy.h
@@ -0,0 +1,36 @@
1/*
2 * Definitions for the VTPM proxy driver
3 * Copyright (c) 2015, 2016, IBM Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */
14
15#ifndef _UAPI_LINUX_VTPM_PROXY_H
16#define _UAPI_LINUX_VTPM_PROXY_H
17
18#include <linux/types.h>
19#include <linux/ioctl.h>
20
21/* ioctls */
22
23struct vtpm_proxy_new_dev {
24 __u32 flags; /* input */
25 __u32 tpm_num; /* output */
26 __u32 fd; /* output */
27 __u32 major; /* output */
28 __u32 minor; /* output */
29};
30
31/* above flags */
32#define VTPM_PROXY_FLAG_TPM2 1 /* emulator is TPM 2 */
33
34#define VTPM_PROXY_IOC_NEW_DEV _IOWR(0xa1, 0x00, struct vtpm_proxy_new_dev)
35
36#endif /* _UAPI_LINUX_VTPM_PROXY_H */