Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpool(3) is no longer installed; delete it. prodded by jmc@ | 2015-09-13 | 1 | -262/+0 | |
| | |||||
* | Wrap <stdlib.h> so that calls go direct and the symbols not in the | 2015-09-13 | 42 | -52/+250 | |
| | | | | | | C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols. | ||||
* | Do provide hidden _libc_* aliases for sig{block,setmask} and use them in | 2015-09-13 | 15 | -65/+51 | |
| | | | | | | | the ASM *setjmp implementations. Skip the PLT when calling them on amd64 (other archs to do this after testing) ok miod@ | ||||
* | __strsignal() is now declared in hidden/signal.h | 2015-09-12 | 1 | -2/+0 | |
| | |||||
* | Finish wrapping <signal.h> so that calls to the sigset ops go direct and | 2015-09-12 | 3 | -9/+30 | |
| | | | | | everything but raise() and signal() are weak. No longer need _thread_sys_ prefix on getthrid() | ||||
* | Wrap <fcntl.h> so that calls to flock() go direct and both it and | 2015-09-12 | 1 | -0/+29 | |
| | | | | creat() are weak symbols | ||||
* | Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct | 2015-09-12 | 35 | -83/+153 | |
| | | | | and the symbols not in the C standard are weak | ||||
* | Wrap <dbm.h> and <ndbm.h> so that calls go direct and the symbols are all weak | 2015-09-12 | 3 | -1/+74 | |
| | |||||
* | Wrap <bsd_auth.h> so that calls go direct and the symbols are all weak | 2015-09-12 | 3 | -2/+86 | |
| | |||||
* | Wrap <assert.h> so that __assert2() goes direct | 2015-09-12 | 2 | -1/+29 | |
| | |||||
* | Wrap shm_open() to go direct and mark shm_{mkstemp,unlink}() as weak | 2015-09-12 | 2 | -5/+6 | |
| | |||||
* | Wrap <unistd.h> so that internal calls go direct and they're all weak symbols | 2015-09-12 | 18 | -20/+117 | |
| | | | | Delete unused 'fd' argument from internal function oldttyname() | ||||
* | Wrap <getopt.h> to make the functions weak and make access to the initialized | 2015-09-12 | 2 | -1/+43 | |
| | | | | variables go direct. (Common variables cannot be aliased.) | ||||
* | Wrap <time.h> so that internal calls go direct and symbols not in C99 are weak | 2015-09-12 | 6 | -7/+51 | |
| | | | | | | Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes | ||||
* | Wrap <syslog.h> so that internal calls go direct and they're all weak symbols | 2015-09-12 | 3 | -35/+55 | |
| | | | | | Delete code that's a no-op now that we don't use sockets Eliminate unnecessary #includes | ||||
* | Wrap <dirent.h> so that internal calls go direct and they're all weak symbols | 2015-09-12 | 7 | -5/+48 | |
| | |||||
* | Wrap <fts.h> and <ftw.h> so that internal calls to fts_*() go direct and | 2015-09-12 | 3 | -1/+61 | |
| | | | | fts_*(), ftw(), and nftw() are weak symbols | ||||
* | Make these timer_* stubs weak symbols | 2015-09-12 | 5 | -16/+19 | |
| | | | | Provide declarations to reduce noise when using -Wmissing-prototypes | ||||
* | Add PROTO_WRAP() for (almost) all the syscalls that libpthread doesn't | 2015-09-11 | 10 | -5/+297 | |
| | | | | | | override so that internal calls go direct ok deraadt@ | ||||
* | lseek() is in <unistd.h> ok deraadt@ | 2015-09-11 | 1 | -1/+2 | |
| | |||||
* | Use PROTO_NORMAL() on __syscall to go direct, adjusting the declaration | 2015-09-11 | 12 | -77/+122 | |
| | | | | | | | to eliminate some casts. Retire some uses of old-style STUB* macros where superseded by namespace.h bits tweaks and ok deraadt@ | ||||
* | Put a private copy of the ypresp_allfn/ypresp_data interface into ypserv | 2015-09-11 | 3 | -7/+5 | |
| | | | | | | (which uses it in a strange way..) thereby making it possible to static the interface in libc. ok guenther | ||||
* | _rpc_dtablesize() is not used anywhere, tracking by sthen; ok guenther | 2015-09-11 | 3 | -53/+2 | |
| | |||||
* | rpcdata should not be exported; ok guenther | 2015-09-11 | 2 | -3/+2 | |
| | |||||
* | Prefer <fcntl.h> over <sys/fcntl.h> | 2015-09-11 | 1 | -2/+2 | |
| | |||||
* | _getnetbyaddr and _getnetbyname appear to be historical accidents in | 2015-09-11 | 4 | -105/+2 | |
| | | | | our tree. ok guenther miod | ||||
* | Wrap blowfish, sha*, md5, and rmd160 so that internal calls go direct | 2015-09-11 | 14 | -13/+307 | |
| | | | | ok deraadt@ | ||||
* | change remaining mentions of "flags" to "request" and adapt text | 2015-09-11 | 1 | -7/+7 | |
| | | | | nearby. Spotted by Ross Richardson. | ||||
* | hide three netdb related variables; ok guenther | 2015-09-11 | 2 | -3/+29 | |
| | |||||
* | Hide netgroup internals inside libc. The parts that netgroup_mkdb | 2015-09-10 | 2 | -16/+16 | |
| | | | | | wants to use, well.... copy them there. ok guenther | ||||
* | Add support for building arc4random with MSVC. | 2015-09-10 | 1 | -7/+8 | |
| | | | | | | | By default, MSVC's stdlib.h defines min(), so we need to spell out something less common to avoid picking it up. ok deraadt@ beck@ miod@ | ||||
* | Pull in namespace.h when building all .c files using gcc's -include option, | 2015-09-10 | 29 | -75/+50 | |
| | | | | | | | | so that we can provide asm labels for the memcpy/memset/__stack_smash_handler calls that it generates ab initio. Eliminate direct #includes of it. Make sure it's a dependency of all objects (unnecessary for asm, but close enough). ok deraadt@ | ||||
* | use .In rather than .Fd #include | 2015-09-10 | 53 | -190/+190 | |
| | |||||
* | reduce more .Nd to one line and kill more .Tn | 2015-09-10 | 1 | -4/+4 | |
| | |||||
* | reduce .Nd to one line and kill .Tn while here | 2015-09-10 | 5 | -25/+15 | |
| | |||||
* | another missing Mdocdate | 2015-09-10 | 1 | -2/+2 | |
| | |||||
* | missing commas at the end of .Nm lines in the NAME section | 2015-09-10 | 1 | -3/+3 | |
| | |||||
* | Adds hidden _libc_FOO aliases for the system call stubs. | 2015-09-10 | 50 | -163/+278 | |
| | | | | | | | | | | Stop generating _brk and _sbrk symbols: they've already been hidden. Set the ELF symbol size on the syscall stubs. Give the __{min,cur}brk symbols a size and type, and hide more jump labels. alpha, arm, m88k, sh, sparc, and vax assistance miod@ hppa assistance kettenis@ ok deraadt@ miod@ | ||||
* | explain why __explicit_bzero_hook will remain; ok guenther | 2015-09-10 | 1 | -1/+3 | |
| | |||||
* | hide __dtoa_locks as a static in the single use case; ok guenther | 2015-09-10 | 5 | -11/+6 | |
| | |||||
* | no more mpool; | 2015-09-10 | 4 | -13/+9 | |
| | |||||
* | tweak Nd after previous; ok mpi | 2015-09-10 | 1 | -2/+2 | |
| | |||||
* | Remove link_addr(3). A function to encode the name of an interface in | 2015-09-10 | 4 | -137/+8 | |
| | | | | | | | | | | | | a sockaddr_dl is a questionnable interface. But now it makes it harder to properly reference ifp becauses of this. Set sdl_index to the index of the corresponding interface when constructing a routing message. Ridding previous libc crank. ok guenther@, deraadt@, dlg@ | ||||
* | seperate->separate; | 2015-09-09 | 1 | -3/+9 | |
| | | | | while here, i've adjusted the formatting of one list | ||||
* | Move to next tame() API. The flags are now passed as a very simple string, | 2015-09-09 | 1 | -34/+35 | |
| | | | | | | | | which results in tame() code placements being much more recognizeable. tame() can be moved to unistd.h and does not need cpp symbols to turn the bits on and off. The resulting API is a bit unexpected, but simplifies the mapping to enabling bits in the kernel substantially. vague ok's from various including guenther doug semarie | ||||
* | Remove the mpool(3) manpages | 2015-09-09 | 1 | -5/+2 | |
| | | | | prodded by miod@ | ||||
* | Bump for symbol removals | 2015-09-09 | 1 | -1/+1 | |
| | |||||
* | Hide __sigintr and __strsignal as internal implementation details. | 2015-09-09 | 5 | -13/+15 | |
| | | | | | | Delete the already hidden _signal alias too. ok deraadt@ millert@ | ||||
* | Hide all unnecessary asr / resolver related API with _ prefixes. | 2015-09-09 | 14 | -361/+238 | |
| | | | | direction & ok guenther | ||||
* | Use SOCK_NONBLOCK in a couple more places | 2015-09-09 | 2 | -33/+6 | |
| | | | | ok deraadt@ |