diff options
| author | Necip Fazil Yildiran <necip@google.com> | 2020-06-23 08:53:33 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-23 10:34:37 +0200 |
| commit | 54566aff1679fc74487d3efb9f7bbfbc21beed4b (patch) | |
| tree | 582de89e9fa89aa8c2030becf7ef060444441b74 /sys/linux/dev_qrtr_tun.txt | |
| parent | 39240c9e937ac9b29eb0c378d75d9fb405c58f27 (diff) | |
sys/linux: add descriptions for qrtr-tun
Diffstat (limited to 'sys/linux/dev_qrtr_tun.txt')
| -rw-r--r-- | sys/linux/dev_qrtr_tun.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/linux/dev_qrtr_tun.txt b/sys/linux/dev_qrtr_tun.txt new file mode 100644 index 000000000..159af1a1b --- /dev/null +++ b/sys/linux/dev_qrtr_tun.txt @@ -0,0 +1,13 @@ +# Copyright 2020 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <linux/fcntl.h> + +resource fd_qrtr_tun[fd] + +openat$qrtrtun(fd const[AT_FDCWD], file ptr[in, string["/dev/qrtr-tun"]], flags flags[open_flags]) fd_qrtr_tun + +write$qrtrtun(fd fd_qrtr_tun, data ptr[in, array[int8]], len bytesize[data]) +read$qrtrtun(fd fd_qrtr_tun, data ptr[out, array[int8]], len bytesize[data]) +mmap$qrtrtun(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_qrtr_tun, offset fileoff) +_ = __NR_mmap2 |
