blob: 2d7f560f029c16b38be8b3f472e21f3bfacc99d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/*
* unlink() wrapper.
*
* Copyright 1999-2008 Gentoo Foundation
* Licensed under the GPL-2
*/
#define WRAPPER_ARGS_PROTO const char *pathname
#define WRAPPER_ARGS pathname
#define WRAPPER_SAFE() FUNCTION_SANDBOX_SAFE(pathname)
#define sb_unlinkat_pre_check sb_unlink_pre_check
#include "unlinkat.c"
#undef sb_unlinkat_pre_check
|