summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* malloc_pages should be static.phk1996-10-201-187/+103
| | | | | | | | | | | | | | | | Add progname to warning/error message layout. (joerg) Remove inline assembler, no speed impact, not need for the obfuscation (bde) Remove on the fly calculation of parameters, no longer critical. Make D & U flags valid even if we don't support them. Don't call imalloc until we're done initializing. Zap contents on free() if we have "Junk" set. [*] Various nitpicking. [*] As a sideeffect of this change, if you are worried about sensitive data lingering in memory, you can use the 'Junk' option now to make sure phkmalloc zaps memory when it is returned. add char * malloc_options = "J"; to your source. Obviously there is a performance impact.
* Remove the arbitrary limit for the line length in /etc/ttys, and makejoerg1996-10-191-11/+33
| | | | | | the buffer dynamic. Closes PR # misc/1838: getttyent() arbitrary 100...
* Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2peter1996-10-191-10/+18
| | | | | | changes from the vendor branch as well, backing the db-1.82 changes. This file should now be the same as it was in rev 1.1.1.2.
* Backout bzero patch.guido1996-10-181-21/+11
| | | | | | Somehow, I also managed to get quite some other changes in this file at the same time. All I did was checkout the file and made a single change. If someone has an explanation how these PURIFFY defines got in...
* When freeing buffers in the db routines, also zeroize themguido1996-10-171-1/+3
| | | | | | This should solve the bug where a coredumping ftpd reveals encrypted passwords. Obtained from: OpenBSD
* Corrently null-terminate the path being passed to the opendir() calls,peter1996-10-171-0/+1
| | | | | | | malloc() does is not defined to return a zeroed buffer leading to "strange" problems. Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
* Bring back ns_* routines; we need them for ifconfig and route.jkh1996-10-161-2/+1
|
* Save half of space in LC_COLLATE and remove unneded code.ache1996-10-152-35/+10
| | | | | | This change is not compatible with previous variant, however proper error code returned in both cases. Colldef changes will follows.
* Require that a timezone specified via the TZ envariable be a regularwollman1996-10-091-1/+7
| | | | | file (and not a directory or a device which might also be readable). Closes PR#1740.
* Improve seeding, the random sequence did not vary matchache1996-10-092-14/+75
| | | | with the seed. Old variant will be available via libcompat soon.
* Fix an error in the description of "h_errno". Add "const" to a fewjdp1996-10-081-4/+4
| | | | declarations to make them agree with the actual prototypes in <netdb.h>.
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-056-7/+13
|
* Skip results that have unexpected lengthspst1996-10-011-7/+6
|
* perror () does not prepend ": " for the non-NULL argument "". close PR 1492wosch1996-09-301-1/+1
| | | | | | | Submitted by: Kent Vander Velden <graphix@iastate.edu> Reviewed by: Submitted by: Obtained from:
* Made this about as (in)complete as sysctl.8.bde1996-09-291-35/+42
| | | | | | - removed references to nonexistent pathconf-related variables. - document everything in CTL_MACHDEP(more than in sysctl.8) and 80% of the things in CTL_KERN (same as in sysctl.8).
* Updated the descriptions of the limits related to EAGAIN.bde1996-09-292-9/+37
| | | | Changed the error name width for rfork to match fork.
* .Os NetBSD -> .Os FreeBSD.wosch1996-09-284-4/+4
| | | | The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
* .DV -> .Dv (SOCK_STREAM was invisible).bde1996-09-281-1/+1
|
* .DV -> .Dv (FOPEN_MAX was invisible).bde1996-09-281-1/+1
|
* Don't use malloc, pessimize to use sbrk.phk1996-09-272-2/+3
| | | | fix sbrk manpage while we're at it.
* Fix a typo.sos1996-09-251-2/+2
| | | | Reviewed by: phk
* A number of minor bogons and portability things from jdp.phk1996-09-251-28/+37
| | | | Submitted by: jdp
* add missing comma(s) in .Xr macroswosch1996-09-237-13/+18
|
* phkmalloc/3phk1996-09-232-196/+342
| | | | | | | | Various neat features added. More documentation in the manpage. If your machine has very little RAM, I guess that would be < 16M these days :-(, you may want to try this: ln -fs 'H<' /etc/malloc.conf check the manpage.
* Fix typo from previous commit (tsvsec --> tv_sec).alex1996-09-231-1/+1
|
* fix .Xr macrowosch1996-09-212-2/+2
|
* ".Xr chflags 1," -> ".Xr chflags 1 ,"peter1996-09-211-1/+1
|
* Add the utrace syscall.phk1996-09-201-3/+4
|
* ts_sec -> tv_secnate1996-09-202-5/+5
| | | | ts_nsec -> tv_nsec
* Fix a very rare error condition: The code to free VM back to the kernelphk1996-09-171-3/+4
| | | | | | | as done after a quasi-recursive call to free() had modified what we thought we knew about the last chunk of pages. This bug manifested itself when I did a "make obj" from src/usr.sbin/lpr, then make would coredump in the lpd directory.
* Add comment explaining what function doesache1996-09-171-3/+11
| | | | Cover strcoll return 0 case too
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-142-7/+8
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* fwopen() argument type mis-describedpst1996-09-131-1/+1
| | | | Obtained from: NetBSD lib/2751 (der Mouse)
* Resync statfs struct with sys/mount.h.peter1996-09-071-3/+7
|
* Apply patch to fix +group YP overrides and prevent SEGV on badlywpaul1996-09-051-8/+47
| | | | formatted groups (foo:*).
* Describe POSIX saved IDs behaviour betterache1996-09-031-5/+19
|
* Describe current behaviour (_POSIX_SAVED_IDS are ON),ache1996-09-011-2/+12
| | | | | | | traditional BSD4.4 behavior (_POSIX_SAVED_IDS are OFF) was described before. Add some hooks to easily change this text when POSIX_SAVED_IDS model will be changed.
* Fixed the easy cases of const poisoning in the kernel. Cosmetic.bde1996-08-312-2/+3
|
* Don't depend in the kernel on the gcc feature of doing arithmetic onbde1996-08-311-10/+10
| | | | pointers of type `void *'. Warn about this in future.
* Sigh, back out the last bright idea I had here about compiling the res_*peter1996-08-309-2/+3633
| | | | | | | | routines from contrib/bind directly. There were too many problems, including having to add -DUSE_OPTIONS_H to the entire libc source in order for the contrib code to pick up it's options, and so on. Instead, I've merged the changes, libc is now self contained again.
* back out last two changes, this caused the mandoc pages to be replaced bypeter1996-08-303-504/+529
| | | | man pages. I'll fold in the real changes in a seperate commit.
* oops, brain-lapse caused undefined symbolpeter1996-08-301-3/+3
|
* The last commit failed part-way through, re-add the generatedpeter1996-08-293-0/+698
| | | | resolver man pages.
* Revert change to build the reolver man pages on the fly, install thepeter1996-08-291-13/+10
| | | | machine-generated versions
* function appeared in Version 7 AT&T UNIXwosch1996-08-2917-3/+105
| | | | Obtained from: ftp://netlib.att.com/netlib/att/cs/v7man/man2
* Merge in bind-4.9.4-P1 resolver...peter1996-08-2923-3930/+860
|
* Cleaned up interrupt masking by declaring the state variable in abde1996-08-281-6/+5
| | | | | | | machine-dependent macro and passing it to all machine-dependent macros. Eliminated the state variable for the GUPROF case.
* Some minor man page cleanup.mpp1996-08-231-9/+10
|
* Typo police.mpp1996-08-231-2/+2
|
* Correctly use .Fn instead of .Nm to reference function namesmpp1996-08-2297-168/+224
| | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
OpenPOWER on IntegriCloud