summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* crank major for openssl-1.0.0edjm2011-11-033-3/+3
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-03255-2118/+4328
|
* import OpenSSL 1.0.0edjm2011-11-03115-1116/+3740
|
* Sync scanf(3) to wscanf(3), and a few bits the opposite way:schwarze2011-11-022-66/+50
| | | | | .Fd -> .In, .Li -> .Vt, and remove various other gratuitous differences. feedback and ok stsp@, ok jmc@
* Allow segments to be used even after they were marked for deletion withrobert2011-10-271-4/+11
| | | | | | | | | | | | the IPC_RMID flag. This is permitted as an extension beyond the standards and this is similar to what other operating systems like linux do. Because compat_linux(8) was emulating this already, remove that code since now this is the default. input from oga@, guenther@, jmc@, deraadt@ ok deraadt@
* Update POSIX references for chdir(2) and chmod(2) from 1988 to 2008.schwarze2011-10-244-15/+29
| | | | | | | | Add POSIX references for fchdir(2), fchmod(2), fchmodat(2), fchown(2), lchown(2) and execve(2). State that fchmod(2) can return EPERM as required by POSIX 2008 (tested). Requested by sobrado@; ok guenther@ jmc@ sobrado@.
* Don't attempt to send data not available for sending yet. Analysedratchov2011-10-221-7/+9
| | | | and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
* Remove some blatant lies. Provide a variant 1 archs with a defaultguenther2011-10-191-3/+5
| | | | | value for THREAD_ERRNOPTR_OFFSET (can't be used from ASM or ld.so, but it lets things compile as we fill things in)
* some minor tweaks concerning midicat removal; ok ratchovjmc2011-10-181-4/+4
|
* Remove midicat since aucat can now be used instead of midicatratchov2011-10-1710-102/+57
| | | | | | | | | with almost the same syntax (roughly an extra -M option). Thru boxes are created with aucat, and corresponding MIDI port names have the "aucat" prefix instead of "midithru". The old device name will still work some time for backward compatibility. ok deraadt
* Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadguenther2011-10-1727-101/+876
| | | | | errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree.
* Bump libc major; wscanf and wcsftime were addedstsp2011-10-161-2/+2
|
* Hook wcsftime(3) to the build; committing on behalf of espiestsp2011-10-161-3/+3
|
* Add wscanf(3) and friends. Based on our scanf(3) implementation, with widestsp2011-10-1610-10/+1531
| | | | | character support changes based on code from FreeBSD. ok espie guenther; man page help from schwarze
* Tweak wording, to clarify that setrtable affects the routing tableguenther2011-10-161-6/+10
| | | | | | | and that getrtable returns the table, not 0/-1. Also, strip some quotes that mandoc made superfluous, per comment from jmc@. ok claudio@
* Note a restriction that is actually enforced in 5.0guenther2011-10-161-2/+3
|
* Fixes and tweaks from jmc@guenther2011-10-161-7/+7
|
* Make consistent the syscall stubs for the syscalls that got specialguenther2011-10-1610-23/+83
| | | | | | | | handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@
* Add stubs and manpage for __{get,set}_tcbguenther2011-10-162-3/+68
| | | | ok deraadt@
* Fix toprec handling in cgetnext(). OK otto@millert2011-10-141-4/+9
|
* Deal with the horror that is gcc asm constraints by copying theguenther2011-10-132-8/+4
| | | | | | known good version of ldstub in the kernel. (It's finally in, aja!) ok kettenis@
* Increase the stack offset for the new rthread from (BIAS+128) toguenther2011-10-131-4/+5
| | | | | | | | (BIAD+CC64FSZ) so that there's sufficient space even when _rthread_start is compiled without optimization. Also, clear the frame pointer to help make gdb happier. ok kettenis@
* Convert rfork_thread() from int$80 to syscall.guenther2011-10-131-18/+12
| | | | | | | Tune the asm slightly to avoid using the stack and use smaller instructions. Pass threxit() a NULL pointer. seemed okay to kettenis@
* Change to syscall is done, so delete an XXX commentguenther2011-10-111-5/+1
|
* put in code for wcstfime, as discussed with millert@ and stsp@ (and testedespie2011-10-102-0/+605
| | | | by ajacoutot@, thx), to be linked in and activated alongside wscanf...
* Stop defining XPG4_1994_04_09.ajacoutot2011-10-101-2/+1
| | | | | | | | | | | | | | | | As kettenis@ pointed at, http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html has the following: The Open Group Corrigendum U033/8 is applied. The %V conversion specifier is changed from "Otherwise, it is week 53 of the previous year, and the next week is week 1" to "Otherwise, it is the last week of the previous year, and the next week is week 1". In effect, strftime(3) with the "%V" format will now return "52" instead of "53" for days in January before the first Monday, when January 1st falls on a Friday, Saturday, or Sunday. ok kettenis@ millert@
* d_t_fmt: fix the format for the day of the month to use %e (singleajacoutot2011-10-091-2/+2
| | | | | | digits are preceded by a blank instead of a 0) and not %d (POSIX). ok jasper@ guenther@
* threads waiting on PS_FDW_WAIT state should not be interruptible iffgsch2011-10-077-9/+19
| | | | | | | | | SA_RESTART is set, with connect(2) being the exception thus getting its own state. as pointed by kurt, threads on this and PS_FDR_WAIT states need to be set to PS_RUNNING since the current signal dispatching code only looks at the current thread. ok kurt@
* Make struct chunk_info a variable sized struct, wasting lessotto2011-10-061-28/+55
| | | | | space for meta data by only allocating space actually needed for the bitmap (modulo alignment requirements). ok deraadt@
* restart connect(2) if it returns EINTRratchov2011-10-051-1/+4
|
* some tweaks, from Tim van der Molenjmc2011-10-041-5/+5
|
* signedness fix; ok millertdtucker2011-10-021-2/+2
|
* ssl.8: Certifying Authority -> Certificate Authorityjmc2011-09-291-5/+4
| | | | | | | isakmpd.8: rsa:1024 -> rsa:2048 (ok markus) all: X509 -> X.509 from Lawrence Teo
* make sure that `references' is not optimized away as it is required for thefgsch2011-09-281-2/+2
| | | | | static version of pthread. fixes quite a few regression tests. miod@ ok
* KERN_BUFCACHEPERCENT defaults to 20%, not 10%; from Juha Erkkilajmc2011-09-251-3/+3
| | | | ok ariane
* Stop using the latin1 character set in the "C" locale. This behaviour wasstsp2011-09-221-18/+17
| | | | | | | non-standard. Tools which aren't locale-aware should only print ASCII but were also printing latin1 which looks garbled in UTF-8 terminals. Folks who want to use an extended character set now must set LC_CTYPE. ok millert uwe naddy espie
* fix GLOB_KEEPSTAT without GLOB_NOSORT; the implicit sort was beingdjm2011-09-221-6/+44
| | | | | applied only to the gl_pathv vector and not the corresponding gl_statv array. reported in OpenSSH bz#1935; feedback and okay matthew@
* install infnan(3/VAX) into man3/vax/ on all archs;schwarze2011-09-223-5/+14
| | | | | clean make build tested on i386; ok deraadt@, no objections from martynas@
* Return the correct errno (EBUSY) when pthread_mutex_trylock() isguenther2011-09-221-2/+2
| | | | | called on an ERRORCHECK mutex that is locked by this thread. Problem observed by uwe@
* Add /usr/local/share/terminfo to the search path so that ports cannicm2011-09-212-4/+4
| | | | | | | install custom terminfo files. Minor ncurses bump to allow packages to depend on the right version. From discussion with zinke@ and dcoppa@. ok phessler dcoppa
* In glob(3), limit recursion during matching attempts. Similar to fnmatch fix.stsp2011-09-201-5/+17
| | | | | Also collapse consecutive '*' (from NetBSD). ok miod deraadt
* Use long calls like we do on hppa, otherwise the function we want to callkettenis2011-09-191-5/+12
| | | | might be unreachable.
* Make this actually work.kettenis2011-09-191-4/+4
| | | | ok jsing@
* Use a long-displacement branch instruction to call __cerror, since thekettenis2011-09-191-2/+3
| | | | linker doesn't generate stubs yet.
* Clear the upper 32-bits of the system call address we load using ldil, sincekettenis2011-09-191-2/+4
| | | | | that instruction does sign extension. Look at %r1 to determine whether a system call was sucessful, since that is where the kernel puts the information.
* arithemtic -> arithmeticmiod2011-09-171-2/+2
|
* after some thought, i think it unlikely that we will need to specifyjmc2011-09-162-8/+8
| | | | | | | | | | a revision number for ISO 8601; in addition, the revision number makes the text unwieldy when discussing the standard in a casual manner. therefore change the macro from -8601-4 to simply -8601, which will output "ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc. discussed with/ok millert
* use .St here for ISO 8601 references; ok millertjmc2011-09-162-9/+21
|
* RFC-2822 -> RFC 2822jmc2011-09-161-3/+3
|
* update vt100 example to vt200, as vt100 apparently is no longer in thejmc2011-09-141-6/+6
| | | | | | | termcap database; from Nils Anspach ok nicm