aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'RELEASE_2_0'.cvs2svn1994-11-222-23/+17
|
* This commit was manufactured by cvs2svn to create branch 'BETA_2_0'.cvs2svn1994-11-2121-46/+966
| | | | Notes: svn path=/releng/BETA_2_0/; revision=4743
* This commit was manufactured by cvs2svn to create branch 'ALPHA_2_0'.cvs2svn1994-11-08294-59975/+0
| | | | Notes: svn path=/releng/ALPHA_2_0/; revision=4294
* Forget to change = to += in previous commitAndrey A. Chernov1994-11-081-1/+1
| | | | Notes: svn path=/head/; revision=4289
* Add missing link for shared libtermlibAndrey A. Chernov1994-11-081-0/+4
| | | | Notes: svn path=/head/; revision=4288
* *** ATTENTION *** YOU MIGHT BE ABOUT TO BE HOSED *** ATTENTION ***Poul-Henning Kamp1994-11-072-156/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This effectively changes the non-DES password algoritm. If you have the "securedist" installed you will have no problems with this. (Though you might want to consider using this password-encryption instead of the DES-based if your system is likely to be hacked) If you are running a -current system without the "securedist" installed: YOU WILL NEED TO CHANGE ALL PASSWORDS !! There is no backwards mode. Suggested procedure is: Update your sources cd /usr/src/lib/libcrypt make clean make all make install passwd root <set roots new password> change password for any other users on the system. This algorithm is expected to be much better than the traditional DES- based algorithm. It uses the MD5 algorithm at what it is best at, as opposed to the DES algorithm at something it isn't good at at all. The algorithm is designed such that it should very hard to shortcut the calculations needed to build a dictionary, and to make partial knowledge (Hmm, his password starts with a 'P'...) useless. Of course if somebody breaks the MD5 algorithm this looses too. The salt is 48 bits (8 char @ base64). The encrypted password is 128 bits. And I am positively delighted to say that it takes 34 msec to crypt() a password on a Pentium/60Mhz, so building a dictionary is not really an option for hackers at the moment. Notes: svn path=/head/; revision=4246
* Added "const" to the arguments here and there.Poul-Henning Kamp1994-11-077-20/+20
| | | | Notes: svn path=/head/; revision=4245
* A semicolon was lost.Poul-Henning Kamp1994-11-072-2/+2
| | | | Notes: svn path=/head/; revision=4241
* From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>Jordan K. Hubbard1994-11-072-0/+2
| | | | | | | | | | | | | | Given the right circumstances, a call to kvm_open can result in a core dump. The diff belows fixes this (note that this change is already in the NetBSD code). Could somebody apply this? Gary J. Submitted by: gj Notes: svn path=/head/; revision=4231
* This curses fix allows to print something in lower right cornerAndrey A. Chernov1994-11-061-22/+63
| | | | | | | if insert_character is available or don't print, if not Notes: svn path=/head/; revision=4212
* Several fixes for 'back_color_erase' curses problemAndrey A. Chernov1994-11-061-5/+5
| | | | Notes: svn path=/head/; revision=4206
* Fix curses bug with delete character and standoutAndrey A. Chernov1994-11-061-0/+4
| | | | Notes: svn path=/head/; revision=4205
* Date: Wed, 26 Oct 1994 15:44:49 -0600Nate Williams1994-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | From: Chris Torek <torek@bsdi.com> Here is a semi-official patch (apply to /usr/src/lib/libc/stdio/fseek.c, rebuild libc, install). The current code fails when the seek: - is optimized, and - is to just past the end of the block currently in the buffer, and - is followed by another seek with no intervening read operation, and - the destination of subsequent seek is within the block left in the buffer (seeking to the beginning of a block does not force a read, so the buffer still contains the previous block) so it is indeed rather obscure. I may have a different `final' fix, as this one `loses' the buffer contents on a seek that goes just past the end of the current block. [Footnote: seeks are optimized only on read-only opens of regular files that are buffered by the file's optimal I/O size. This is what you get with fopen(path, "r") and no call to setvbuf().] Obtained from: [ BSDI mailing list ] Notes: svn path=/head/; revision=4169
* Add const to termcap prototypes to help libg++ 2.6.1 compiling,Andrey A. Chernov1994-11-041-7/+7
| | | | | | | this change must not affect other curses pgms Notes: svn path=/head/; revision=4141
* __386BSD__ -> __FreeBSD__Jordan K. Hubbard1994-11-041-1/+1
| | | | | | | | | I know that many of these entries are bogus and need to be revisited, but let's get the tree working again for now and then do a pass through looking at all the __FreeBSD__ entries, shall we? Notes: svn path=/head/; revision=4131
* Fix from Gary Jennejohn - use 'cp' not 'buf' in read call. Oops.David Greenman1994-11-021-1/+1
| | | | Notes: svn path=/head/; revision=4095
* Clean up beforeinstallPaul Traina1994-11-011-6/+3
| | | | Notes: svn path=/head/; revision=4043
* Add SIGTERM reaction -- cleanupAndrey A. Chernov1994-10-311-0/+1
| | | | Notes: svn path=/head/; revision=4023
* More verbose diagnostic, if failsAndrey A. Chernov1994-10-311-2/+2
| | | | Notes: svn path=/head/; revision=4022
* Now COLS/LINES uses window cols/lines, not cols/lines from termcap entryAndrey A. Chernov1994-10-311-2/+2
| | | | Notes: svn path=/head/; revision=4021
* Finally move DB declaration under _CURSES_PRIVATEAndrey A. Chernov1994-10-283-4/+1
| | | | Notes: svn path=/head/; revision=3984
* Continue previous fix stillAndrey A. Chernov1994-10-281-1/+1
| | | | Notes: svn path=/head/; revision=3982
* After some thinking better place to fix appearse curses again, notAndrey A. Chernov1994-10-282-0/+4
| | | | | | | | vi(1). Remove DB from curses.h and still implement it provide this variable for programs that expect it in any case. Notes: svn path=/head/; revision=3981
* Rename cDB to DB back like old good BSD curses always does,Andrey A. Chernov1994-10-284-4/+4
| | | | | | | | check ultrix for example. Real place for fix will be vi(1), wait for next commit. Notes: svn path=/head/; revision=3980
* Missed one reference to the DB variable.Poul-Henning Kamp1994-10-281-1/+1
| | | | Notes: svn path=/head/; revision=3977
* Renamed a variable from 'DB' to 'cDB', so the vi(1) will compile again.Poul-Henning Kamp1994-10-283-3/+3
| | | | | | | Nice to see that people test their fixes before they commit :-( Notes: svn path=/head/; revision=3976
* Add -I${.CURDIR}Andrey A. Chernov1994-10-283-6/+6
| | | | Notes: svn path=/head/; revision=3960
* Previous commit was incompleted, yet one step requiredAndrey A. Chernov1994-10-271-1/+1
| | | | Notes: svn path=/head/; revision=3944
* Fix scroll bug bringed by vi(1), from phk's flameAndrey A. Chernov1994-10-274-8/+8
| | | | | | | (I still wait for apologies) Notes: svn path=/head/; revision=3941
* Remove extra newline.Paul Traina1994-10-271-4/+2
| | | | Notes: svn path=/head/; revision=3934
* >Description:Rodney W. Grimes1994-10-272-1/+2
| | | | | | | | | | | | | | | | | While trying to figure out why rlogind wasn't working right for root, I noticed that man wouldn't come back with a man page for iruserok, but it would for ruserok. Checking the lib/net directory's Makefile.inc file shows that the link to the rcmd man page just isn't getting created. >How-To-Repeat: Do a 'man iruserok' and notihing will come back, where a 'man ruserok' will. Submitted by: Brian Moore <ziff@houdini.eecs.umich.edu> Obtained from: NetBSD-bugs mailing list Notes: svn path=/head/; revision=3932
* Fix memchr(p, 0, 0) to return NULL instead of p.Bruce Evans1994-10-271-3/+3
| | | | Notes: svn path=/head/; revision=3929
* Added libf2c, the library for f2c.L Jonas Olsson1994-10-271-1/+1
| | | | Notes: svn path=/head/; revision=3928
* Use -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.L Jonas Olsson1994-10-261-1/+1
| | | | | | | Submitted by: pete@pelican.pelican.com Notes: svn path=/head/; revision=3909
* Merged f2c library.L Jonas Olsson1994-10-261-0/+37
| | | | Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=3904
* Library for f2c (part 2 of 2)L Jonas Olsson1994-10-26120-0/+2749
| | | | | | | Obtained from: netlib.att.com Notes: svn path=/cvs2svn/branches/ATT/; revision=3902
* Library for f2c. (part 1 of 2)L Jonas Olsson1994-10-2642-0/+6219
| | | | | | | Obtained from: netlib.att.com Notes: svn path=/cvs2svn/branches/ATT/; revision=3900
* Optimize delwin a bitAndrey A. Chernov1994-10-261-2/+3
| | | | Notes: svn path=/head/; revision=3886
* Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsetsBruce Evans1994-10-254-14/+50
| | | | | | | to match setjmp.S. Notes: svn path=/head/; revision=3851
* Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C functionBruce Evans1994-10-251-2/+2
| | | | | | | | that calls setjmp(), since returning from the function usually clobbers the saved environment. Notes: svn path=/head/; revision=3850
* cfmakeraw(): set IGNBRK, clear IXOFF, INPCK per Bruce suggestionAndrey A. Chernov1994-10-221-2/+3
| | | | | | | Set IGNPAR, clear NOFLSH, PENDIN, TOSTOP, ECHOE, ECHOK Notes: svn path=/head/; revision=3799
* makeraw(): forget to clear IMAXBEL, set VMIN/VTIMEAndrey A. Chernov1994-10-221-2/+3
| | | | Notes: svn path=/head/; revision=3760
* new file does skey_getpass() supportPaul Traina1994-10-191-0/+40
| | | | Notes: svn path=/head/; revision=3709
* Include most of the logdaemon v4.4 S/key changesPaul Traina1994-10-1911-190/+328
| | | | Notes: svn path=/head/; revision=3702
* Remove CPU_COLORDISP, GIO_COLOR now existsAndrey A. Chernov1994-10-181-1/+0
| | | | Notes: svn path=/head/; revision=3682
* Add new machdep variablesAndrey A. Chernov1994-10-171-0/+3
| | | | Notes: svn path=/head/; revision=3667
* sysctl(3) can return an error (setting errno to ENOMEM) when theGarrett Wollman1994-10-132-28/+90
| | | | | | | | fields in the utsname structure are too small to hold their corresponding MIB variables. Don't return an error in this case. Notes: svn path=/head/; revision=3565
* Add LDADD+= -ltermcapAndrey A. Chernov1994-10-121-0/+2
| | | | Notes: svn path=/head/; revision=3527
* LDADD: = -> +=Andrey A. Chernov1994-10-122-4/+4
| | | | Notes: svn path=/head/; revision=3526
* SHARED_LDADD --> LDADDAndrey A. Chernov1994-10-121-4/+3
| | | | | | | cmp redirection removed Notes: svn path=/head/; revision=3525