summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add 8bit collate stuffache1995-02-165-110/+150
| | | | Submitted by: alex@elvisti.kiev.ua
* Add 8-bit collate stuffache1995-02-165-2/+270
| | | | Submitted by: alex@elvisti.kiev.ua
* Document Transaction TCP extensions to generic system calls.wollman1995-02-152-15/+46
|
* Add missing lib_window.c to SRCSache1995-02-132-4/+4
|
* Fix broken makefile.phk1995-02-121-5/+6
|
* Support for >32 PTYs.jkh1995-02-091-2/+2
| | | | Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
* Install the header files.jkh1995-02-091-1/+3
|
* CLEANFILES was missing a few files.bde1995-02-081-2/+2
|
* Add libpcap. I don't know what it is doing in the tree, but it hasbde1995-02-081-2/+2
| | | | | settled for too long. Compiling it gives 142 lines of compiler warnings. Perhaps the dirt will be fixed if it is visible.
* Add two parts of Mark's/Gary's dlopen() changes that I missed before.jkh1995-02-082-0/+244
|
* Support for more Sun compatible dlopen() and friends. Also added proper errorjkh1995-02-072-9/+11
| | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
* Backed out Keith Bostic's getcwd/$PWD hack. It is causing things to breakdg1995-02-072-31/+6
| | | | all over the place.
* Document the getenv(PWD) feature.phk1995-02-051-1/+7
|
* Collapsed _masterpw_breakout_yp() and _pw_breakout_yp() into awpaul1995-02-051-72/+20
| | | | single function.
* A cute hack to speed up things by Keith: if getenv("PWD") is the samephk1995-02-041-5/+24
| | | | | | | | inode as ".", then just return that. I added a check so it must start with a '/'. Reviewed by: phk Submitted by: bostic@cs.berkeley.edu (Keith Bostic)
* Include <time.h> instead of <sys/time.h> to get CLK_TCK. Includingbde1995-02-031-1/+1
| | | | | <sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL is not defined, but is ugly.
* Change CLK_TCK to CLOCKS_PER_SEC.bde1995-02-031-1/+2
| | | | | | Add a missing apostrophe that suggests inverting the frequency to get tick size. It read better before because `CLK_TCK' suggests a tick size although it is actually a frequency.
* Change CLK_TCK to CLOCKS_PER_SEC. (CLK_TCK is a deprecated POSIX featurebde1995-02-031-2/+3
| | | | | | and is not necessarily related to the ANSI CLOCKS_PER_SEC). Parenthesize macro args.
* Fix previous change to preserve const'ness.bde1995-02-031-2/+2
|
* Fixed a rather serious bug that presents itself when FreeBSD is configuredwpaul1995-02-031-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as an NIS client. The pw_breakout_yp routines that are used to populate the _pw_passwd structire only do anything if the bits in the pw_fields member _pw_passwd are cleared. Unfortunately, we can get into a state where pw_fields has garbage in it right before the YP lookup functions are called, which causes the breakout functions to screw up in a big way. Here's how to duplicate the problem: - Configure FreeBSD as an NIS client - Log in as a user who's password database records reside only in the NIS passwd maps. - Type ps -aux Result: your processes appear to be owned by 'root' or 'deamon.' /bin/ls can exhibit the same problem. The reason this happens: - When ps(1) needs to match a username to a UID, it calls getpwuid(). - root is in the local password file, so getpwuid() calls __hashpw() and __hashpw() populates the _pw_passwd struct, including the pw_fields member. This happens before NIS lookups take place because, by coincidence, ps(1) tends to display processes owned by root before it happens upon a proccess owned by you. - When your UID comes up, __hashpw() fails to find your entry in the local password database, so it bails out, BUT THE BITS IN THE pw_fields STRUCTURE OF _pw_passwd ARE NEVER CLEARED AND STILL CONTAIN INFORMATION FROM THE PREVIOUS CALL TO __hash_pw()!! - If we have NIS enabled, the NIS lookup functions are called. - The pw_breakout_yp routines see that the pw_fields bits are set and decline to place the data retrieved from the NIS passwd maps into the _pw_passwd structure. - getpwuid() returns the results of the last __hashpw() lookup instead of the valid NIS data. - Hijinxs ensue when user_from_uid() caches this bogus information and starts handing out the wrong usernames. AAAARRRRRRRRRGGGGGGHHHHHHHHHH!!! *Please* don't tell me I'm the only person to have noticed this. Fixed by having __hashpw() check the state of pw_fields just before bailing out on a failed lookup and clearing away any leftover garbage. What a fun way to spend an afternoon.
* Fix for that last fix... pass the hat. :)wpaul1995-02-011-2/+1
|
* Small fix to _getyppass(): sometimes we can construct the wrong mapnamewpaul1995-02-011-1/+2
| | | | when looking for master.passwd.whatever.
* Implemented height field for text fields so they can now be more thanpaul1995-02-017-94/+58
| | | | | | | | | | | | one line long. Fixed a bug in the input field with cursor positioning at the end of the field. Make the print_status function available to apps so they can print status messages. Updated the example for the new fib parser.
* Some changes for YP password map handling:wpaul1995-01-311-6/+114
| | | | | | | | | | | | | | | | | | | | | - FreeBSD's NIS server can supply a master.passwd map, which has more fields in it than a standard passwd map, so we need a _master_pw_breakout() fuction. - When doing passwd map lookups, look for master.passwd.* by attempting a _yp_first() on master.passwd.byname. If it exists, we're being served by a FreeBSD NIS server and we should use this map. - If we aren't the superuser, retrieve only the standard passwd maps. If we're being served by a FreeBSD system, then the passwd map has no passwords in it, and it won't serve us the master.passwd map unless we're superuser anyway. There's a small speed hit for the superuser inherent in the check for the master.passwd map, but this lets us dynamically decide what to do rather than rely on a non-standard config file somewhere. Since all of this is bypassed for normal users, they shouldn't notice the difference.
* Add all the necessary bits to use color if the terminal allows it.paul1995-01-304-53/+118
| | | | | | | | | | | You can now specify separate attributes for selected/not selected cases individually for each field and also an attr for the form as a whole so you can now have colored backgrounds for the form and different coloured fields etc. Update the example. Change the copyright to a BSD style one.
* Be sure to properly fail if there are not enough fields. Problemdg1995-01-271-2/+4
| | | | reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
* Reclaim memory used for telldir cookies on closedir.dfr1995-01-272-0/+30
|
* Clean up handling of unspecified names. Clarify man page.dufault1995-01-262-97/+111
|
* Truncate any default inputs to the input width.paul1995-01-253-13/+17
| | | | Update the example so it works properly.
* New example that uses the new forms language.paul1995-01-251-6/+96
|
* Update libforms to agree with new fib.paul1995-01-252-16/+21
|
* Remove "va_start" macro.dufault1995-01-251-2/+1
|
* CFLAGS: = --> +=ache1995-01-241-1/+1
|
* Changed the example to use the forms spec file.paul1995-01-242-2/+74
|
* Changed the example to use the forms spec file.paul1995-01-242-3/+3
| | | | Made a couple of variable name changes.
* added libscsidufault1995-01-241-1/+1
|
* This commit was generated by cvs2svn to compensate for changes in r5847,dufault1995-01-244-0/+1567
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * SCSI library layered on SCIOCOMMANDdufault1995-01-244-0/+1567
|
* Eliminate a bogus tab.jkh1995-01-241-1/+1
|
* Don't call _doprnt, which doesn't exist; use vfprintf.wollman1995-01-231-33/+2
|
* Make Jordan happy:wollman1995-01-231-4/+15
| | | | | | 1) Link against object directory version of libcom_err.so. 2) Don't try to install ss_err.h if we haven't made it yet. It's not on the critical path for `make world' at this point.
* First round of changes to clean up the RCSID mess in libc:dg1995-01-2383-233/+371
| | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
* Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS.dg1995-01-231-4/+4
|
* (Very) minor improvement from NetBSD/J.T.Conklin.dg1995-01-222-4/+4
|
* Added leaner and meaner swab() function by J.T. Conklin.dg1995-01-222-1/+105
|
* Fix from Rod so that std_rqs.c can get rebuilt properly whenwollman1995-01-211-2/+2
| | | | doing a make world.
* *** empty log message ***wollman1995-01-211-1/+2
|
* In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.cwollman1995-01-201-0/+1
| | | | doesn't complain.
*-. This commit was generated by cvs2svn to compensate for changes in r5739,jkh1995-01-2027-0/+9103
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| | * Add the Packet Capture Library from Michael Reifenberger.jkh1995-01-2026-0/+9058
| | | | | | | | Submitted by: mr
OpenPOWER on IntegriCloud