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