summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Added HW_MACHINE_ARCH.KATO Takenori1997-08-301-0/+3
| | | | Notes: svn path=/head/; revision=28916
* Merge in the safe chdir changes from Todd Miller's mods to the OpenBSDWarner Losh1997-08-292-40/+128
| | | | | | | | | | | | | | tree. Also merge in fix to NetBSD PR #1495. These represent 1.3-1.9 in the OpenBSD tree. Make minor KNF changes to new code (which is in the OpenBSD as 1.10). This avoids the symlink race problems. These patches should go into 2.2.5 before the ship if they don't break anything in -current. Reviewed by: Bruce Evans Obtained from: OpenBSD Notes: svn path=/head/; revision=28913
* Add a stub version of getpublickey(), in order to eliminate anJohn Polstra1997-08-282-1/+47
| | | | | | | | | | | | | undefined symbol referenced from libc. Without the stub, it is impossible to execute any program using the shared library if LD_BIND_NOW=1 is in the environment. The stub always returns failure, but it can be overridden outside the library when necessary. I don't know whether this is the "correct" fix, but it is intolerable to have any undefined symbols referenced from libc. Notes: svn path=/head/; revision=28877
* Use getpwnam(getlogin()) before getpwuid(getuid())Andrey A. Chernov1997-08-271-3/+5
| | | | Notes: svn path=/head/; revision=28836
* Improvement of type independency for the bitmap.Poul-Henning Kamp1997-08-271-3/+4
| | | | | | | | | | This makes 64bit operation more likely. Reviewed by: phk Submitted by: jdp Notes: svn path=/head/; revision=28835
* Malloc option H is now default.Poul-Henning Kamp1997-08-272-4/+5
| | | | Notes: svn path=/head/; revision=28830
* Don't getenv(HOME) when set[ug]od. This can lead to a buffer overflow andWarner Losh1997-08-271-3/+4
| | | | | | | | elevated privs. Obtained from: OpenBSD Notes: svn path=/head/; revision=28820
* Get rid of integer overflow warning.Steve Price1997-08-232-2/+2
| | | | | | | | PR: misc/3575 Submitted by: Bruce Evans <bde@zeta.org.au> Notes: svn path=/head/; revision=28640
* Reference the correct version of BSD at the bottom of theSteve Price1997-08-231-1/+1
| | | | | | | | | manpage. PR: docs/3735 Notes: svn path=/head/; revision=28630
* Fixed off by 1 error.Bruce Evans1997-08-211-2/+3
| | | | Notes: svn path=/head/; revision=28545
* Manpage for getsid(2).Peter Wemm1997-08-192-2/+80
| | | | Notes: svn path=/head/; revision=28406
* Forgot to mention what getpgid(0) does.Peter Wemm1997-08-191-0/+5
| | | | Notes: svn path=/head/; revision=28405
* Manpage for getpgid(2), wording taken from NetBSD.Peter Wemm1997-08-192-3/+17
| | | | Notes: svn path=/head/; revision=28404
* Syscall stubs for getpgid()/getsid().Peter Wemm1997-08-191-3/+3
| | | | Notes: svn path=/head/; revision=28403
* Reflect reality of sticky bits and UFS-based filesystems.Steve Price1997-08-171-3/+10
| | | | | | | | PR: docs/4198 Submitted by: Ada T. Lim <ada@not-enough.bandwidth.org> Notes: svn path=/head/; revision=28276
* Describe the QCMD macro and its parameters.Steve Price1997-08-171-5/+9
| | | | | | | PR: docs/4261 Notes: svn path=/head/; revision=28274
* Fixed file descriptor leak that occurs after certain types of failures.David Greenman1997-08-151-2/+5
| | | | | | | | PR: 3516 Submitted by: Matthew Flatt <mflatt@cs.rice.edu> Notes: svn path=/head/; revision=28235
* Explicitly point that it_value == 0 disables timer regardles ofAndrey A. Chernov1997-08-141-1/+3
| | | | | | | | it_interval value. It is backward-compatible with previous usage and SunOS-compatible now. Notes: svn path=/head/; revision=28214
* Describe itimerfix upper limitAndrey A. Chernov1997-08-141-0/+8
| | | | Notes: svn path=/head/; revision=28211
* Describe upper limit based on itimerfix restrictionAndrey A. Chernov1997-08-142-4/+17
| | | | Notes: svn path=/head/; revision=28209
* Oops, fix logic for previous commitAndrey A. Chernov1997-08-141-5/+5
| | | | Notes: svn path=/head/; revision=28201
* Remove wrong machine-dependent phrase about maximum microsecondsAndrey A. Chernov1997-08-141-6/+5
| | | | | | | limit. Small cleanup. Notes: svn path=/head/; revision=28193
* Break loop if error != EINTR occurse or it can take forever withAndrey A. Chernov1997-08-141-2/+5
| | | | | | | time_remaining unchanged Notes: svn path=/head/; revision=28192
* Note that default behaviour (restarting signals) is only for signal(3)Andrey A. Chernov1997-08-131-1/+4
| | | | Notes: svn path=/head/; revision=28174
* Handle syscalls error return slightly betterAndrey A. Chernov1997-08-131-6/+12
| | | | Notes: svn path=/head/; revision=28173
* Back out itimerfix hack since nanosleep1 fixed nowAndrey A. Chernov1997-08-131-58/+19
| | | | | | | Handle syscalls error return slightly better Notes: svn path=/head/; revision=28172
* Add unsigned char cast to all ctype callsAndrey A. Chernov1997-08-131-27/+27
| | | | Notes: svn path=/head/; revision=28164
* Rearrange itimerfix loop doing it inside SIGALRM handling sectionAndrey A. Chernov1997-08-121-19/+20
| | | | Notes: svn path=/head/; revision=28128
* Solve itimerfix() problem completely by using loop in 100000000 secs chunksAndrey A. Chernov1997-08-121-0/+19
| | | | Notes: svn path=/head/; revision=28127
* Reflect blocked SIGALRM changesAndrey A. Chernov1997-08-122-3/+3
| | | | Notes: svn path=/head/; revision=28126
* Back out my installation of SIGALRM handler even if it is blockedAndrey A. Chernov1997-08-122-38/+58
| | | | | | | | | | and return to previous Peter's variant. POSIX says that this place is implementation defined and old variant allows application block SIGALRM and sleep and not be killed by external SIGALRMs. BTW, GNU sleep f.e. sleeps forever in blocked SIGALRM :-) Notes: svn path=/head/; revision=28125
* Reflect -current implementationsAndrey A. Chernov1997-08-122-20/+24
| | | | Notes: svn path=/head/; revision=28116
* 1) Make usleep() terminateable by alarm (or ualarm) as supposedAndrey A. Chernov1997-08-121-4/+8
| | | | | | | | historically 2) Fix end of time loop condition: && -> || Notes: svn path=/head/; revision=28111
* Change to reflect -current sleep implementation realityAndrey A. Chernov1997-08-121-28/+13
| | | | Notes: svn path=/head/; revision=28110
* Make itimerfix hack better: return the time we can't sleep at onceAndrey A. Chernov1997-08-121-12/+20
| | | | Notes: svn path=/head/; revision=28107
* Default size for FD_SETSIZE is 1024 not 256.Steve Price1997-08-111-1/+1
| | | | | | | | PR: bin/4177 Submitted by: Wolfgang Helbig <helbig@MX-BA.Stuttgart.De> Notes: svn path=/head/; revision=28049
* Hack^H^H^H^Hworkaround for itimerfix(9) gratuitously limiting theJoerg Wunsch1997-08-101-0/+16
| | | | | | | | | | | | acceptable range for tv_sec to the magic number 100000000 (which at least ought to be declared in a header file, and explained in the non-existing man page, as well as in the existing man pages for nanosleep(2) & Co.). PR: bin/4259 Notes: svn path=/head/; revision=28033
* Import strptime(3) into libc. We've got permission by Kevin Ruddy toJoerg Wunsch1997-08-097-495/+646
| | | | | | | | | | | modify the original `no modifications' copyright message, and i've included his mail into the source file. The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch]. Notes: svn path=/head/; revision=28021
* Clean import of strptime(3) onto a vendor branch.Joerg Wunsch1997-08-091-0/+358
| | | | | | | Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com> Notes: svn path=/cvs2svn/branches/POWERDOG/; revision=28019
* Observe precedence set by Phillippe Charnier in adding anSteve Price1997-08-073-9/+15
| | | | | | | rcsid. Notes: svn path=/head/; revision=27967
* Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.Steve Price1997-08-073-6/+9
| | | | Notes: svn path=/head/; revision=27958
* Remove collate_range_cmp, was left for temp. backward compatibilityAndrey A. Chernov1997-08-031-10/+1
| | | | Notes: svn path=/head/; revision=27863
* Fix a minor typo. It only affects the sparc version.John Polstra1997-07-261-2/+2
| | | | Notes: svn path=/head/; revision=27698
* Added bounds checking to the example after chasing down someone'sPeter da Silva1997-07-261-1/+2
| | | | | | | | broken code where they'd copied the example basically verbatim and blew an array. (engage brain before typing 'make') Notes: svn path=/head/; revision=27689
* Add to CLEANFILES instead of setting it absolutely. Cleaning of *.S andBruce Evans1997-07-211-1/+1
| | | | | | | tags was broken. Notes: svn path=/head/; revision=27581
* Make sleep() and usleep() "eat" any stray SIGALRM signals during thePeter Wemm1997-07-182-49/+29
| | | | | | | | | | | lifetime of the call, just like the old implementation did. Previously, we were only eating them if the application did not call sleep()/usleep() with SIGALRM masked. Submitted by: ache Notes: svn path=/head/; revision=27502
* realpath() should break on looped symlinks.Poul-Henning Kamp1997-07-161-0/+5
| | | | | | | | | PR: 3911 Reviewed by: phk Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Notes: svn path=/head/; revision=27449
* kill the undeadPeter Wemm1997-07-1345-4578/+0
| | | | Notes: svn path=/head/; revision=27369
* Fixed quoting of backslash.Bruce Evans1997-07-131-1/+1
| | | | Notes: svn path=/head/; revision=27355
* Add a quick description of sysctlbyname() and link sysctl.3 toPeter Wemm1997-07-122-2/+13
| | | | | | | sysctlbyname.3 Notes: svn path=/head/; revision=27344