1/* 2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * $FreeBSD: stable/11/lib/libc/include/un-namespace.h 338405 2018-08-31 05:21:33Z kib $ 27 */ 28 29#ifndef _UN_NAMESPACE_H_ 30#define _UN_NAMESPACE_H_ 31 32#undef accept 33#undef __acl_aclcheck_fd 34#undef __acl_delete_fd 35#undef __acl_get_fd 36#undef __acl_set_fd 37#undef bind 38#undef __cap_get_fd 39#undef __cap_set_fd 40#undef clock_nanosleep 41#undef close 42#undef connect 43#undef dup 44#undef dup2 45#undef execve 46#undef fcntl 47#undef flock 48#undef flockfile 49#undef fpathconf 50#undef fstat 51#undef fstatfs 52#undef fsync 53#undef funlockfile 54#undef getdirentries 55#undef getlogin 56#undef getpeername 57#undef getprogname 58#undef getsockname 59#undef getsockopt 60#undef ioctl 61#undef kevent 62#undef listen 63#undef nanosleep 64#undef open 65#undef openat 66#undef poll 67#undef pthread_atfork 68#undef pthread_attr_destroy 69#undef pthread_attr_get_np 70#undef pthread_attr_getaffinity_np 71#undef pthread_attr_getdetachstate 72#undef pthread_attr_getguardsize 73#undef pthread_attr_getinheritsched 74#undef pthread_attr_getschedparam 75#undef pthread_attr_getschedpolicy 76#undef pthread_attr_getscope 77#undef pthread_attr_getstack 78#undef pthread_attr_getstackaddr 79#undef pthread_attr_getstacksize 80#undef pthread_attr_init 81#undef pthread_attr_setaffinity_np 82#undef pthread_attr_setcreatesuspend_np 83#undef pthread_attr_setdetachstate 84#undef pthread_attr_setguardsize 85#undef pthread_attr_setinheritsched 86#undef pthread_attr_setschedparam 87#undef pthread_attr_setschedpolicy 88#undef pthread_attr_setscope 89#undef pthread_attr_setstack 90#undef pthread_attr_setstackaddr 91#undef pthread_attr_setstacksize 92#undef pthread_barrier_destroy 93#undef pthread_barrier_init 94#undef pthread_barrier_wait 95#undef pthread_barrierattr_destroy 96#undef pthread_barrierattr_getpshared 97#undef pthread_barrierattr_init 98#undef pthread_barrierattr_setpshared 99#undef pthread_cancel 100#undef pthread_cond_broadcast 101#undef pthread_cond_destroy 102#undef pthread_cond_init 103#undef pthread_cond_signal 104#undef pthread_cond_timedwait 105#undef pthread_cond_wait 106#undef pthread_condattr_destroy 107#undef pthread_condattr_getclock 108#undef pthread_condattr_getpshared 109#undef pthread_condattr_init 110#undef pthread_condattr_setclock 111#undef pthread_condattr_setpshared 112#undef pthread_create 113#undef pthread_detach 114#undef pthread_equal 115#undef pthread_exit 116#undef pthread_get_name_np 117#undef pthread_getaffinity_np 118#undef pthread_getconcurrency 119#undef pthread_getcpuclockid 120#undef pthread_getprio 121#undef pthread_getschedparam 122#undef pthread_getspecific 123#undef pthread_getthreadid_np 124#undef pthread_join 125#undef pthread_key_create 126#undef pthread_key_delete 127#undef pthread_kill 128#undef pthread_main_np 129#undef pthread_multi_np 130#undef pthread_mutex_destroy 131#undef pthread_mutex_getprioceiling 132#undef pthread_mutex_init 133#undef pthread_mutex_isowned_np 134#undef pthread_mutex_lock 135#undef pthread_mutex_setprioceiling 136#undef pthread_mutex_timedlock 137#undef pthread_mutex_trylock 138#undef pthread_mutex_unlock 139#undef pthread_mutexattr_destroy 140#undef pthread_mutexattr_getkind_np 141#undef pthread_mutexattr_getprioceiling 142#undef pthread_mutexattr_getprotocol 143#undef pthread_mutexattr_getpshared 144#undef pthread_mutexattr_gettype 145#undef pthread_mutexattr_init 146#undef pthread_mutexattr_setkind_np 147#undef pthread_mutexattr_setprioceiling 148#undef pthread_mutexattr_setprotocol 149#undef pthread_mutexattr_setpshared 150#undef pthread_mutexattr_settype 151#undef pthread_once 152#undef pthread_resume_all_np 153#undef pthread_resume_np 154#undef pthread_rwlock_destroy 155#undef pthread_rwlock_init 156#undef pthread_rwlock_rdlock 157#undef pthread_rwlock_timedrdlock 158#undef pthread_rwlock_timedwrlock 159#undef pthread_rwlock_tryrdlock 160#undef pthread_rwlock_trywrlock 161#undef pthread_rwlock_unlock 162#undef pthread_rwlock_wrlock 163#undef pthread_rwlockattr_destroy 164#undef pthread_rwlockattr_getpshared 165#undef pthread_rwlockattr_init 166#undef pthread_rwlockattr_setpshared 167#undef pthread_self 168#undef pthread_set_name_np 169#undef pthread_setaffinity_np 170#undef pthread_setcancelstate 171#undef pthread_setcanceltype 172#undef pthread_setconcurrency 173#undef pthread_setprio 174#undef pthread_setschedparam 175#undef pthread_setspecific 176#undef pthread_sigmask 177#undef pthread_single_np 178#undef pthread_spin_destroy 179#undef pthread_spin_init 180#undef pthread_spin_lock 181#undef pthread_spin_trylock 182#undef pthread_spin_unlock 183#undef pthread_suspend_all_np 184#undef pthread_suspend_np 185#undef pthread_switch_add_np 186#undef pthread_switch_delete_np 187#undef pthread_testcancel 188#undef pthread_timedjoin_np 189#undef pthread_yield 190#undef read 191#undef readv 192#undef recvfrom 193#undef recvmsg 194#undef recvmmsg 195#undef select 196#undef sem_close 197#undef sem_destroy 198#undef sem_getvalue 199#undef sem_init 200#undef sem_open 201#undef sem_post 202#undef sem_timedwait 203#undef sem_clockwait_np 204#undef sem_trywait 205#undef sem_unlink 206#undef sem_wait 207#undef sendmsg 208#undef sendmmsg 209#undef sendto 210#undef setsockopt 211#undef sigaction 212#undef sigprocmask 213#undef sigsuspend 214#undef socket 215#undef socketpair 216#undef usleep 217#undef wait4 218#undef wait6 219#undef waitpid 220#undef write 221#undef writev 222 223#if 0 224#undef creat 225#undef fchflags 226#undef fchmod 227#undef ftrylockfile 228#undef msync 229#undef nfssvc 230#undef pause 231#undef sched_yield 232#undef sendfile 233#undef shutdown 234#undef sigaltstack 235#undef sigpending 236#undef sigreturn 237#undef sigsetmask 238#undef sleep 239#undef system 240#undef tcdrain 241#undef wait 242#endif /* 0 */ 243 244#ifdef _SIGNAL_H_ 245int _sigaction(int, const struct sigaction *, struct sigaction *); 246#endif 247 248#ifdef _SYS_EVENT_H_ 249int _kevent(int, const struct kevent *, int, struct kevent *, 250 int, const struct timespec *); 251#endif 252 253#ifdef _SYS_FCNTL_H_ 254int _flock(int, int); 255#endif 256 257#undef err 258#undef warn 259#undef nsdispatch 260 261#endif /* _UN_NAMESPACE_H_ */ 262