aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-declextract/testdata/syscall.c
blob: aa3ffcaa300e6e5ccb1a2e4a810aaf11c2cf46ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2024 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 "include/syscall.h"

SYSCALL_DEFINE1(open, const char* filename, int flags, int mode)
{
	return 0;
}

SYSCALL_DEFINE1(chmod, const char* filename, int mode)
{
	return 0;
}