1b54a59f3SAlex Richardson /*-
2b54a59f3SAlex Richardson  * SPDX-License-Identifier: BSD-2-Clause
3b54a59f3SAlex Richardson  *
4e1470c8fSAlex Richardson  * Copyright 2019 Alex Richardson <arichardson@FreeBSD.org>
5b54a59f3SAlex Richardson  *
6b54a59f3SAlex Richardson  * This software was developed by SRI International and the University of
7b54a59f3SAlex Richardson  * Cambridge Computer Laboratory (Department of Computer Science and
8b54a59f3SAlex Richardson  * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
9b54a59f3SAlex Richardson  * DARPA SSITH research programme.
10b54a59f3SAlex Richardson  *
11b54a59f3SAlex Richardson  * Redistribution and use in source and binary forms, with or without
12b54a59f3SAlex Richardson  * modification, are permitted provided that the following conditions
13b54a59f3SAlex Richardson  * are met:
14b54a59f3SAlex Richardson  * 1. Redistributions of source code must retain the above copyright
15b54a59f3SAlex Richardson  *    notice, this list of conditions and the following disclaimer.
16b54a59f3SAlex Richardson  * 2. Redistributions in binary form must reproduce the above copyright
17b54a59f3SAlex Richardson  *    notice, this list of conditions and the following disclaimer in the
18b54a59f3SAlex Richardson  *    documentation and/or other materials provided with the distribution.
19b54a59f3SAlex Richardson  *
20b54a59f3SAlex Richardson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
21b54a59f3SAlex Richardson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22b54a59f3SAlex Richardson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23b54a59f3SAlex Richardson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
24b54a59f3SAlex Richardson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25b54a59f3SAlex Richardson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26b54a59f3SAlex Richardson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27b54a59f3SAlex Richardson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28b54a59f3SAlex Richardson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29b54a59f3SAlex Richardson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30b54a59f3SAlex Richardson  * SUCH DAMAGE.
31b54a59f3SAlex Richardson  */
32b54a59f3SAlex Richardson #undef fcntl
33b54a59f3SAlex Richardson #undef open
34b54a59f3SAlex Richardson #undef openat
35b54a59f3SAlex Richardson #undef close
36b54a59f3SAlex Richardson #undef fstatfs
37b54a59f3SAlex Richardson #undef getdirentries
38b54a59f3SAlex Richardson 
39b54a59f3SAlex Richardson #include "rtld_libc.h"
40