summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* For threads in PS_FDR_WAIT state, check SA_RESTART before marking it asfgsch2011-09-137-9/+24
| | | | | | | | interrupted, thus simulating the system call restart behaviour in the non-pthreads case. Add a state for kevent since it shouldn't be restarted regardless of SA_RESTART being present. guenther@ ok.
* The scheduling loop can change errno, so we need to restore it evenguenther2011-09-051-4/+4
| | | | | | when not switching threads; issue observed by fgsch@ ok marc@
* Preserve errno across calls to open the password database(s), soguenther2011-09-051-2/+5
| | | | | | | that errno isn't changed when a normal user (who can't open spwd.db) does a lookup. Problem pointed out by Tim van der Molen (tbvdm at xs4all.nl)
* Switch sigreturn() to the normal syscall entry instead of int$80.guenther2011-09-052-26/+3
| | | | | | This was done for the sigreturn call in sigcode before 5.0. ok deraadt@ for post-5.0
* knock out some useless Pp;jmc2011-09-032-4/+2
|
* some minor tweaks;jmc2011-09-032-13/+8
|
* make -column lists pretty again;jmc2011-09-0313-744/+870
| | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
* only one leap second is permitted, not two; from guentherjmc2011-08-312-8/+8
|
* in column lists, enforce the following ordering:jmc2011-08-302-6/+6
| | | | | | | | | .Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want)
* as with other list types, column lists generally do not need a Pp/-compactjmc2011-08-191-4/+3
| | | | | | | | | | | | | | | | | construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
* Bring libc and libm in line with the compiler now that we no longer have akettenis2011-08-199-194/+8
| | | | 128-bit long double. Diff committed on behalf of martynas@
* Make sure the stack is properly aligned for using SSE instructions. Whilekettenis2011-08-191-5/+10
| | | | | | | our in-tree compiler will emit code to do this at the start of main(), other compilers might not do that. ok miod@
* where a man page has multiple links, only reference that pagejmc2011-08-187-53/+24
| | | | | | once in SEE ALSO; also prefer Xr to Fn where relevant; diff started by Martin Pelikan
* 64-bitification went a bit too far here; sigset_t is 32-bit so using 64-bitkettenis2011-08-163-11/+11
| | | | | | loads and stores may trigger an alignment trap. Also fix issues where the code was assuming arguments were passed both in registers on the stack. This isn't ithe case for hppa64.
* Initial hppa64 code drop; not finished yet, but this at least allows us tokettenis2011-08-043-0/+131
| | | | | | build stuff. ok deraadt@
* Add support for hppa64 based on the defaults for 64-bit HP-UX as found in thekettenis2011-08-031-0/+253
| | | | | | Configure script. ok deraadt@
* Don't try to outsmart gcc inline assembler when saving the cpsr in themiod2011-08-031-4/+4
| | | | | thread context, this used to work but loses bigtime with gcc4. ok drahn@ deraadt@
* missing $ in rcs tag; from Daniel Dickmansthen2011-07-291-1/+1
|
* .Fn rmdir -> .Xr rmdir 2matthew2011-07-261-3/+3
|
* At some point we've switched to the VFP floating-point--unlike FPAmartynas2011-07-263-9/+9
| | | | | | | | | it actually stores floats in natural-endian--therefore the existing checks became wrong. Take into account __VFP_FP__, effectively bringing back the old behavior. This way it will work now, and in the future when some of our platforms are switched to FPA, where it's much faster.
* Assumptions about floating-point word order based on BYTE_ORDER aremartynas2011-07-261-3/+3
| | | | | wrong on ARM. A more elegant solution is pending, but this is good for now. OK miod@.
* __arm32__ -> __arm__, since our new compiler isn't defining themartynas2011-07-262-7/+7
| | | | former anymore. OK miod@.
* Make huge constants actually long, so they don't overflow and becomemartynas2011-07-252-26/+26
| | | | infinite.
* tweak previous;jmc2011-07-253-6/+6
|
* update HISTORY and SEE ALSO for all of string(3), together with variousschwarze2011-07-2553-237/+642
| | | | | smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
* occured -> occurred;jmc2011-07-241-2/+2
|
* tweak previous;jmc2011-07-242-5/+5
|
* Recent Single Unix will malloc memory if the second argument of realpath()miod2011-07-242-17/+52
| | | | | | is NULL, and third-party software is starting to rely upon this. Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor tweaks from nicm@ and yours truly.
* Document fma, fmaf, fmal, nexttoward, nexttowardf, nexttowardl.martynas2011-07-243-17/+80
|
* Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@millert2011-07-242-50/+26
|
* fix linkat(2) prototypematthew2011-07-241-3/+3
|
* Show (in the example) that < and > can be used multiple times; ok jmc@otto2011-07-221-4/+5
| | | | jasper@
* - add a MALLOC_OPTIONS section header. the content is already there, but havingjasper2011-07-211-3/+3
| | | | | | a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@
* sundry tweakage;jmc2011-07-214-15/+14
|
* - Make constants const.martynas2011-07-2014-50/+50
| | | | | | - Fix aliasing issue in s_frexpf.c; spotted by gcc. Many other ones were fixed in NetBSD long ago, but this one was forgotten. It looks like recently they fixed it too.
* For intermediate computations use single or extended counterpartsmartynas2011-07-2016-50/+49
| | | | where appropriate, to avoid precision loss.
* Document complex math library.martynas2011-07-2022-31/+1300
|
* - Replace digicert 2nd-level cert with the root which issued it.sthen2011-07-201-114/+247
| | | | | | | | | | | Allows https checkouts from github to work. - Add digicert's other root certs. Fingerprints carefully checked against those in the built-in roots supplied with Mozilla. ok dcoppa@ jcs@
* Handle F_DUPFD_CLOEXEC the same as we do F_DUPFD.matthew2011-07-191-1/+2
| | | | ok guenther@
* Change "constructed by bitwise-inclusive OR'ing of flags from ..." tomatthew2011-07-197-27/+27
| | | | | | "constructed by bitwise-inclusive ORing flags from ..." Requested by jmc@
* Change "If also flag is zero" to "If flag is also zero".matthew2011-07-192-8/+8
| | | | Requested by jmc@
* no need to mention xerox network stack here; ok claudiomikeb2011-07-191-5/+2
|
* tweak previous;jmc2011-07-191-4/+4
|
* knock out some useless Pp;jmc2011-07-192-6/+4
|
* Typo.martynas2011-07-191-1/+1
|
* Fix two typos pointed out by guenther@ during our libpthread micromatthew2011-07-191-3/+3
| | | | hackathon.
* document that we don't currently handle UTIME_OMIT correctly for the mtime timestampmatthew2011-07-191-2/+15
|
* oops, forget a critical "not"matthew2011-07-181-2/+2
|
* Add (rough draft) documentation for fdopendir(3) and the 15 newmatthew2011-07-1817-92/+1094
| | | | | | | XXXat(2) system calls from POSIX 2008. Editing will be done in tree. General style discussed with jmc@, schwarze@, and deraadt@ ok jmc@
* Expose a bunch of new functionality from POSIX 2008: openat(2),matthew2011-07-183-6/+7
| | | | | | | | | | | | | fchmodat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2), faccessat(2), fchownat(2), linkat(2), readlinkat(2), renameat(2), symlinkat(2), unlinkat(2), utimensat(2), futimens(2), and fdopendir(3). "Minor" libc bump. Tested in a bulk build by naddy@ Much help from guenther@, thib@, tedu@, oga@, and others. ok deraadt@, naddy@