github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/sys/test/related.txt (about)

     1  # Copyright 2024 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  ioctl(fd fd, cmd int32, arg intptr)
     5  ioctl$1(fd fd, cmd const[0x111], arg intptr)
     6  ioctl$2(fd fd, cmd const[0x222], arg intptr)
     7  ioctl$4(fd fd, cmd flags[ioctl_commands], arg intptr)
     8  
     9  ioctl_commands = 0x333, 0x444
    10  
    11  resource sock[fd]
    12  
    13  socket(domain flags[socket_domain], type flags[socket_type], protocol flags[socket_protocol]) sock
    14  socket$generic(domain int32, type int32, protocol int32) sock
    15  socket$inet6(domain const[0x111], type flags[socket_type], protocol const[0x10000]) sock
    16  socket$inet6_tcp(domain const[0x111], type const[0x1000], protocol const[0x10000]) sock
    17  socket$netlink(domain const[0x211], type const[0x1000], protocol flags[socket_protocol]) sock
    18  socket$netlink2(domain const[0x211], type const[0x1000], protocol int32) sock
    19  socket$netlink_foo(domain const[0x211], type const[0x1000], protocol const[0x10200]) sock
    20  socket$foo(domain const[0x311], type const[0x1000], protocol const[0x10200]) sock
    21  socket$foo2(domain const[0x311], type flags[socket_type], protocol const[0x10200]) sock
    22  socket$foo3(domain const[0x311], type int32, protocol const[0x10200]) sock
    23  socket$foo4(domain const[0x411], type int32, protocol const[0x10000]) sock
    24  socket$foo5(domain const[0x411], type int32, protocol int32) sock
    25  socket$foo6(domain int32, type int32, protocol int32) sock
    26  socket$foo7(domain int32, type int32, protocol int32) sock
    27  
    28  listen(fd sock)
    29  
    30  socket_domain = 0x111, 0x211, 0x311
    31  socket_type = 0x1000, 0x1100, 0x1200
    32  socket_protocol = 0x10000, 0x10100, 0x10200