github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/dev_qrtr_tun.txt (about)

     1  # Copyright 2020 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  include <linux/fcntl.h>
     5  
     6  resource fd_qrtr_tun[fd]
     7  
     8  openat$qrtrtun(fd const[AT_FDCWD], file ptr[in, string["/dev/qrtr-tun"]], flags flags[open_flags]) fd_qrtr_tun
     9  
    10  write$qrtrtun(fd fd_qrtr_tun, data ptr[in, array[int8]], len bytesize[data])
    11  read$qrtrtun(fd fd_qrtr_tun, data ptr[out, array[int8]], len bytesize[data])
    12  mmap$qrtrtun(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_qrtr_tun, offset fileoff)
    13  _ = __NR_mmap2