github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/test/csource.txt (about) 1 # Copyright 2032 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 # Syscalls used in pkg/csource tests. 5 6 resource fd0[int32] 7 8 bitmask = BIT_0, BIT_1, BIT_0_AND_1 9 10 csource0(num int32) fd0 11 csource1(fd fd0) 12 csource2(buf ptr[in, array[int8]]) 13 csource3(buf ptr[in, array[const[0, int8], 10]]) 14 csource4(buf ptr[in, array[const[0x30, int8], 10]]) 15 csource5(buf ptr[in, array[const[0x3130, int16], 5]]) 16 csource6(buf ptr[in, array[const[0x3130, int16be], 6]]) 17 csource7(flag flags[bitmask])