summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix cut'n'paste errorphantom2003-03-052-2/+2
| | | | Noticed by: julian
* Remove NS and ISO stuff.peter2003-03-057-737/+3
|
* Fix threaded applications on ia64 that are linked dynamicly. We didmarcel2003-03-052-3/+6
| | | | | | | | | | | | | | | | | not save (restore) the global pointer (GP) in the jmpbuf in setjmp (longjmp) because it's not needed in general. GP is considered a scratch register at callsites and hence is always restored after a call (when it's possible that the call resolves to a symbol in a different loadmodule; otherwise GP does not have to be saved and restored at all), including calls to setjmp/longjmp. There's just one problem with this now that we use setjmp/longjmp for context switching: A new context must have GP defined properly for the thread's entry point. This means that we need to put GP in the jmpbuf and consequently that we have to restore is in longjmp. This automaticly requires us to save it as well. When setjmp/longjmp isn't used for context switching, this can be reverted again.
* Don't cast an int to a pointer type without (possibly) widening themarcel2003-03-051-1/+1
| | | | | | | | | | | integral type to the size of a pointer type when it's known that the cast is valid. On ia64 such casts are generally bad news and has led us (=peter :-) to make such casts fatal. By casting to intptr_t before casting to a pointer type, this now compiles cleanly in LP64 architectures. Note that the final cast has been changed to void* (instead of siginfo_t*) to make it explicit that we're not trying to pass a siginfo_t pointer but rather trying to pass an int when the prototype says it should be a pointer.
* ABI breaker: Move the J_SIGMASK field in the jmpbuf beforemarcel2003-03-051-2/+2
| | | | | | | | | | | the J_SIG0 field. While here, rename J_SIG0 to J_SIGSET and remove J_SIG1. The main reason for this change is that the 128-bit sigset_t is now aligned on a 16-byte boundary, which allows us to use 16-byte atomic loads and stores on CPUs that support it. The removal of J_SIG1 is done to avoid confusion: it is never accessed and should not be. Renaming J_SIG0 to J_SIGSET is the icing on the cake that's better done now than later.
* Re-document unimplemented capabilities that were removed in the lastdas2003-03-051-0/+57
| | | | | | | | revision of this file, but note that they are not supported in the base system. Requested by: ache Reviewed by: ache, mike (mentor)
* MFlibc_r: add and document pthread_attr_get_np() function.phantom2003-03-036-0/+232
|
* Add and document support for a FETCH_BIND_ADDRESS environment variabledes2003-03-033-4/+37
| | | | | | specifying a local address to bind sockets to. Caveat: lightly tested. PR: bin/37572
* mdoc(7) police: Nits.ru2003-03-032-4/+4
|
* - Document the fact that we now use pam_passwdqc(8) to checkdas2003-03-031-58/+16
| | | | | | | | | | | | password quality, not login.conf(5). - Move warnexpire and warnpasswd from the ``Accounting Limits'' section to ``Authentication'', and nix everything else in the former section. The accounting knobs are not available in the base system, and the subset of them available in ports should be documented in the ports' manpages. PR: 47960 Reviewed by: mike (mentor), doc
* Restore vendor ID.obrien2003-03-031-2/+2
|
* Use __FBSDID.obrien2003-03-0335-44/+85
|
* Fix a machine check abort caused by the EFI loader trying to open amarcel2003-03-032-2/+4
| | | | | | | | | | | | | | | | | | file in the NFS file system when the underlying device is not a network device. A Sparc64 specific hack for this exact problem was already present (nfs.c:1.9, tftp.c:1.10), but the problem is not specific to Sparc64. The hack has been promoted to a non-i386 test because on non-i386 architectures it's either impossible to have non-network devices coexist in the same loader with the NFS FS, or network and non-network device coexist and NFS filesystems can only be used on top of network devices. I believe i386 pxeboot is where this does not hold. The root cause of this problem is in open.c where each file system is tried until no more file systems exist or a file system returns success. There's no notion of a list of valid file systems given the underlying device and the non-existence of a file can cause the invalid combination to be tried.
* mdoc(7) police: Nits.ru2003-03-021-7/+7
|
* Use a character device and ioctl() for communication between libncptjr2003-02-283-35/+40
| | | | | and the kernel instead of adding more syscalls at runtime. As a bonus, you can now restrict access to the kernel NCP interface with chmod.
* Eliminate 19 warnings in libc (at level WARNS=2) of thenectar2003-02-2714-5/+33
| | | | `implicit declaration of function' variety.
* Change the process flags P_KSES to be P_THREADED.julian2003-02-271-2/+2
| | | | This is just a cosmetic change but I've been meaning to do it for about a year.
* ia64 actually uses 80-bit long doubles and must support big and littlemike2003-02-262-3/+27
| | | | | | endian at compile-time. Reviewed by: das
* - gamma_r, lgamma_r, gammaf_r, and lgammaf_r were protected by _REENTRANTimp2003-02-262-9/+38
| | | | | | | | | | in math.h; the consensus here was that __BSD_VISIBLE was correct instead. - gamma_r, lgamma_r, gammaf_r, and lgammaf_r had no documentation in the lgamma(3) manpage. Reviewed by: standards@ Submitted by: Ben Mesander
* Fix compiling error.davidxu2003-02-262-2/+2
|
* Fix typo.robert2003-02-251-1/+1
|
* Fixed CLEANFILES.ru2003-02-252-2/+2
| | | | Submitted by: cron
* Catch up with change to kse_release syscall.julian2003-02-251-2/+2
| | | | | | | The background info in this man page needs rewriting in some parts since the last major changes to the code, however it still accuratly reflects how to use the API.
* Fixed a typo in MLINKS.ru2003-02-241-1/+1
|
* Fixed copyright.ru2003-02-241-20/+32
| | | | | | Tidy up the markup. Only describe the new, post-2.0 behavior. Added the RETURN VALUES and ERRORS sections.
* mdoc(7) police: Scheduled sweep.ru2003-02-2418-194/+186
|
* Insert threads interrupted by a signal while running onto the run queue.mini2003-02-234-52/+6
|
* Add signal logic to the build.mini2003-02-232-0/+4
|
* Mention CLOCK_MONOTONIC.phk2003-02-231-2/+3
|
* mdoc(7) police: markup laundry.ru2003-02-2312-38/+44
|
* mdoc(7) police: kill self-xref.ru2003-02-231-1/+0
|
* Punctuation.ru2003-02-231-1/+1
|
* Typo.ru2003-02-231-1/+1
|
* Grammar.ru2003-02-231-0/+1
|
* More changes from NetBSD:mikeh2003-02-231-9/+11
| | | | | | | | * use correct error detection of realloc failure * strtol negative return check * use strtol to validate string instead of rolling our own validation code * terminate the command sequence correctly
* Grab some changes from NetBSD:mikeh2003-02-231-5/+6
| | | | | | fix const poisoning add cast to silence warning pull in unistd.h
* Apple PR-2449102: getdomainname() doesn't document that it is NIS/YP specificzarzycki2003-02-221-3/+3
|
* Use strlcpy instead of strncpy.johan2003-02-221-2/+1
| | | | | Submitted by: imp Reviewed by: silence on -audit
* Fix a bad free() call that would occur if some #if 0'd code was used.tjr2003-02-221-4/+6
|
* Mention that dlerror() is also applicable to retrieve error message afterphantom2003-02-211-0/+2
| | | | dladdr() and dlinfo() functions calls.
* Some things don't build for PowerPC yet.obrien2003-02-211-1/+5
| | | | List from: benno
* Don't tell people to include <sys/dkstat.h> any more.phk2003-02-191-1/+0
| | | | Pointed out by: kuriyama
* Fix the description for mkdtemp(), which creates directories, not files.gshapiro2003-02-191-1/+1
| | | | | Submitted by: Murray S. Kucherawy <msk@blackops.org> X-MFC after: re approval
* Clean up error reporting in block.c, so that it gives honest error stringsjmallett2003-02-192-13/+22
| | | | | | | | | | | | | | | | | | | | for the sorts of errors we run into[1]. This also gives us room to put in a vaguely appropriate casts to silence warnings since our compiler doesn't like when we compare ssize_t to size_t[2]. Add a cast in sblock.c[3] to silence a warning because of signed vs. size_t hell (again). Clean up nearby excessive parenthemutilation[4]. Reviewed by: bde [2] [3] Suggested by: bde, many [1] Submitted by: bde [4] An aside about [4], bde notes that we do not check for a negative value for the fs bsize. I'm nto going to do that in every situation we use it, one must expect a reasonable program to pass down reasonable values. Some foot shooting protection I will tolerate, some I will not. Also he suggests some possible conditional improvements there, which I may take to heart. PS: For me at least, this is now WARNS=5 clean...
* Update errors.trhodes2003-02-181-8/+8
| | | | | PR: 48125 Submitted by: Per Hedeland <per@hedeland.org> (original version)
* Whack 28 unused variables.nectar2003-02-188-19/+9
|
* Remove these from libc; they are now system calls.deischen2003-02-182-532/+0
| | | | Prompted by: mini
* Expand length of pnpinfo and length fields since pccard pnpinfo canimp2003-02-171-2/+2
| | | | easily be longer than 64 characters.
* Add libgmp.so.3 from 4.7-RELEASE CDs.obrien2003-02-172-0/+1552
| | | | Requested by: des
* Add libgmp.so.3 from 4.7-RELEASE CDs.nectar2003-02-172-0/+2
| | | | Requested by: des
OpenPOWER on IntegriCloud