github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/tools/syz-declextract/testdata/syscall.c (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 #include "include/syscall.h" 5 6 SYSCALL_DEFINE1(open, const char* filename, int flags, int mode) { 7 return 0; 8 } 9 10 SYSCALL_DEFINE1(chmod, const char* filename, int mode) { 11 return 0; 12 }