summaryrefslogblamecommitdiffstats
path: root/kernel/tests/include/lapi/execveat.h
blob: a7406f7c017e4f0b178d482b28b791dc87df2cb4 (plain) (tree)





















                                                                              
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2018 MediaTek Inc.  All Rights Reserved.
 */

#ifndef EXECVEAT_H
#define EXECVEAT_H

#include <sys/types.h>
#include "config.h"
#include "lapi/syscalls.h"

#if !defined(HAVE_EXECVEAT)
int execveat(int dirfd, const char *pathname,
			char *const argv[], char *const envp[],
			int flags)
{
	return tst_syscall(__NR_execveat, dirfd, pathname, argv, envp, flags);
}
#endif

#endif /* EXECVEAT_H */