summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* After some thinking implement alternative way:if it is impossibleAndrey A. Chernov1996-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. Notes: svn path=/head/; revision=19017
* Make PERMIT_CONSOLE to work not only fromAndrey A. Chernov1996-10-171-1/+8
| | | | | | | /dev/console, but from syscons vty's too Notes: svn path=/head/; revision=19003
* When freeing buffers in the db routines, also zeroize themGuido van Rooij1996-10-171-1/+3
| | | | | | | | | This should solve the bug where a coredumping ftpd reveals encrypted passwords. Obtained from: OpenBSD Notes: svn path=/head/; revision=18997
* Change "nope" to ":"Andrey A. Chernov1996-10-171-1/+1
| | | | | | | Previous variant not work well, if you have a user with name nope Notes: svn path=/head/; revision=18987
* Prevent namespace pollution cause by this library by splitting toAndrey A. Chernov1996-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. Notes: svn path=/head/; revision=18981
* If 1) regular Unix passwords not permitted and 2) skey databaseAndrey A. Chernov1996-10-171-2/+5
| | | | | | | | for this user not activated, there no correct password exist, so don't bother ask for it and return "" immediately Notes: svn path=/head/; revision=18980
* Make it work in localized environment, replace strftime's %b which can beAndrey A. Chernov1996-10-171-2/+9
| | | | | | | in national form with months names table Notes: svn path=/head/; revision=18978
* Corrently null-terminate the path being passed to the opendir() calls,Peter Wemm1996-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 Notes: svn path=/head/; revision=18971
* Bring back ns_* routines; we need them for ifconfig and route.Jordan K. Hubbard1996-10-161-2/+1
| | | | Notes: svn path=/head/; revision=18966
* Save half of space in LC_COLLATE and remove unneded code.Andrey A. Chernov1996-10-152-35/+10
| | | | | | | | | This change is not compatible with previous variant, however proper error code returned in both cases. Colldef changes will follows. Notes: svn path=/head/; revision=18949
* A couple of minor nits.Poul-Henning Kamp1996-10-141-5/+10
| | | | | | | | Submitted by: Craig Leres <leres@ee.lbl.gov> Submitted by: Theo Deraadt <deraadt@theos.com> Notes: svn path=/head/; revision=18918
* Send PASV instead of PASSIVE.Jordan K. Hubbard1996-10-101-2/+2
| | | | | | | Submitted-By: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=18851
* Use -mdoc macros properly.Garrett 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. Notes: svn path=/head/; revision=18845
* Require that a timezone specified via the TZ envariable be a regularGarrett Wollman1996-10-091-1/+7
| | | | | | | | file (and not a directory or a device which might also be readable). Closes PR#1740. Notes: svn path=/head/; revision=18834
* Add orandom(), osrandom(), etc.Andrey A. Chernov1996-10-091-3/+7
| | | | Notes: svn path=/head/; revision=18833
* Improve seeding, the random sequence did not vary matchAndrey A. Chernov1996-10-092-14/+75
| | | | | | | with the seed. Old variant will be available via libcompat soon. Notes: svn path=/head/; revision=18832
* Fix an error in the description of "h_errno". Add "const" to a fewJohn Polstra1996-10-081-4/+4
| | | | | | | declarations to make them agree with the actual prototypes in <netdb.h>. Notes: svn path=/head/; revision=18824
* Yet another attempt to remove the old libraries correctly. libfoo.*Bruce Evans1996-10-082-5/+7
| | | | | | | was misnamed foo.*. Notes: svn path=/head/; revision=18814
* Link shared libraries with -xPaul Traina1996-10-081-1/+1
| | | | Notes: svn path=/head/; revision=18806
* Fixed prototyping of dlopen/dlsym in dlfcn.h, to match how crt0.c definesMarc G. Fournier1996-10-081-2/+2
| | | | | | | | | it and link.h prototypes it Error of my ways pointed out by Peter Notes: svn path=/head/; revision=18802
* Implement virtual-to-physical address mapping for the kvm library onPeter Wemm1996-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) Notes: svn path=/head/; revision=18798
* Remove garbage initcode reference so that 'gcc -Dlint ...'Steve Price1996-10-061-2/+1
| | | | | | | will compile without error. Notes: svn path=/head/; revision=18735
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-0510-12/+23
| | | | Notes: svn path=/head/; revision=18718
* Skip results that have unexpected lengthsPaul Traina1996-10-011-7/+6
| | | | Notes: svn path=/head/; revision=18608
* Support crt0 <-> ld.so interface version 4. This should be both backwardsPeter Wemm1996-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 Notes: svn path=/head/; revision=18593
* perror () does not prepend ": " for the non-NULL argument "". close PR 1492Wolfram Schneider1996-09-301-1/+1
| | | | | | | | | | Submitted by: Kent Vander Velden <graphix@iastate.edu> Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=18577
* Made this about as (in)complete as sysctl.8.Bruce Evans1996-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). Notes: svn path=/head/; revision=18563
* Updated the descriptions of the limits related to EAGAIN.Bruce Evans1996-09-292-9/+37
| | | | | | | Changed the error name width for rfork to match fork. Notes: svn path=/head/; revision=18562
* .Os NetBSD -> .Os FreeBSD.Wolfram Schneider1996-09-284-4/+4
| | | | | | | The pages are not NetBSD specific and FreeBSD is not a child of NetBSD. Notes: svn path=/head/; revision=18549
* .DV -> .Dv (SOCK_STREAM was invisible).Bruce Evans1996-09-281-1/+1
| | | | Notes: svn path=/head/; revision=18534
* .DV -> .Dv (FOPEN_MAX was invisible).Bruce Evans1996-09-281-1/+1
| | | | Notes: svn path=/head/; revision=18533
* Added parens to noecho in screen initialization example.Alexander Langer1996-09-281-1/+1
| | | | Notes: svn path=/head/; revision=18530
* Peter must be sick of this, so I changed it directly. Fixed:Bruce Evans1996-09-272-10/+20
| | | | | | | | | | | | | | | - old static non-profiled libraries were removed in the wrong directory if ${ORIG_SHLIBDIR} != ${LIBDIR}. - old profiled libraries weren't removed. - new shared compat libraries were installed in the wrong directory if ${ORIG_SHLIBDIR} != /usr/lib. - some lines were too long. Added some comments about cases that have caused problems. Changed libfoo to ${LIB} so that libresolv/Makefile and libgnumalloc/Makefile are almost identical. Notes: svn path=/head/; revision=18517
* Don't use malloc, pessimize to use sbrk.Poul-Henning Kamp1996-09-272-2/+3
| | | | | | | fix sbrk manpage while we're at it. Notes: svn path=/head/; revision=18516
* Don't rely on LIBDIR having been equal to SHLIBDIR on Bruce's suggestion.Peter Wemm1996-09-272-7/+9
| | | | | | | | Set ORIG_SHLIBDIR to the expanded value of ${SHLIBDIR}, and use that as a base to modify the new SHLIBDIR without getting infinite recursion. Notes: svn path=/head/; revision=18510
* These were repository copied.Peter Wemm1996-09-272-30/+0
| | | | Notes: svn path=/head/; revision=18509
* libfakegnumalloc -> libgnumallocPeter Wemm1996-09-271-1/+1
| | | | Notes: svn path=/head/; revision=18508
* Attempt to clean some bogons. I've had so much email with comments,Peter Wemm1996-09-271-2/+15
| | | | | | | | | | | | complaints and suggestions about this over the last few days that I cannot remember who has said what anymore. :-( There is also a comment here about the intent of the process and another explicit pointer to the etc/etc/rc change to that has been ignored by quite a few people it seems. Notes: svn path=/head/; revision=18507
* Repository copy libfakegnumalloc to libgnumalloc and remove the symlinkPeter Wemm1996-09-272-19/+17
| | | | | | | | | | | | | | | | | | stuff and detection for the "gnumalloc" port which doesn't exist and nobody has cared enough about for the past 6 months or so to implement. As has been pointed out to me (quite a few times) in email, the people that had been bitten by the changes had failed to follow the instructions about updating /etc/rc. Bruce also pointed out that after my last commit, it was no longer removing /usr/lib/libgnumalloc.so.2.0 as it should have been. Hopefully this (and the comments in the Makefile) should defuse the problem a bit. Notes: svn path=/head/; revision=18506
* Remove the nuke of /usr/lib/libgnumalloc*, this is closer to "How It WasPeter Wemm1996-09-262-6/+4
| | | | | | | | Before", hopefully it won't cause as much hassle. This now entirely confines it's activities to /usr/lib/compat/lib{fake,}gnumalloc.so.2.0 Notes: svn path=/head/; revision=18497
* Back out my recent compilation clean-up changes, sysinstall is now weird.Paul Traina1996-09-265-5/+5
| | | | Notes: svn path=/head/; revision=18496
* Fix a typo.Søren Schmidt1996-09-251-2/+2
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=18495
* A number of minor bogons and portability things from jdp.Poul-Henning Kamp1996-09-251-28/+37
| | | | | | | Submitted by: jdp Notes: svn path=/head/; revision=18493
* Eliminated includes of the "temporary" backwards compatibility headerBruce Evans1996-09-241-3/+1
| | | | | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones. Notes: svn path=/head/; revision=18485
* add missing comma(s) in .Xr macrosWolfram Schneider1996-09-239-15/+24
| | | | Notes: svn path=/head/; revision=18480
* phkmalloc/3Poul-Henning Kamp1996-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. Notes: svn path=/head/; revision=18479
* Fix typo from previous commit (tsvsec --> tv_sec).Alexander Langer1996-09-231-1/+1
| | | | Notes: svn path=/head/; revision=18472
* Fix some compilation warningsPaul Traina1996-09-225-5/+5
| | | | Notes: svn path=/head/; revision=18454
* Fix some compilation warnings.Paul Traina1996-09-211-5/+7
| | | | Notes: svn path=/head/; revision=18449
* fix .Xr macroWolfram Schneider1996-09-214-4/+4
| | | | Notes: svn path=/head/; revision=18446