summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* oops, SYS_ prefix stayed; noted by jmcderaadt2015-07-191-2/+2
|
* no need for -compact;jmc2015-07-191-16/+2
|
* some basic tweaks;jmc2015-07-191-7/+7
|
* Trailing spaces and missing .Pp.nicm2015-07-191-3/+4
|
* succesfull -> succesful, from Ross L Richardsonnicm2015-07-191-3/+3
|
* adding a syscall requires a minor bump; ok guenther@schwarze2015-07-191-1/+1
|
* manual page for tame(2). not very good, so i will be hearing from jmcderaadt2015-07-192-3/+383
|
* tweak previous;jmc2015-07-181-3/+2
|
* Unbreak, add errno headerjeremy2015-07-181-1/+2
| | | | OK tedu@
* set errno in null cases, just in case.tedu2015-07-181-2/+3
|
* standards compliant error return (null). will make ruby happier, at least.tedu2015-07-181-5/+2
| | | | ok deraadt jeremy
* On systems with a full routing table (550k+), we often want to be able tophessler2015-07-181-3/+12
| | | | | | | | look at the routes with a priority, or to display all routes that do not have a specific priority (normally, don't show bgp). OK mpi@ benno@ previous versions OK deraadt@ sthen@
* remove the stubby not working mmaped file support. ok sthen (long ago)tedu2015-07-163-35/+3
|
* mention that swapctl(2) can also be used to retrieve statisticsjasper2015-07-151-4/+4
| | | | ok millert@
* Fall back to scanning /dev if /var/run/dev.db does not exist.millert2015-07-141-25/+63
| | | | OK deraadt@
* The first argument to devname(3) should be dev_t, not int.millert2015-07-141-2/+2
| | | | The man page was already correct.
* Do not write a warning to stderr if the db cannot be opened, justmillert2015-07-131-2/+1
| | | | | return an error. Avoids bogus warnings in chroots. OK deraadt@ ajacoutot@
* the C locale should contain only ASCIIsemarie2015-07-071-128/+0
| | | | | suggestion for removing (instead of commenting) the lines from stsp@ OK millert@
* There are no ${LIBCSRCDIR}/arch/${MACHINE_CPU}/locale directories insemarie2015-07-031-2/+2
| | | | | | cvs. Remove the unused search path from Makefile.inc "fine with me" stsp@
* remove new_categories variable from global.semarie2015-07-021-16/+10
| | | | | | | | | This variable is used as temporary buffer in order to do checking before copying the content to current_categories variable. Switch it as local variable in setlocale function. Adapts some functions. the commit collapse 3 proposed diffs on tech@, and all OK stsp@
* Add STANDARDS section; isblank(3) was specified in C99.bentley2015-06-231-2/+7
| | | | ok jung@ jmc@
* Just return if nmemb is 0. Avoids a NULL dereference and ismillert2015-06-211-1/+4
| | | | | consistent with the behavior of the other libc sort functions. OK deraadt@
* Bump major after {,asr_}print_sockaddr() renaming.jca2015-06-201-1/+1
|
* Rename print_sockaddr() to avoid symbol visibility problemsjca2015-06-203-8/+8
| | | | | | print_sockaddr is internal to asr, and conflicts with ports/net/samba4. ok eric@
* Tweak whitespace and remove dangling, unneeded "else".jca2015-06-191-4/+5
| | | | No functional change.
* Remove needless casts. There's no reason to cast delim to char *millert2015-06-191-5/+4
| | | | when we can just make spanp const char * to match it. OK deraadt@
* Set FUNC symbol sizes of auto-generated and hand-written syscall wrappers.uebayasi2015-06-1710-14/+40
| | | | | | Original diff from guenther@, adjusted by me. OK guenther@
* in glob() initialize the glob_t before the first failure check.deraadt2015-06-131-4/+4
| | | | | from j@pureftpd.org ok millert stsp
* Reuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes.uebayasi2015-06-121-2/+2
|
* Remove unused parameter of load_locale_sub(). No assembly change on i386.stsp2015-06-091-4/+4
| | | | Diff from Sebastien Marie. objdump foo help from uwe
* At some point arm moved to a unified syntax for arm and thumb instructions.jsg2015-06-082-37/+41
| | | | | | | | | While binutils supports both "unified" and "divided" syntax (defaulting to divided) the integrated assembler in clang only supports unified names so switch some files to unified syntax. Similiar changes were made in bitrig and freebsd. No difference in objdump -d output. tested on zaurus by deraadt@, ok miod@
* force reseeding if pid has changed.eric2015-06-041-2/+7
| | | | ok deraadt@
* make sure to check for resolv.conf update the first time the resolvereric2015-06-042-2/+11
| | | | | | is used after pid has changed. ok deraadt@
* snprintf(3) is available on all modern systems and asprintf(3) ismillert2015-06-031-6/+4
| | | | available on more systems these days. OK deraadt@
* Do not assume that asprintf() clears the pointer on failure, whichmillert2015-06-032-6/+12
| | | | | is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@
* write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.sobrado2015-06-021-3/+3
| | | | ok jmc@
* Since the __{div,rem}{l,q}{,u} special libc entry points use a specificmiod2015-06-011-7/+46
| | | | | | | | | | | calling convention which conflicts over t11 usage with the secureplt calling convention, force these symbols to be `notype' rather `function', so that the linker will not attempt to use plt relocations for them in the absence of explicit relocation information. Note that these symbols are still public and still callable with the old plt convention, so existing binaries will still work with an updated libc, and no libc version change is necessary.
* Put END() matching _ENTRY() (== ENTRY() w/o prof).uebayasi2015-06-011-1/+2
|
* Put END() matching ENTRY().uebayasi2015-06-011-1/+2
|
* Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.schwarze2015-05-3112-70/+70
| | | | No content change.
* Put END() where appropriate.uebayasi2015-05-294-10/+12
| | | | While here, kill redundant use of _C_LABEL() in ENTRY().
* Put obvious END() macros that match ENTRY() entries.uebayasi2015-05-2912-12/+51
|
* fix a possible off-by-one when reading /etc/hosts if it doesn't enderic2015-05-295-13/+20
| | | | | | with a newline. ok jca@
* Sprinkle END() in some straightforward *.S files that have ENTRY(). Theuebayasi2015-05-2910-5/+17
| | | | resulting *.o have "FUNC" symbols with size set.
* Bring back `1:' label removed by mistake in 1.7. Complained loudly about by gasmiod2015-05-261-2/+2
| | | | 2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine.
* simply use _PATH_HOSTS where appropriateeric2015-05-265-13/+7
|
* Kill outdated comment.jca2015-05-251-2/+2
| | | | ok eric@
* Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.eric2015-05-252-4/+13
| | | | | prodded by Brad ok jca@
* getnameinfo(3) doesn't need to initialize the resolver when it's only usederic2015-05-251-1/+150
| | | | | | for address/port formatting (e.g. NI_NUMERICHOST). ok deraadt@ jca@
* swap calloc() arguments for clarityderaadt2015-05-181-2/+2
|