Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't declare select() in <unistd.h> | 2016-09-12 | 1 | -2/+1 | ||
| | | | | ok deraadt@ millert@ | |||||
* | document that running a W^X violating binary from file system mounted | 2016-09-12 | 1 | -2/+11 | ||
| | | | | without wxallowed causes EACCES | |||||
* | Clang ignores a .weak directive before a function is actually defined. So | 2016-09-10 | 2 | -4/+4 | ||
| | | | | | | | move it from before ENTRY() to after END(). Keeps brk(2) and sbrk(2) weak when comping libc with clang. ok guenther@ | |||||
* | Remove usermount remnants. ok tedu | 2016-09-07 | 1 | -5/+2 | ||
| | ||||||
* | Trivial cleanup: Pass pointers of the correct types to the private | 2016-09-07 | 1 | -9/+7 | ||
| | | | | | | functions and delete a macro that is used in only one place; no functional change. This completes the audit of the citrus directory (only 3 files left). | |||||
* | trivial cleanup: delete inline attribute on static function, | 2016-09-07 | 1 | -3/+3 | ||
| | | | | leave that decision to the compiler; no functional change | |||||
* | trivial cleanup: | 2016-09-07 | 2 | -79/+70 | ||
| | | | | | | | | | | - delete unused headers - add missing function prototype - delete needless casts of return values - KNF: return is not a function - KNF: do not use a pointer as a boolean - consistent wording in comments: s/octets/bytes/ OK gcc: no object change after strip -g | |||||
* | Make sure attributes are applied to function declarations before they're | 2016-09-06 | 4 | -18/+58 | ||
| | | | | | | | | used or defined, as clang isn't as forgiving as gcc. Also, declare __flt_rounds() so that libc can build it despire clang providing its own <float.h> ok stefan@ kettenis@ | |||||
* | Implement dl_iterate_phdr() for static PIE executables using info extracted | 2016-09-06 | 3 | -4/+74 | ||
| | | | | | | from the aux vector. ok patrick@ kettenis@ | |||||
* | Remove branch prediction hints from conditional branch instructions. These | 2016-09-06 | 1 | -3/+3 | ||
| | | | | | | | hints are not recognized by clang's builtin assembler and the opcode prefixes they generate have been no-ops for all CPUs after the Pentium 4. ok guenther@ | |||||
* | correct wording; from rob@2keys.ca | 2016-09-05 | 1 | -3/+3 | ||
| | ||||||
* | Delete some abstraction that we don't and won't need. | 2016-09-05 | 15 | -405/+67 | ||
| | | | | | | | | | | | | | | | | Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function. As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change. No libc bump needed; only private functions are removed and change prototype and only private structs change size. OK stsp@ mpi@; deraadt@ likes the general direction. | |||||
* | fix Dt; | 2016-09-04 | 1 | -2/+2 | ||
| | ||||||
* | Set errno more consistently, and fix a warning, ok tedu | 2016-09-04 | 1 | -21/+29 | ||
| | ||||||
* | rm | 2016-09-04 | 1 | -68/+0 | ||
| | ||||||
* | oops, name file after main function | 2016-09-04 | 1 | -0/+68 | ||
| | ||||||
* | it doesn't say anything yet, but start adding a man page | 2016-09-04 | 1 | -0/+68 | ||
| | ||||||
* | Make the key sizes and offsets arrays const, ok tedu | 2016-09-04 | 1 | -2/+2 | ||
| | ||||||
* | minor bump for SHA512/256 API additions; ok tedu@ deraadt@ | 2016-09-04 | 1 | -1/+1 | ||
| | ||||||
* | jmc says you can never have too many functions in one man page, so list | 2016-09-04 | 1 | -3/+32 | ||
| | | | | the SHA512/256 functions as well. | |||||
* | remove caveats that are either misleading or unhelpful. | 2016-09-04 | 3 | -24/+6 | ||
| | | | | ok jmc naddy | |||||
* | Don't list individual valid CLOCK_* values, instead refer to | 2016-09-03 | 1 | -6/+5 | ||
| | | | | | | clock_gettime(2). ok guenther@ | |||||
* | Add functions for SHA512/256. The standard says you're supposed to start | 2016-09-03 | 4 | -6/+78 | ||
| | | | | | | | | with different magic numbers, so we need to add some functions instead of just asking the user to truncate as desired. Sigh. SHA512 is quite a bit faster than SHA256 on 64 bit CPUs, but 256 bit hashes are usually quite sufficient. Best of both. ok deraadt tom | |||||
* | tweak previous; | 2016-09-03 | 1 | -2/+3 | ||
| | ||||||
* | note that getpass is obsolete. removed from posix in 2001. | 2016-09-03 | 1 | -3/+10 | ||
| | ||||||
* | fix format string | 2016-09-02 | 1 | -2/+2 | ||
| | | | | ok guenther@ | |||||
* | Make it clear that printable characters of width 0 exist. | 2016-09-02 | 1 | -7/+5 | ||
| | | | | | While here, polish some wording. OK stsp@ | |||||
* | Since we support only one non-ASCII LC_CTYPE locale, we don't need | 2016-09-02 | 1 | -55/+15 | ||
| | | | | | | a linked list to store it. No functional change. OK mpi@ guenther@, and stsp@ agrees too that the time is ripe to start such cleanup | |||||
* | bump | 2016-09-01 | 1 | -1/+1 | ||
| | ||||||
* | Less lock contention by using more pools for mult-threaded programs. | 2016-09-01 | 3 | -94/+191 | ||
| | | | | tested by many (thanks!) ok tedu, guenther@ | |||||
* | black magic for sparc page size can go | 2016-09-01 | 1 | -4/+2 | ||
| | ||||||
* | remove references to sparc | 2016-09-01 | 2 | -8/+8 | ||
| | ||||||
* | Update list of ioctls for the audio promise. Suggested by jmc@, thanks. | 2016-09-01 | 1 | -7/+6 | ||
| | ||||||
* | Mention explicit_bzero(3); ok jmc | 2016-09-01 | 1 | -3/+5 | ||
| | ||||||
* | retire the sparc library code | 2016-09-01 | 45 | -2600/+0 | ||
| | ||||||
* | Store the return value of mbrtowc() in a size_t, not int. | 2016-08-29 | 1 | -13/+15 | ||
| | | | | OK schwarze@ | |||||
* | Don't call lstat() before readlink() just to see if it's a symlink, | 2016-08-28 | 1 | -14/+17 | ||
| | | | | | | as readlink() will tell you that more cheaply. ok millert@ | |||||
* | Stop recommending the non-standard and slightly dangerous fgetln(3). | 2016-08-27 | 1 | -4/+4 | ||
| | | | | Recommend POSIX getline(3) instead. | |||||
* | When a precision is specified for a string format use strnlen() | 2016-08-27 | 1 | -17/+7 | ||
| | | | | to determine the length instead of doing it manually. OK schwarze@ | |||||
* | improve revision 1.2: in unusual cases, fgetwc(3) can succeed | 2016-08-27 | 1 | -2/+12 | ||
| | | | | | | even though ferror(3) is already set; also from Andrey Chernov <ache at freebsd dot org>; OK millert@ | |||||
* | Pull in <stdio.h> for NULL | 2016-08-27 | 1 | -1/+2 | ||
| | | | | ok deraadt@ | |||||
* | Pull in <time.h> for clock_gettime() | 2016-08-26 | 1 | -1/+2 | ||
| | | | | ok deraadt@ | |||||
* | After read errors, fgetln(3) sometimes succeeded (returning non-NULL) | 2016-08-25 | 1 | -3/+6 | ||
| | | | | | | | | | | | | and failed (setting errno and ferror(3)) both at the same time. That's a bad idea in general, and here in particular since returning partial lines was neither reliable (sometimes, you got NULL anyway) nor predictable (almost always, the line would be truncated long before the actual read error). Instead, on read failure, fail properly and always return NULL. Issue found in a discussion with Andrey Chernov <ache at freebsd dot org> who finally agreed to move FreeBSD into the same direction. The fix is joint work with and OK by millert@. | |||||
* | set the error indicator on malloc(3) failure; | 2016-08-24 | 1 | -2/+4 | ||
| | | | | | from Andrey Chernov <ache at freebsd dot org>; OK millert@ | |||||
* | bugfix: when fgetwc(3) fails, fgetwln(3) must fail as well; | 2016-08-21 | 1 | -2/+2 | ||
| | | | | OK jca@ martijn@ millert@ | |||||
* | fix obvious typo in the .Dt section number | 2016-08-21 | 1 | -3/+3 | ||
| | ||||||
* | Sync connect_wait() example with its real usage in ftp(1). | 2016-08-20 | 1 | -22/+18 | ||
| | ||||||
* | Declare all _asr_* debug functions as hidden. | 2016-08-20 | 1 | -8/+8 | ||
| | | | | Reported by & similar diff by guenther@ some time ago, ok eric@ | |||||
* | Add an EXAMPLES section that illustrates how to deal with connect(2) | 2016-08-18 | 1 | -2/+52 | ||
| | | | | returning EINTR. OK jung@ deraadt@ | |||||
* | % is escaped with more %, not backslash. | 2016-08-17 | 2 | -6/+6 | ||
| |