Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.217.105
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
android
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
byteorder
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
caif
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
can
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
cifs
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
dvb
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
genwqe
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
hdlc
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
hsi
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
iio
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
isdn
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
misc
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
mmc
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
netfilter
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
netfilter_arp
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
netfilter_bridge
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
nfsd
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
raid
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
sched
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
spi
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
sunrpc
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
surface_aggregator
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
tc_act
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
tc_ematch
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
usb
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
a.out.h
6.73
KB
-rw-r--r--
2026-06-21 00:49
acct.h
3.74
KB
-rw-r--r--
2026-06-21 00:49
acrn.h
16.3
KB
-rw-r--r--
2026-06-21 00:49
adb.h
1.11
KB
-rw-r--r--
2026-06-21 00:49
adfs_fs.h
993
B
-rw-r--r--
2026-06-21 00:49
affs_hardblocks.h
1.54
KB
-rw-r--r--
2026-06-21 00:49
agpgart.h
3.85
KB
-rw-r--r--
2026-06-21 00:49
aio_abi.h
3.32
KB
-rw-r--r--
2026-06-21 00:49
am437x-vpfe.h
3.59
KB
-rw-r--r--
2026-06-21 00:49
apm_bios.h
3.6
KB
-rw-r--r--
2026-06-21 00:49
arcfb.h
213
B
-rw-r--r--
2026-06-21 00:49
arm_sdei.h
2.69
KB
-rw-r--r--
2026-06-21 00:49
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
2026-06-21 00:49
aspeed-p2a-ctrl.h
1.86
KB
-rw-r--r--
2026-06-21 00:49
atalk.h
1023
B
-rw-r--r--
2026-06-21 00:49
atm.h
7.7
KB
-rw-r--r--
2026-06-21 00:49
atm_eni.h
648
B
-rw-r--r--
2026-06-21 00:49
atm_he.h
406
B
-rw-r--r--
2026-06-21 00:49
atm_idt77105.h
955
B
-rw-r--r--
2026-06-21 00:49
atm_nicstar.h
1.25
KB
-rw-r--r--
2026-06-21 00:49
atm_tcp.h
1.58
KB
-rw-r--r--
2026-06-21 00:49
atm_zatm.h
1.5
KB
-rw-r--r--
2026-06-21 00:49
atmapi.h
952
B
-rw-r--r--
2026-06-21 00:49
atmarp.h
1.27
KB
-rw-r--r--
2026-06-21 00:49
atmbr2684.h
3.19
KB
-rw-r--r--
2026-06-21 00:49
atmclip.h
576
B
-rw-r--r--
2026-06-21 00:49
atmdev.h
7.5
KB
-rw-r--r--
2026-06-21 00:49
atmioc.h
1.61
KB
-rw-r--r--
2026-06-21 00:49
atmlec.h
2.33
KB
-rw-r--r--
2026-06-21 00:49
atmmpc.h
4.13
KB
-rw-r--r--
2026-06-21 00:49
atmppp.h
639
B
-rw-r--r--
2026-06-21 00:49
atmsap.h
4.85
KB
-rw-r--r--
2026-06-21 00:49
atmsvc.h
1.81
KB
-rw-r--r--
2026-06-21 00:49
audit.h
20.75
KB
-rw-r--r--
2026-06-21 00:49
aufs_type.h
10.9
KB
-rw-r--r--
2026-06-21 00:49
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
2026-06-21 00:49
auto_fs.h
6.28
KB
-rw-r--r--
2026-06-21 00:49
auto_fs4.h
451
B
-rw-r--r--
2026-06-21 00:49
auxvec.h
1.56
KB
-rw-r--r--
2026-06-21 00:49
ax25.h
2.76
KB
-rw-r--r--
2026-06-21 00:49
batadv_packet.h
19.87
KB
-rw-r--r--
2026-06-21 00:49
batman_adv.h
16.49
KB
-rw-r--r--
2026-06-21 00:49
baycom.h
883
B
-rw-r--r--
2026-06-21 00:49
bcache.h
9.74
KB
-rw-r--r--
2026-06-21 00:49
bcm933xx_hcs.h
419
B
-rw-r--r--
2026-06-21 00:49
bfs_fs.h
1.86
KB
-rw-r--r--
2026-06-21 00:49
binfmts.h
776
B
-rw-r--r--
2026-06-21 00:49
blkpg.h
904
B
-rw-r--r--
2026-06-21 00:49
blktrace_api.h
4.59
KB
-rw-r--r--
2026-06-21 00:49
blkzoned.h
6.34
KB
-rw-r--r--
2026-06-21 00:49
bpf.h
229.56
KB
-rw-r--r--
2026-06-21 00:49
bpf_common.h
1.33
KB
-rw-r--r--
2026-06-21 00:49
bpf_perf_event.h
529
B
-rw-r--r--
2026-06-21 00:49
bpfilter.h
465
B
-rw-r--r--
2026-06-21 00:49
bpqether.h
981
B
-rw-r--r--
2026-06-21 00:49
bsg.h
2.44
KB
-rw-r--r--
2026-06-21 00:49
bt-bmc.h
572
B
-rw-r--r--
2026-06-21 00:49
btf.h
4.68
KB
-rw-r--r--
2026-06-21 00:49
btrfs.h
30.13
KB
-rw-r--r--
2026-06-21 00:49
btrfs_tree.h
26.72
KB
-rw-r--r--
2026-06-21 00:49
can.h
9.04
KB
-rw-r--r--
2026-06-21 00:49
capability.h
13.18
KB
-rw-r--r--
2026-06-21 00:49
capi.h
3.05
KB
-rw-r--r--
2026-06-21 00:49
cciss_defs.h
3.2
KB
-rw-r--r--
2026-06-21 00:49
cciss_ioctl.h
2.7
KB
-rw-r--r--
2026-06-21 00:49
ccs.h
767
B
-rw-r--r--
2026-06-21 00:49
cdrom.h
28.22
KB
-rw-r--r--
2026-06-21 00:49
cec-funcs.h
52.79
KB
-rw-r--r--
2026-06-21 00:49
cec.h
40.44
KB
-rw-r--r--
2026-06-21 00:49
cfm_bridge.h
1.42
KB
-rw-r--r--
2026-06-21 00:49
cgroupstats.h
2.17
KB
-rw-r--r--
2026-06-21 00:49
chio.h
5.16
KB
-rw-r--r--
2026-06-21 00:49
close_range.h
377
B
-rw-r--r--
2026-06-21 00:49
cm4000_cs.h
1.76
KB
-rw-r--r--
2026-06-21 00:49
cn_proc.h
3.38
KB
-rw-r--r--
2026-06-21 00:49
coda.h
17.79
KB
-rw-r--r--
2026-06-21 00:49
coff.h
12.25
KB
-rw-r--r--
2026-06-21 00:49
connector.h
2.2
KB
-rw-r--r--
2026-06-21 00:49
const.h
991
B
-rw-r--r--
2026-06-21 00:49
coresight-stm.h
747
B
-rw-r--r--
2026-06-21 00:49
cramfs_fs.h
3.47
KB
-rw-r--r--
2026-06-21 00:49
cryptouser.h
5.2
KB
-rw-r--r--
2026-06-21 00:49
cuda.h
905
B
-rw-r--r--
2026-06-21 00:49
cxl_mem.h
6.32
KB
-rw-r--r--
2026-06-21 00:49
cyclades.h
969
B
-rw-r--r--
2026-06-21 00:49
cycx_cfm.h
2.92
KB
-rw-r--r--
2026-06-21 00:49
dcbnl.h
24.7
KB
-rw-r--r--
2026-06-21 00:49
dccp.h
6.29
KB
-rw-r--r--
2026-06-21 00:49
devlink.h
19.72
KB
-rw-r--r--
2026-06-21 00:49
dlm.h
2.49
KB
-rw-r--r--
2026-06-21 00:49
dlm_device.h
2.48
KB
-rw-r--r--
2026-06-21 00:49
dlm_netlink.h
1.13
KB
-rw-r--r--
2026-06-21 00:49
dlm_plock.h
894
B
-rw-r--r--
2026-06-21 00:49
dlmconstants.h
4.96
KB
-rw-r--r--
2026-06-21 00:49
dm-ioctl.h
11.33
KB
-rw-r--r--
2026-06-21 00:49
dm-log-userspace.h
14.83
KB
-rw-r--r--
2026-06-21 00:49
dma-buf.h
3.71
KB
-rw-r--r--
2026-06-21 00:49
dma-heap.h
1.36
KB
-rw-r--r--
2026-06-21 00:49
dns_resolver.h
3.86
KB
-rw-r--r--
2026-06-21 00:49
dqblk_xfs.h
9.17
KB
-rw-r--r--
2026-06-21 00:49
edd.h
5.47
KB
-rw-r--r--
2026-06-21 00:49
efs_fs_sb.h
2.17
KB
-rw-r--r--
2026-06-21 00:49
elf-em.h
2.53
KB
-rw-r--r--
2026-06-21 00:49
elf-fdpic.h
1.1
KB
-rw-r--r--
2026-06-21 00:49
elf.h
13.83
KB
-rw-r--r--
2026-06-21 00:49
errno.h
23
B
-rw-r--r--
2026-06-21 00:49
errqueue.h
1.94
KB
-rw-r--r--
2026-06-21 00:49
erspan.h
1.03
KB
-rw-r--r--
2026-06-21 00:49
ethtool.h
80.63
KB
-rw-r--r--
2026-06-21 00:49
ethtool_netlink.h
22.53
KB
-rw-r--r--
2026-06-21 00:49
eventpoll.h
2.84
KB
-rw-r--r--
2026-06-21 00:49
f2fs.h
3.22
KB
-rw-r--r--
2026-06-21 00:49
fadvise.h
842
B
-rw-r--r--
2026-06-21 00:49
falloc.h
3.5
KB
-rw-r--r--
2026-06-21 00:49
fanotify.h
7.3
KB
-rw-r--r--
2026-06-21 00:49
fb.h
16.09
KB
-rw-r--r--
2026-06-21 00:49
fcntl.h
4.15
KB
-rw-r--r--
2026-06-21 00:49
fd.h
11.83
KB
-rw-r--r--
2026-06-21 00:49
fdreg.h
5.24
KB
-rw-r--r--
2026-06-21 00:49
fib_rules.h
1.99
KB
-rw-r--r--
2026-06-21 00:49
fiemap.h
2.71
KB
-rw-r--r--
2026-06-21 00:49
filter.h
2.16
KB
-rw-r--r--
2026-06-21 00:49
firewire-cdev.h
43.2
KB
-rw-r--r--
2026-06-21 00:49
firewire-constants.h
3.16
KB
-rw-r--r--
2026-06-21 00:49
fou.h
894
B
-rw-r--r--
2026-06-21 00:49
fpga-dfl.h
8.52
KB
-rw-r--r--
2026-06-21 00:49
fs.h
12.01
KB
-rw-r--r--
2026-06-21 00:49
fscrypt.h
6.42
KB
-rw-r--r--
2026-06-21 00:49
fsi.h
2.2
KB
-rw-r--r--
2026-06-21 00:49
fsl_hypervisor.h
7.13
KB
-rw-r--r--
2026-06-21 00:49
fsl_mc.h
734
B
-rw-r--r--
2026-06-21 00:49
fsmap.h
4.29
KB
-rw-r--r--
2026-06-21 00:49
fsverity.h
3.11
KB
-rw-r--r--
2026-06-21 00:49
fuse.h
22.45
KB
-rw-r--r--
2026-06-21 00:49
futex.h
4.97
KB
-rw-r--r--
2026-06-21 00:49
gameport.h
897
B
-rw-r--r--
2026-06-21 00:49
gen_stats.h
1.49
KB
-rw-r--r--
2026-06-21 00:49
genetlink.h
2.12
KB
-rw-r--r--
2026-06-21 00:49
gfs2_ondisk.h
14.43
KB
-rw-r--r--
2026-06-21 00:49
gpio.h
19.3
KB
-rw-r--r--
2026-06-21 00:49
gsmmux.h
1.12
KB
-rw-r--r--
2026-06-21 00:49
gtp.h
716
B
-rw-r--r--
2026-06-21 00:49
hash_info.h
971
B
-rw-r--r--
2026-06-21 00:49
hdlc.h
637
B
-rw-r--r--
2026-06-21 00:49
hdlcdrv.h
2.84
KB
-rw-r--r--
2026-06-21 00:49
hdreg.h
22.17
KB
-rw-r--r--
2026-06-21 00:49
hid.h
1.86
KB
-rw-r--r--
2026-06-21 00:49
hiddev.h
6.2
KB
-rw-r--r--
2026-06-21 00:49
hidraw.h
1.95
KB
-rw-r--r--
2026-06-21 00:49
hpet.h
743
B
-rw-r--r--
2026-06-21 00:49
hsr_netlink.h
1.08
KB
-rw-r--r--
2026-06-21 00:49
hw_breakpoint.h
742
B
-rw-r--r--
2026-06-21 00:49
hyperv.h
10.34
KB
-rw-r--r--
2026-06-21 00:49
i2c-dev.h
1.83
KB
-rw-r--r--
2026-06-21 00:49
i2c.h
6.73
KB
-rw-r--r--
2026-06-21 00:49
i2o-dev.h
11.28
KB
-rw-r--r--
2026-06-21 00:49
i8k.h
1.49
KB
-rw-r--r--
2026-06-21 00:49
icmp.h
4.67
KB
-rw-r--r--
2026-06-21 00:49
icmpv6.h
4.17
KB
-rw-r--r--
2026-06-21 00:49
idxd.h
7.4
KB
-rw-r--r--
2026-06-21 00:49
if.h
10.67
KB
-rw-r--r--
2026-06-21 00:49
if_addr.h
1.84
KB
-rw-r--r--
2026-06-21 00:49
if_addrlabel.h
721
B
-rw-r--r--
2026-06-21 00:49
if_alg.h
1.53
KB
-rw-r--r--
2026-06-21 00:49
if_arcnet.h
3.63
KB
-rw-r--r--
2026-06-21 00:49
if_arp.h
6.43
KB
-rw-r--r--
2026-06-21 00:49
if_bonding.h
5.02
KB
-rw-r--r--
2026-06-21 00:49
if_bridge.h
18.66
KB
-rw-r--r--
2026-06-21 00:49
if_cablemodem.h
986
B
-rw-r--r--
2026-06-21 00:49
if_eql.h
1.32
KB
-rw-r--r--
2026-06-21 00:49
if_ether.h
8.24
KB
-rw-r--r--
2026-06-21 00:49
if_fc.h
1.7
KB
-rw-r--r--
2026-06-21 00:49
if_fddi.h
4.27
KB
-rw-r--r--
2026-06-21 00:49
if_hippi.h
4.14
KB
-rw-r--r--
2026-06-21 00:49
if_infiniband.h
1.22
KB
-rw-r--r--
2026-06-21 00:49
if_link.h
30.98
KB
-rw-r--r--
2026-06-21 00:49
if_ltalk.h
210
B
-rw-r--r--
2026-06-21 00:49
if_macsec.h
6.32
KB
-rw-r--r--
2026-06-21 00:49
if_packet.h
7.96
KB
-rw-r--r--
2026-06-21 00:49
if_phonet.h
424
B
-rw-r--r--
2026-06-21 00:49
if_plip.h
660
B
-rw-r--r--
2026-06-21 00:49
if_ppp.h
29
B
-rw-r--r--
2026-06-21 00:49
if_pppol2tp.h
3.23
KB
-rw-r--r--
2026-06-21 00:49
if_pppox.h
4.76
KB
-rw-r--r--
2026-06-21 00:49
if_slip.h
872
B
-rw-r--r--
2026-06-21 00:49
if_team.h
2.54
KB
-rw-r--r--
2026-06-21 00:49
if_tun.h
4
KB
-rw-r--r--
2026-06-21 00:49
if_tunnel.h
4.72
KB
-rw-r--r--
2026-06-21 00:49
if_vlan.h
1.79
KB
-rw-r--r--
2026-06-21 00:49
if_x25.h
881
B
-rw-r--r--
2026-06-21 00:49
if_xdp.h
2.94
KB
-rw-r--r--
2026-06-21 00:49
ife.h
351
B
-rw-r--r--
2026-06-21 00:49
igmp.h
2.99
KB
-rw-r--r--
2026-06-21 00:49
ila.h
1.22
KB
-rw-r--r--
2026-06-21 00:49
in.h
10.63
KB
-rw-r--r--
2026-06-21 00:49
in6.h
7.4
KB
-rw-r--r--
2026-06-21 00:49
in_route.h
936
B
-rw-r--r--
2026-06-21 00:49
inet_diag.h
4.9
KB
-rw-r--r--
2026-06-21 00:49
inotify.h
3.21
KB
-rw-r--r--
2026-06-21 00:49
input-event-codes.h
28.21
KB
-rw-r--r--
2026-06-21 00:49
input.h
15.61
KB
-rw-r--r--
2026-06-21 00:49
io_uring.h
9.57
KB
-rw-r--r--
2026-06-21 00:49
ioam6.h
2.33
KB
-rw-r--r--
2026-06-21 00:49
ioam6_genl.h
945
B
-rw-r--r--
2026-06-21 00:49
ioam6_iptunnel.h
436
B
-rw-r--r--
2026-06-21 00:49
ioctl.h
163
B
-rw-r--r--
2026-06-21 00:49
iommu.h
11.73
KB
-rw-r--r--
2026-06-21 00:49
ioprio.h
1.42
KB
-rw-r--r--
2026-06-21 00:49
ip.h
4.7
KB
-rw-r--r--
2026-06-21 00:49
ip6_tunnel.h
1.91
KB
-rw-r--r--
2026-06-21 00:49
ip_vs.h
13.8
KB
-rw-r--r--
2026-06-21 00:49
ipc.h
2.05
KB
-rw-r--r--
2026-06-21 00:49
ipmi.h
14.7
KB
-rw-r--r--
2026-06-21 00:49
ipmi_bmc.h
488
B
-rw-r--r--
2026-06-21 00:49
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
2026-06-21 00:49
ipsec.h
947
B
-rw-r--r--
2026-06-21 00:49
ipu-isys.h
481
B
-rw-r--r--
2026-06-21 00:49
ipu-psys.h
3.48
KB
-rw-r--r--
2026-06-21 00:49
ipv6.h
4.22
KB
-rw-r--r--
2026-06-21 00:49
ipv6_route.h
1.86
KB
-rw-r--r--
2026-06-21 00:49
irqnr.h
104
B
-rw-r--r--
2026-06-21 00:49
iso_fs.h
6.33
KB
-rw-r--r--
2026-06-21 00:49
isst_if.h
5.28
KB
-rw-r--r--
2026-06-21 00:49
ivtv.h
2.95
KB
-rw-r--r--
2026-06-21 00:49
ivtvfb.h
1.18
KB
-rw-r--r--
2026-06-21 00:49
jffs2.h
6.66
KB
-rw-r--r--
2026-06-21 00:49
joystick.h
3.35
KB
-rw-r--r--
2026-06-21 00:49
kcm.h
822
B
-rw-r--r--
2026-06-21 00:49
kcmp.h
522
B
-rw-r--r--
2026-06-21 00:49
kcov.h
1.92
KB
-rw-r--r--
2026-06-21 00:49
kd.h
6.1
KB
-rw-r--r--
2026-06-21 00:49
kdev_t.h
383
B
-rw-r--r--
2026-06-21 00:49
kernel-page-flags.h
900
B
-rw-r--r--
2026-06-21 00:49
kernel.h
194
B
-rw-r--r--
2026-06-21 00:49
kernelcapi.h
1019
B
-rw-r--r--
2026-06-21 00:49
kexec.h
1.87
KB
-rw-r--r--
2026-06-21 00:49
keyboard.h
13.14
KB
-rw-r--r--
2026-06-21 00:49
keyctl.h
5.86
KB
-rw-r--r--
2026-06-21 00:49
kfd_ioctl.h
23.58
KB
-rw-r--r--
2026-06-21 00:49
kvm.h
59.33
KB
-rw-r--r--
2026-06-21 00:49
kvm_para.h
1001
B
-rw-r--r--
2026-06-21 00:49
l2tp.h
5.64
KB
-rw-r--r--
2026-06-21 00:49
landlock.h
4.79
KB
-rw-r--r--
2026-06-21 00:49
libc-compat.h
8.09
KB
-rw-r--r--
2026-06-21 00:49
limits.h
937
B
-rw-r--r--
2026-06-21 00:49
lirc.h
7.95
KB
-rw-r--r--
2026-06-21 00:49
llc.h
3.09
KB
-rw-r--r--
2026-06-21 00:49
loop.h
3.42
KB
-rw-r--r--
2026-06-21 00:49
lp.h
4.09
KB
-rw-r--r--
2026-06-21 00:49
lwtunnel.h
2.17
KB
-rw-r--r--
2026-06-21 00:49
magic.h
3.71
KB
-rw-r--r--
2026-06-21 00:49
major.h
4.55
KB
-rw-r--r--
2026-06-21 00:49
map_to_7segment.h
6.45
KB
-rw-r--r--
2026-06-21 00:49
matroxfb.h
1.43
KB
-rw-r--r--
2026-06-21 00:49
max2175.h
1.01
KB
-rw-r--r--
2026-06-21 00:49
mctp.h
736
B
-rw-r--r--
2026-06-21 00:49
mdio.h
16.87
KB
-rw-r--r--
2026-06-21 00:49
media-bus-format.h
6.75
KB
-rw-r--r--
2026-06-21 00:49
media.h
12.41
KB
-rw-r--r--
2026-06-21 00:49
mei.h
3.39
KB
-rw-r--r--
2026-06-21 00:49
membarrier.h
9.14
KB
-rw-r--r--
2026-06-21 00:49
memfd.h
1.29
KB
-rw-r--r--
2026-06-21 00:49
mempolicy.h
2.51
KB
-rw-r--r--
2026-06-21 00:49
meye.h
2.47
KB
-rw-r--r--
2026-06-21 00:49
mii.h
9.33
KB
-rw-r--r--
2026-06-21 00:49
minix_fs.h
2.07
KB
-rw-r--r--
2026-06-21 00:49
mman.h
1.55
KB
-rw-r--r--
2026-06-21 00:49
mmtimer.h
2.07
KB
-rw-r--r--
2026-06-21 00:49
module.h
255
B
-rw-r--r--
2026-06-21 00:49
mount.h
4.97
KB
-rw-r--r--
2026-06-21 00:49
mpls.h
2.25
KB
-rw-r--r--
2026-06-21 00:49
mpls_iptunnel.h
761
B
-rw-r--r--
2026-06-21 00:49
mptcp.h
5.6
KB
-rw-r--r--
2026-06-21 00:49
mqueue.h
2.15
KB
-rw-r--r--
2026-06-21 00:49
mroute.h
5.78
KB
-rw-r--r--
2026-06-21 00:49
mroute6.h
4.81
KB
-rw-r--r--
2026-06-21 00:49
mrp_bridge.h
1.67
KB
-rw-r--r--
2026-06-21 00:49
msdos_fs.h
6.57
KB
-rw-r--r--
2026-06-21 00:49
msg.h
3.31
KB
-rw-r--r--
2026-06-21 00:49
mtio.h
7.98
KB
-rw-r--r--
2026-06-21 00:49
nbd-netlink.h
2.35
KB
-rw-r--r--
2026-06-21 00:49
nbd.h
2.95
KB
-rw-r--r--
2026-06-21 00:49
ncsi.h
4.71
KB
-rw-r--r--
2026-06-21 00:49
ndctl.h
6.8
KB
-rw-r--r--
2026-06-21 00:49
neighbour.h
5
KB
-rw-r--r--
2026-06-21 00:49
net.h
2.04
KB
-rw-r--r--
2026-06-21 00:49
net_dropmon.h
2.82
KB
-rw-r--r--
2026-06-21 00:49
net_namespace.h
715
B
-rw-r--r--
2026-06-21 00:49
net_tstamp.h
5.44
KB
-rw-r--r--
2026-06-21 00:49
netconf.h
614
B
-rw-r--r--
2026-06-21 00:49
netdevice.h
2.2
KB
-rw-r--r--
2026-06-21 00:49
netfilter.h
1.67
KB
-rw-r--r--
2026-06-21 00:49
netfilter_arp.h
445
B
-rw-r--r--
2026-06-21 00:49
netfilter_bridge.h
1.21
KB
-rw-r--r--
2026-06-21 00:49
netfilter_ipv4.h
1.45
KB
-rw-r--r--
2026-06-21 00:49
netfilter_ipv6.h
1.35
KB
-rw-r--r--
2026-06-21 00:49
netlink.h
11.38
KB
-rw-r--r--
2026-06-21 00:49
netlink_diag.h
1.49
KB
-rw-r--r--
2026-06-21 00:49
netrom.h
807
B
-rw-r--r--
2026-06-21 00:49
nexthop.h
2.76
KB
-rw-r--r--
2026-06-21 00:49
nfc.h
10.97
KB
-rw-r--r--
2026-06-21 00:49
nfs.h
4.36
KB
-rw-r--r--
2026-06-21 00:49
nfs2.h
1.43
KB
-rw-r--r--
2026-06-21 00:49
nfs3.h
2.4
KB
-rw-r--r--
2026-06-21 00:49
nfs4.h
6.34
KB
-rw-r--r--
2026-06-21 00:49
nfs4_mount.h
1.89
KB
-rw-r--r--
2026-06-21 00:49
nfs_fs.h
1.6
KB
-rw-r--r--
2026-06-21 00:49
nfs_idmap.h
2.19
KB
-rw-r--r--
2026-06-21 00:49
nfs_mount.h
2.09
KB
-rw-r--r--
2026-06-21 00:49
nfsacl.h
718
B
-rw-r--r--
2026-06-21 00:49
nilfs2_api.h
7.41
KB
-rw-r--r--
2026-06-21 00:49
nilfs2_ondisk.h
17.66
KB
-rw-r--r--
2026-06-21 00:49
nitro_enclaves.h
12.84
KB
-rw-r--r--
2026-06-21 00:49
nl80211-vnd-intel.h
2.87
KB
-rw-r--r--
2026-06-21 00:49
nl80211.h
306.65
KB
-rw-r--r--
2026-06-21 00:49
nsfs.h
639
B
-rw-r--r--
2026-06-21 00:49
nubus.h
8
KB
-rw-r--r--
2026-06-21 00:49
nvme_ioctl.h
1.62
KB
-rw-r--r--
2026-06-21 00:49
nvram.h
532
B
-rw-r--r--
2026-06-21 00:49
omap3isp.h
20.45
KB
-rw-r--r--
2026-06-21 00:49
omapfb.h
5.78
KB
-rw-r--r--
2026-06-21 00:49
oom.h
511
B
-rw-r--r--
2026-06-21 00:49
openat2.h
1.42
KB
-rw-r--r--
2026-06-21 00:49
openvswitch.h
38.68
KB
-rw-r--r--
2026-06-21 00:49
packet_diag.h
1.63
KB
-rw-r--r--
2026-06-21 00:49
param.h
141
B
-rw-r--r--
2026-06-21 00:49
parport.h
3.56
KB
-rw-r--r--
2026-06-21 00:49
patchkey.h
892
B
-rw-r--r--
2026-06-21 00:49
pci.h
1.35
KB
-rw-r--r--
2026-06-21 00:49
pci_regs.h
57.28
KB
-rw-r--r--
2026-06-21 00:49
pcitest.h
878
B
-rw-r--r--
2026-06-21 00:49
perf_event.h
38.83
KB
-rw-r--r--
2026-06-21 00:49
personality.h
2.05
KB
-rw-r--r--
2026-06-21 00:49
pfkeyv2.h
10.32
KB
-rw-r--r--
2026-06-21 00:49
pg.h
2.34
KB
-rw-r--r--
2026-06-21 00:49
phantom.h
1.62
KB
-rw-r--r--
2026-06-21 00:49
phonet.h
4.57
KB
-rw-r--r--
2026-06-21 00:49
pidfd.h
256
B
-rw-r--r--
2026-06-21 00:49
pkt_cls.h
17.75
KB
-rw-r--r--
2026-06-21 00:49
pkt_sched.h
29.4
KB
-rw-r--r--
2026-06-21 00:49
pktcdvd.h
2.62
KB
-rw-r--r--
2026-06-21 00:49
pmu.h
5.32
KB
-rw-r--r--
2026-06-21 00:49
poll.h
22
B
-rw-r--r--
2026-06-21 00:49
posix_acl.h
1.22
KB
-rw-r--r--
2026-06-21 00:49
posix_acl_xattr.h
1.09
KB
-rw-r--r--
2026-06-21 00:49
posix_types.h
1.07
KB
-rw-r--r--
2026-06-21 00:49
ppdev.h
3.21
KB
-rw-r--r--
2026-06-21 00:49
ppp-comp.h
2.47
KB
-rw-r--r--
2026-06-21 00:49
ppp-ioctl.h
5.59
KB
-rw-r--r--
2026-06-21 00:49
ppp_defs.h
5.43
KB
-rw-r--r--
2026-06-21 00:49
pps.h
4.62
KB
-rw-r--r--
2026-06-21 00:49
pr.h
1.05
KB
-rw-r--r--
2026-06-21 00:49
prctl.h
9.17
KB
-rw-r--r--
2026-06-21 00:49
psample.h
2.22
KB
-rw-r--r--
2026-06-21 00:49
psci.h
4.23
KB
-rw-r--r--
2026-06-21 00:49
psp-sev.h
4.06
KB
-rw-r--r--
2026-06-21 00:49
ptp_clock.h
7.28
KB
-rw-r--r--
2026-06-21 00:49
ptrace.h
4.31
KB
-rw-r--r--
2026-06-21 00:49
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
2026-06-21 00:49
qnx4_fs.h
2.27
KB
-rw-r--r--
2026-06-21 00:49
qnxtypes.h
624
B
-rw-r--r--
2026-06-21 00:49
qrtr.h
893
B
-rw-r--r--
2026-06-21 00:49
quota.h
6.14
KB
-rw-r--r--
2026-06-21 00:49
radeonfb.h
360
B
-rw-r--r--
2026-06-21 00:49
random.h
1.38
KB
-rw-r--r--
2026-06-21 00:49
rds.h
10.91
KB
-rw-r--r--
2026-06-21 00:49
reboot.h
1.31
KB
-rw-r--r--
2026-06-21 00:49
reiserfs_fs.h
775
B
-rw-r--r--
2026-06-21 00:49
reiserfs_xattr.h
533
B
-rw-r--r--
2026-06-21 00:49
remoteproc_cdev.h
1.08
KB
-rw-r--r--
2026-06-21 00:49
resource.h
2.32
KB
-rw-r--r--
2026-06-21 00:49
rfkill.h
5.96
KB
-rw-r--r--
2026-06-21 00:49
rio_cm_cdev.h
3.17
KB
-rw-r--r--
2026-06-21 00:49
rio_mport_cdev.h
9.11
KB
-rw-r--r--
2026-06-21 00:49
rkisp1-config.h
30.63
KB
-rw-r--r--
2026-06-21 00:49
romfs_fs.h
1.21
KB
-rw-r--r--
2026-06-21 00:49
rose.h
2.18
KB
-rw-r--r--
2026-06-21 00:49
route.h
2.28
KB
-rw-r--r--
2026-06-21 00:49
rpl.h
814
B
-rw-r--r--
2026-06-21 00:49
rpl_iptunnel.h
424
B
-rw-r--r--
2026-06-21 00:49
rpmsg.h
803
B
-rw-r--r--
2026-06-21 00:49
rpmsg_types.h
288
B
-rw-r--r--
2026-06-21 00:49
rseq.h
4.6
KB
-rw-r--r--
2026-06-21 00:49
rtc.h
4.49
KB
-rw-r--r--
2026-06-21 00:49
rtnetlink.h
20.26
KB
-rw-r--r--
2026-06-21 00:49
rxrpc.h
4.81
KB
-rw-r--r--
2026-06-21 00:49
scc.h
4.52
KB
-rw-r--r--
2026-06-21 00:49
sched.h
6.12
KB
-rw-r--r--
2026-06-21 00:49
scif_ioctl.h
6.23
KB
-rw-r--r--
2026-06-21 00:49
screen_info.h
2.42
KB
-rw-r--r--
2026-06-21 00:49
sctp.h
35.15
KB
-rw-r--r--
2026-06-21 00:49
seccomp.h
5.6
KB
-rw-r--r--
2026-06-21 00:49
securebits.h
2.64
KB
-rw-r--r--
2026-06-21 00:49
sed-opal.h
3.67
KB
-rw-r--r--
2026-06-21 00:49
seg6.h
1.14
KB
-rw-r--r--
2026-06-21 00:49
seg6_genl.h
589
B
-rw-r--r--
2026-06-21 00:49
seg6_hmac.h
423
B
-rw-r--r--
2026-06-21 00:49
seg6_iptunnel.h
984
B
-rw-r--r--
2026-06-21 00:49
seg6_local.h
3.25
KB
-rw-r--r--
2026-06-21 00:49
selinux_netlink.h
1.17
KB
-rw-r--r--
2026-06-21 00:49
sem.h
2.98
KB
-rw-r--r--
2026-06-21 00:49
serial.h
3.72
KB
-rw-r--r--
2026-06-21 00:49
serial_core.h
5.97
KB
-rw-r--r--
2026-06-21 00:49
serial_reg.h
15.19
KB
-rw-r--r--
2026-06-21 00:49
serio.h
2.05
KB
-rw-r--r--
2026-06-21 00:49
shm.h
3.71
KB
-rw-r--r--
2026-06-21 00:49
signal.h
388
B
-rw-r--r--
2026-06-21 00:49
signalfd.h
1.2
KB
-rw-r--r--
2026-06-21 00:49
smc.h
7.82
KB
-rw-r--r--
2026-06-21 00:49
smc_diag.h
2.77
KB
-rw-r--r--
2026-06-21 00:49
smiapp.h
1.03
KB
-rw-r--r--
2026-06-21 00:49
snmp.h
13.62
KB
-rw-r--r--
2026-06-21 00:49
sock_diag.h
1.27
KB
-rw-r--r--
2026-06-21 00:49
socket.h
940
B
-rw-r--r--
2026-06-21 00:49
sockios.h
6.69
KB
-rw-r--r--
2026-06-21 00:49
sonet.h
2.24
KB
-rw-r--r--
2026-06-21 00:49
sonypi.h
5.18
KB
-rw-r--r--
2026-06-21 00:49
sound.h
1.21
KB
-rw-r--r--
2026-06-21 00:49
soundcard.h
44.96
KB
-rw-r--r--
2026-06-21 00:49
stat.h
6.57
KB
-rw-r--r--
2026-06-21 00:49
stddef.h
1.5
KB
-rw-r--r--
2026-06-21 00:49
stm.h
1.25
KB
-rw-r--r--
2026-06-21 00:49
string.h
238
B
-rw-r--r--
2026-06-21 00:49
suspend_ioctls.h
1.4
KB
-rw-r--r--
2026-06-21 00:49
swab.h
6.78
KB
-rw-r--r--
2026-06-21 00:49
switchtec_ioctl.h
5.14
KB
-rw-r--r--
2026-06-21 00:49
sync_file.h
2.82
KB
-rw-r--r--
2026-06-21 00:49
synclink.h
8.77
KB
-rw-r--r--
2026-06-21 00:49
sysctl.h
25.31
KB
-rw-r--r--
2026-06-21 00:49
sysinfo.h
1.02
KB
-rw-r--r--
2026-06-21 00:49
target_core_user.h
4.52
KB
-rw-r--r--
2026-06-21 00:49
taskstats.h
7.12
KB
-rw-r--r--
2026-06-21 00:49
tcp.h
11.65
KB
-rw-r--r--
2026-06-21 00:49
tcp_metrics.h
1.51
KB
-rw-r--r--
2026-06-21 00:49
tee.h
13.27
KB
-rw-r--r--
2026-06-21 00:49
termios.h
172
B
-rw-r--r--
2026-06-21 00:49
thermal.h
3
KB
-rw-r--r--
2026-06-21 00:49
time.h
1.71
KB
-rw-r--r--
2026-06-21 00:49
time_types.h
1.24
KB
-rw-r--r--
2026-06-21 00:49
timerfd.h
936
B
-rw-r--r--
2026-06-21 00:49
times.h
278
B
-rw-r--r--
2026-06-21 00:49
timex.h
7.63
KB
-rw-r--r--
2026-06-21 00:49
tiocl.h
1.69
KB
-rw-r--r--
2026-06-21 00:49
tipc.h
8.62
KB
-rw-r--r--
2026-06-21 00:49
tipc_config.h
14.52
KB
-rw-r--r--
2026-06-21 00:49
tipc_netlink.h
9.17
KB
-rw-r--r--
2026-06-21 00:49
tipc_sockets_diag.h
468
B
-rw-r--r--
2026-06-21 00:49
tls.h
4.79
KB
-rw-r--r--
2026-06-21 00:49
toshiba.h
1.88
KB
-rw-r--r--
2026-06-21 00:49
tty.h
1.55
KB
-rw-r--r--
2026-06-21 00:49
tty_flags.h
4.4
KB
-rw-r--r--
2026-06-21 00:49
types.h
1.5
KB
-rw-r--r--
2026-06-21 00:49
udf_fs_i.h
697
B
-rw-r--r--
2026-06-21 00:49
udmabuf.h
643
B
-rw-r--r--
2026-06-21 00:49
udp.h
1.65
KB
-rw-r--r--
2026-06-21 00:49
uhid.h
4.54
KB
-rw-r--r--
2026-06-21 00:49
uinput.h
9.04
KB
-rw-r--r--
2026-06-21 00:49
uio.h
732
B
-rw-r--r--
2026-06-21 00:49
uleds.h
798
B
-rw-r--r--
2026-06-21 00:49
ultrasound.h
4.46
KB
-rw-r--r--
2026-06-21 00:49
um_timetravel.h
3.87
KB
-rw-r--r--
2026-06-21 00:49
un.h
384
B
-rw-r--r--
2026-06-21 00:49
unistd.h
220
B
-rw-r--r--
2026-06-21 00:49
unix_diag.h
1.3
KB
-rw-r--r--
2026-06-21 00:49
usbdevice_fs.h
8.12
KB
-rw-r--r--
2026-06-21 00:49
usbip.h
640
B
-rw-r--r--
2026-06-21 00:49
userfaultfd.h
8.89
KB
-rw-r--r--
2026-06-21 00:49
userio.h
1.48
KB
-rw-r--r--
2026-06-21 00:49
utime.h
223
B
-rw-r--r--
2026-06-21 00:49
utsname.h
669
B
-rw-r--r--
2026-06-21 00:49
uuid.h
1.32
KB
-rw-r--r--
2026-06-21 00:49
uvcvideo.h
2.52
KB
-rw-r--r--
2026-06-21 00:49
v4l2-common.h
4.08
KB
-rw-r--r--
2026-06-21 00:49
v4l2-controls.h
84.38
KB
-rw-r--r--
2026-06-21 00:49
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
2026-06-21 00:49
v4l2-mediabus.h
5.29
KB
-rw-r--r--
2026-06-21 00:49
v4l2-subdev.h
7.6
KB
-rw-r--r--
2026-06-21 00:49
vbox_err.h
7.09
KB
-rw-r--r--
2026-06-21 00:49
vbox_vmmdev_types.h
11.42
KB
-rw-r--r--
2026-06-21 00:49
vboxguest.h
9.15
KB
-rw-r--r--
2026-06-21 00:49
vdpa.h
1.15
KB
-rw-r--r--
2026-06-21 00:49
vduse.h
8.1
KB
-rw-r--r--
2026-06-21 00:49
version.h
218
B
-rw-r--r--
2026-06-21 00:49
veth.h
224
B
-rw-r--r--
2026-06-21 00:49
vfio.h
52.53
KB
-rw-r--r--
2026-06-21 00:49
vfio_ccw.h
1.29
KB
-rw-r--r--
2026-06-21 00:49
vfio_zdev.h
2.48
KB
-rw-r--r--
2026-06-21 00:49
vhost.h
6.27
KB
-rw-r--r--
2026-06-21 00:49
vhost_types.h
3.9
KB
-rw-r--r--
2026-06-21 00:49
videodev2.h
93.11
KB
-rw-r--r--
2026-06-21 00:49
virtio_9p.h
2
KB
-rw-r--r--
2026-06-21 00:49
virtio_balloon.h
5.16
KB
-rw-r--r--
2026-06-21 00:49
virtio_blk.h
6.7
KB
-rw-r--r--
2026-06-21 00:49
virtio_bt.h
772
B
-rw-r--r--
2026-06-21 00:49
virtio_config.h
3.91
KB
-rw-r--r--
2026-06-21 00:49
virtio_console.h
3.08
KB
-rw-r--r--
2026-06-21 00:49
virtio_crypto.h
13.56
KB
-rw-r--r--
2026-06-21 00:49
virtio_fs.h
573
B
-rw-r--r--
2026-06-21 00:49
virtio_gpio.h
1.03
KB
-rw-r--r--
2026-06-21 00:49
virtio_gpu.h
10.79
KB
-rw-r--r--
2026-06-21 00:49
virtio_i2c.h
989
B
-rw-r--r--
2026-06-21 00:49
virtio_ids.h
4.2
KB
-rw-r--r--
2026-06-21 00:49
virtio_input.h
2.46
KB
-rw-r--r--
2026-06-21 00:49
virtio_iommu.h
3.69
KB
-rw-r--r--
2026-06-21 00:49
virtio_mem.h
6.79
KB
-rw-r--r--
2026-06-21 00:49
virtio_mmio.h
4.85
KB
-rw-r--r--
2026-06-21 00:49
virtio_net.h
13.49
KB
-rw-r--r--
2026-06-21 00:49
virtio_pci.h
7.23
KB
-rw-r--r--
2026-06-21 00:49
virtio_pcidev.h
2.39
KB
-rw-r--r--
2026-06-21 00:49
virtio_pmem.h
641
B
-rw-r--r--
2026-06-21 00:49
virtio_ring.h
8.38
KB
-rw-r--r--
2026-06-21 00:49
virtio_rng.h
265
B
-rw-r--r--
2026-06-21 00:49
virtio_scmi.h
637
B
-rw-r--r--
2026-06-21 00:49
virtio_scsi.h
5.94
KB
-rw-r--r--
2026-06-21 00:49
virtio_snd.h
9.09
KB
-rw-r--r--
2026-06-21 00:49
virtio_types.h
2.1
KB
-rw-r--r--
2026-06-21 00:49
virtio_vsock.h
3.27
KB
-rw-r--r--
2026-06-21 00:49
vm_sockets.h
6.41
KB
-rw-r--r--
2026-06-21 00:49
vm_sockets_diag.h
963
B
-rw-r--r--
2026-06-21 00:49
vmcore.h
455
B
-rw-r--r--
2026-06-21 00:49
vsockmon.h
1.84
KB
-rw-r--r--
2026-06-21 00:49
vt.h
2.99
KB
-rw-r--r--
2026-06-21 00:49
vtpm_proxy.h
1.68
KB
-rw-r--r--
2026-06-21 00:49
wait.h
682
B
-rw-r--r--
2026-06-21 00:49
watch_queue.h
3.41
KB
-rw-r--r--
2026-06-21 00:49
watchdog.h
2.28
KB
-rw-r--r--
2026-06-21 00:49
wireguard.h
7.57
KB
-rw-r--r--
2026-06-21 00:49
wireless.h
41.7
KB
-rw-r--r--
2026-06-21 00:49
wmi.h
1.72
KB
-rw-r--r--
2026-06-21 00:49
wwan.h
295
B
-rw-r--r--
2026-06-21 00:49
x25.h
3.48
KB
-rw-r--r--
2026-06-21 00:49
xattr.h
2.95
KB
-rw-r--r--
2026-06-21 00:49
xdp_diag.h
1.43
KB
-rw-r--r--
2026-06-21 00:49
xfrm.h
12.12
KB
-rw-r--r--
2026-06-21 00:49
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
2026-06-21 00:49
zorro.h
3.22
KB
-rw-r--r--
2026-06-21 00:49
zorro_ids.h
29.36
KB
-rw-r--r--
2026-06-21 00:49
Save
Rename
/* * Copyright (c) 2015-2016, Linaro Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #ifndef __TEE_H #define __TEE_H #include <linux/ioctl.h> #include <linux/types.h> /* * This file describes the API provided by a TEE driver to user space. * * Each TEE driver defines a TEE specific protocol which is used for the * data passed back and forth using TEE_IOC_CMD. */ /* Helpers to make the ioctl defines */ #define TEE_IOC_MAGIC 0xa4 #define TEE_IOC_BASE 0 /* Flags relating to shared memory */ #define TEE_IOCTL_SHM_MAPPED 0x1 /* memory mapped in normal world */ #define TEE_IOCTL_SHM_DMA_BUF 0x2 /* dma-buf handle on shared memory */ #define TEE_MAX_ARG_SIZE 1024 #define TEE_GEN_CAP_GP (1 << 0)/* GlobalPlatform compliant TEE */ #define TEE_GEN_CAP_PRIVILEGED (1 << 1)/* Privileged device (for supplicant) */ #define TEE_GEN_CAP_REG_MEM (1 << 2)/* Supports registering shared memory */ #define TEE_GEN_CAP_MEMREF_NULL (1 << 3)/* NULL MemRef support */ #define TEE_MEMREF_NULL (__u64)(-1) /* NULL MemRef Buffer */ /* * TEE Implementation ID */ #define TEE_IMPL_ID_OPTEE 1 #define TEE_IMPL_ID_AMDTEE 2 /* * OP-TEE specific capabilities */ #define TEE_OPTEE_CAP_TZ (1 << 0) /** * struct tee_ioctl_version_data - TEE version * @impl_id: [out] TEE implementation id * @impl_caps: [out] Implementation specific capabilities * @gen_caps: [out] Generic capabilities, defined by TEE_GEN_CAPS_* above * * Identifies the TEE implementation, @impl_id is one of TEE_IMPL_ID_* above. * @impl_caps is implementation specific, for example TEE_OPTEE_CAP_* * is valid when @impl_id == TEE_IMPL_ID_OPTEE. */ struct tee_ioctl_version_data { __u32 impl_id; __u32 impl_caps; __u32 gen_caps; }; /** * TEE_IOC_VERSION - query version of TEE * * Takes a tee_ioctl_version_data struct and returns with the TEE version * data filled in. */ #define TEE_IOC_VERSION _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 0, \ struct tee_ioctl_version_data) /** * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument * @size: [in/out] Size of shared memory to allocate * @flags: [in/out] Flags to/from allocation. * @id: [out] Identifier of the shared memory * * The flags field should currently be zero as input. Updated by the call * with actual flags as defined by TEE_IOCTL_SHM_* above. * This structure is used as argument for TEE_IOC_SHM_ALLOC below. */ struct tee_ioctl_shm_alloc_data { __u64 size; __u32 flags; __s32 id; }; /** * TEE_IOC_SHM_ALLOC - allocate shared memory * * Allocates shared memory between the user space process and secure OS. * * Returns a file descriptor on success or < 0 on failure * * The returned file descriptor is used to map the shared memory into user * space. The shared memory is freed when the descriptor is closed and the * memory is unmapped. */ #define TEE_IOC_SHM_ALLOC _IOWR(TEE_IOC_MAGIC, TEE_IOC_BASE + 1, \ struct tee_ioctl_shm_alloc_data) /** * struct tee_ioctl_buf_data - Variable sized buffer * @buf_ptr: [in] A pointer to a buffer * @buf_len: [in] Length of the buffer above * * Used as argument for TEE_IOC_OPEN_SESSION, TEE_IOC_INVOKE, * TEE_IOC_SUPPL_RECV, and TEE_IOC_SUPPL_SEND below. */ struct tee_ioctl_buf_data { __u64 buf_ptr; __u64 buf_len; }; /* * Attributes for struct tee_ioctl_param, selects field in the union */ #define TEE_IOCTL_PARAM_ATTR_TYPE_NONE 0 /* parameter not used */ /* * These defines value parameters (struct tee_ioctl_param_value) */ #define TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT 1 #define TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_OUTPUT 2 #define TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT 3 /* input and output */ /* * These defines shared memory reference parameters (struct * tee_ioctl_param_memref) */ #define TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INPUT 5 #define TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_OUTPUT 6 #define TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT 7 /* input and output */ /* * Mask for the type part of the attribute, leaves room for more types */ #define TEE_IOCTL_PARAM_ATTR_TYPE_MASK 0xff /* Meta parameter carrying extra information about the message. */ #define TEE_IOCTL_PARAM_ATTR_META 0x100 /* Mask of all known attr bits */ #define TEE_IOCTL_PARAM_ATTR_MASK \ (TEE_IOCTL_PARAM_ATTR_TYPE_MASK | TEE_IOCTL_PARAM_ATTR_META) /* * Matches TEEC_LOGIN_* in GP TEE Client API * Are only defined for GP compliant TEEs */ #define TEE_IOCTL_LOGIN_PUBLIC 0 #define TEE_IOCTL_LOGIN_USER 1 #define TEE_IOCTL_LOGIN_GROUP 2 #define TEE_IOCTL_LOGIN_APPLICATION 4 #define TEE_IOCTL_LOGIN_USER_APPLICATION 5 #define TEE_IOCTL_LOGIN_GROUP_APPLICATION 6 /* * Disallow user-space to use GP implementation specific login * method range (0x80000000 - 0xBFFFFFFF). This range is rather * being reserved for REE kernel clients or TEE implementation. */ #define TEE_IOCTL_LOGIN_REE_KERNEL_MIN 0x80000000 #define TEE_IOCTL_LOGIN_REE_KERNEL_MAX 0xBFFFFFFF /* Private login method for REE kernel clients */ #define TEE_IOCTL_LOGIN_REE_KERNEL 0x80000000 /** * struct tee_ioctl_param - parameter * @attr: attributes * @a: if a memref, offset into the shared memory object, else a value parameter * @b: if a memref, size of the buffer, else a value parameter * @c: if a memref, shared memory identifier, else a value parameter * * @attr & TEE_PARAM_ATTR_TYPE_MASK indicates if memref or value is used in * the union. TEE_PARAM_ATTR_TYPE_VALUE_* indicates value and * TEE_PARAM_ATTR_TYPE_MEMREF_* indicates memref. TEE_PARAM_ATTR_TYPE_NONE * indicates that none of the members are used. * * Shared memory is allocated with TEE_IOC_SHM_ALLOC which returns an * identifier representing the shared memory object. A memref can reference * a part of a shared memory by specifying an offset (@a) and size (@b) of * the object. To supply the entire shared memory object set the offset * (@a) to 0 and size (@b) to the previously returned size of the object. * * A client may need to present a NULL pointer in the argument * passed to a trusted application in the TEE. * This is also a requirement in GlobalPlatform Client API v1.0c * (section 3.2.5 memory references), which can be found at * http://www.globalplatform.org/specificationsdevice.asp * * If a NULL pointer is passed to a TA in the TEE, the (@c) * IOCTL parameters value must be set to TEE_MEMREF_NULL indicating a NULL * memory reference. */ struct tee_ioctl_param { __u64 attr; __u64 a; __u64 b; __u64 c; }; #define TEE_IOCTL_UUID_LEN 16 /** * struct tee_ioctl_open_session_arg - Open session argument * @uuid: [in] UUID of the Trusted Application * @clnt_uuid: [in] UUID of client * @clnt_login: [in] Login class of client, TEE_IOCTL_LOGIN_* above * @cancel_id: [in] Cancellation id, a unique value to identify this request * @session: [out] Session id * @ret: [out] return value * @ret_origin [out] origin of the return value * @num_params [in] number of parameters following this struct */ struct tee_ioctl_open_session_arg { __u8 uuid[TEE_IOCTL_UUID_LEN]; __u8 clnt_uuid[TEE_IOCTL_UUID_LEN]; __u32 clnt_login; __u32 cancel_id; __u32 session; __u32 ret; __u32 ret_origin; __u32 num_params; /* num_params tells the actual number of element in params */ struct tee_ioctl_param params[]; }; /** * TEE_IOC_OPEN_SESSION - opens a session to a Trusted Application * * Takes a struct tee_ioctl_buf_data which contains a struct * tee_ioctl_open_session_arg followed by any array of struct * tee_ioctl_param */ #define TEE_IOC_OPEN_SESSION _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 2, \ struct tee_ioctl_buf_data) /** * struct tee_ioctl_invoke_func_arg - Invokes a function in a Trusted * Application * @func: [in] Trusted Application function, specific to the TA * @session: [in] Session id * @cancel_id: [in] Cancellation id, a unique value to identify this request * @ret: [out] return value * @ret_origin [out] origin of the return value * @num_params [in] number of parameters following this struct */ struct tee_ioctl_invoke_arg { __u32 func; __u32 session; __u32 cancel_id; __u32 ret; __u32 ret_origin; __u32 num_params; /* num_params tells the actual number of element in params */ struct tee_ioctl_param params[]; }; /** * TEE_IOC_INVOKE - Invokes a function in a Trusted Application * * Takes a struct tee_ioctl_buf_data which contains a struct * tee_invoke_func_arg followed by any array of struct tee_param */ #define TEE_IOC_INVOKE _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 3, \ struct tee_ioctl_buf_data) /** * struct tee_ioctl_cancel_arg - Cancels an open session or invoke ioctl * @cancel_id: [in] Cancellation id, a unique value to identify this request * @session: [in] Session id, if the session is opened, else set to 0 */ struct tee_ioctl_cancel_arg { __u32 cancel_id; __u32 session; }; /** * TEE_IOC_CANCEL - Cancels an open session or invoke */ #define TEE_IOC_CANCEL _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 4, \ struct tee_ioctl_cancel_arg) /** * struct tee_ioctl_close_session_arg - Closes an open session * @session: [in] Session id */ struct tee_ioctl_close_session_arg { __u32 session; }; /** * TEE_IOC_CLOSE_SESSION - Closes a session */ #define TEE_IOC_CLOSE_SESSION _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 5, \ struct tee_ioctl_close_session_arg) /** * struct tee_iocl_supp_recv_arg - Receive a request for a supplicant function * @func: [in] supplicant function * @num_params [in/out] number of parameters following this struct * * @num_params is the number of params that tee-supplicant has room to * receive when input, @num_params is the number of actual params * tee-supplicant receives when output. */ struct tee_iocl_supp_recv_arg { __u32 func; __u32 num_params; /* num_params tells the actual number of element in params */ struct tee_ioctl_param params[]; }; /** * TEE_IOC_SUPPL_RECV - Receive a request for a supplicant function * * Takes a struct tee_ioctl_buf_data which contains a struct * tee_iocl_supp_recv_arg followed by any array of struct tee_param */ #define TEE_IOC_SUPPL_RECV _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 6, \ struct tee_ioctl_buf_data) /** * struct tee_iocl_supp_send_arg - Send a response to a received request * @ret: [out] return value * @num_params [in] number of parameters following this struct */ struct tee_iocl_supp_send_arg { __u32 ret; __u32 num_params; /* num_params tells the actual number of element in params */ struct tee_ioctl_param params[]; }; /** * TEE_IOC_SUPPL_SEND - Send a response to a received request * * Takes a struct tee_ioctl_buf_data which contains a struct * tee_iocl_supp_send_arg followed by any array of struct tee_param */ #define TEE_IOC_SUPPL_SEND _IOR(TEE_IOC_MAGIC, TEE_IOC_BASE + 7, \ struct tee_ioctl_buf_data) /** * struct tee_ioctl_shm_register_data - Shared memory register argument * @addr: [in] Start address of shared memory to register * @length: [in/out] Length of shared memory to register * @flags: [in/out] Flags to/from registration. * @id: [out] Identifier of the shared memory * * The flags field should currently be zero as input. Updated by the call * with actual flags as defined by TEE_IOCTL_SHM_* above. * This structure is used as argument for TEE_IOC_SHM_REGISTER below. */ struct tee_ioctl_shm_register_data { __u64 addr; __u64 length; __u32 flags; __s32 id; }; /** * TEE_IOC_SHM_REGISTER - Register shared memory argument * * Registers shared memory between the user space process and secure OS. * * Returns a file descriptor on success or < 0 on failure * * The shared memory is unregisterred when the descriptor is closed. */ #define TEE_IOC_SHM_REGISTER _IOWR(TEE_IOC_MAGIC, TEE_IOC_BASE + 9, \ struct tee_ioctl_shm_register_data) /* * Five syscalls are used when communicating with the TEE driver. * open(): opens the device associated with the driver * ioctl(): as described above operating on the file descriptor from open() * close(): two cases * - closes the device file descriptor * - closes a file descriptor connected to allocated shared memory * mmap(): maps shared memory into user space using information from struct * tee_ioctl_shm_alloc_data * munmap(): unmaps previously shared memory */ #endif /*__TEE_H*/