summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Replace collate_range_cmp call with its codeache1996-10-311-1/+18
|
* collate_range_cmp -> __collate_range_cmpache1996-10-311-4/+5
|
* collate_range_cmp -> __collate_range_cmpache1996-10-312-6/+8
|
* Rename collate_range_cmp to __collate_range_cmp for internal usageache1996-10-312-5/+14
| | | | | | | inside libc. Add collate_range_cmp as alias to __collate_range_cmp for temp. backward compatibility. collate_range_cmp will be replaced with direct code for each external program for compatibility with the rest of world
* Regenerate.peter1996-10-302-4/+4
| | | | | | | No changes other than "instructions" for what other tools that use this .. "interesting" .. system should name their shared libraries. This was broken for some tools (eg: expect-5.21) even for the native tcl build (ie, it would end up using libexpect521.so, not libexpect521.so.1.0)
* If you run with option Z and malloc fails, memset gets calledphk1996-10-291-4/+6
| | | | | | | with a NULL pointer (archie) Explain that minsize is also the smallest alignment. Submitted by: Archie Cobbs <archie@whistle.com>
* Regenerated.. Use new minor number for both installed names, not justpeter1996-10-292-5/+5
| | | | one of them.
* Do not make symbolic links from obj directory into source tree,wosch1996-10-261-233/+73
| | | | | | it may break `make reinstall'. Use cp(1). simplify makefile
* Fix an off-by-one error in getvfsent().joerg1996-10-261-1/+1
| | | | Detected by: phkmalloc :)
* Note that streams are now flushed on abort.alex1996-10-261-2/+2
| | | | Change standards section to reflect POSIX 1003.1-1990 conformance.
* Various cosmeticsphk1996-10-261-48/+28
| | | | | | Improve chances of troublefree 64bit operation. [imp] Noticed by: Warner Losh <imp@village.org>
* POSIX requires stdio buffers be flushed on abort.alex1996-10-261-0/+8
| | | | Obtained from: OpenBSD, Thorsten Lockert <tholo@OpenBSD.ORG>
* Moved #include of <sys/types.h> earlier so that this compiles whenbde1996-10-251-7/+8
| | | | | | <stdio.h> doesn't (bogusly) include <sys/types.h>. Cleaned up #includes.
* GNU-style changes:ache1996-10-232-11/+21
| | | | | | | 1) Rename FNM_ICASE to FNM_CASEFOLD 2) Add FNM_LEADING_DIR Add proper (unsigned char) casts to tolower(). Use 'char' function argument for proper sign extension
* Simplify debug outputache1996-10-232-5/+14
| | | | Simplify collate_range_cmp for ASCII-compatible collate we have now
* Add #include <sys/types>phk1996-10-221-1/+2
|
* close bin/1648 libmd not 64bit safe.phk1996-10-225-12/+15
| | | | | | if something fails to compile now, you need to add #include <sys/types.h> Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
* Fix a potential memory leak i've introduced with my recent patch.joerg1996-10-211-2/+2
| | | | Reviewed by: bde
* add flag FNM_ICASE for case insensitve searchwosch1996-10-202-1/+25
| | | | Reviewed by: ache
* 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...
* After some thinking implement alternative way:if it is impossibleache1996-10-181-9/+5
| | | | | | to confirm password, don't tell that s/key required, but ask for password in anycase. It looks like non-s/key system from outside.
* Make PERMIT_CONSOLE to work not only fromache1996-10-171-1/+8
| | | | /dev/console, but from syscons vty's too
* 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
* Change "nope" to ":"ache1996-10-171-1/+1
| | | | Previous variant not work well, if you have a user with name nope
* Prevent namespace pollution cause by this library by splitting toache1996-10-174-8/+23
| | | | | | | API and non-API functions and giving _sk_ prefix for all non-API functions. Old names will be available by _SKEY_INTERNAL define it allows not change anything in keyinit & key, only -D_SKEY_INTERNAL required. Staticise some things.
* If 1) regular Unix passwords not permitted and 2) skey databaseache1996-10-171-2/+5
| | | | | for this user not activated, there no correct password exist, so don't bother ask for it and return "" immediately
* Make it work in localized environment, replace strftime's %b which can beache1996-10-171-2/+9
| | | | in national form with months names table
* 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.
* A couple of minor nits.phk1996-10-141-5/+10
| | | | | Submitted by: Craig Leres <leres@ee.lbl.gov> Submitted by: Theo Deraadt <deraadt@theos.com>
* Send PASV instead of PASSIVE.jkh1996-10-101-2/+2
| | | | Submitted-By: Archie Cobbs <archie@whistle.com>
* Use -mdoc macros properly.wollman1996-10-094-52/+63
| | | | | | Translate from Danglish into English. Refer to the alogrithms as ``RSA Data Security MDX message digest'' as required by the license.
* 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.
* Add orandom(), osrandom(), etc.ache1996-10-091-3/+7
|
* 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>.
* Yet another attempt to remove the old libraries correctly. libfoo.*bde1996-10-082-5/+7
| | | | was misnamed foo.*.
* Link shared libraries with -xpst1996-10-081-1/+1
|
* Fixed prototyping of dlopen/dlsym in dlfcn.h, to match how crt0.c definesscrappy1996-10-081-2/+2
| | | | | | it and link.h prototypes it Error of my ways pointed out by Peter
* Implement virtual-to-physical address mapping for the kvm library onpeter1996-10-072-40/+130
| | | | | | | | | | | | dead kernel debugging. The previous code was a "do nothing". The most obvious side effect of this is that you can now do things like this and reasonably expect them to work: dmesg -M /var/crash/vmcore.3 -N /var/crash/kernel.3 ps -axl -M /var/crash/vmcore.3 -N /var/crash/kernel.3 A good deal of this was lifted from the gdb code to do this, as well as from NetBSD's libkvm (which has completely different VM macros)
* Remove garbage initcode reference so that 'gcc -Dlint ...'steve1996-10-061-2/+1
| | | | will compile without error.
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-0510-12/+23
|
* Skip results that have unexpected lengthspst1996-10-011-7/+6
|
* Support crt0 <-> ld.so interface version 4. This should be both backwardspeter1996-10-011-5/+11
| | | | | | | | | | and forwards compatable with version 3. This is needed to enable storing a run-time library path in the dynamic linking headers. The crt startup tries version 4 first, and falls back to version 3, so an executable that is linked on -current will work with the ld.so on 2.1.x and less. Reviewed by: nate, jdp Obtained from: NetBSD
* 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).
OpenPOWER on IntegriCloud