summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [This is a null commit to supply the correct log entry]dfr1998-12-232-2/+2
| | | | | | Rename 'cerror' to '.cerror' so that programs which have a function or global variable named 'cerror' don't completely break the syscall error reporting mechanism.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-2310-33/+61
| | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Implement and document file list retrieval.des1998-12-218-13/+207
|
* Added documenation for the existing implementation of asctime_r,wes1998-12-201-0/+35
| | | | ctime_r, gmtime_r, and localtime_r.
* Add "fla" to Disk_Names()phk1998-12-191-2/+2
|
* Reviewed by: Luoqi Chen, Jordan Hubbardjulian1998-12-191-3/+5
| | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours.
* Don't specify a language to compile_et.des1998-12-185-12/+12
| | | | Rename fetchConnect to _fetch_connect since it's internal.
* Enable building libio on the alpha.dfr1998-12-171-2/+6
|
* Note that dying on NULL is an implementation detail.eivind1998-12-171-5/+7
|
* Restore old semantics (broken in rev 1.47's buffer overflow fix).eivind1998-12-171-1/+3
|
* <sys/types.h> isn't a prerequisite for <kvm.h>.bde1998-12-161-1/+0
|
* The previous commit was bogus. <stdlib.h> was never a prerequisitebde1998-12-161-2/+0
| | | | | for <kvm.h> or kvm_getloadavg(), and <sys/types.h> was only a prerequisite for <kvm.h> when <kvm.h> was broken.
* Declare size_t and ssize_t if they are not already declared, so thatbde1998-12-161-6/+15
| | | | | | | | | | | | | | | <kvm.h> is self-sufficient again. Moved typedefs and forward struct declarations out of __BEGIN_DECLS/ __END_DECLS. Don't comment out the prototype for kvm_uread(). This was a 4 year old kludge for previous breakage of self-sufficiency. The prototypwe was broken instead. Fixed bitrot (const poisoning) in the type of kvm_uread(). Fixed order of the declaration of kvm_uread().
* Adjust for kern.ps_strings and PS_STRINGS not being a pointer. Thisbde1998-12-161-17/+12
| | | | | | | | | | fixes a type mismatch in the call to kvm_uread(). The bug has gone undetected for almost 3 years because kvm_uproc()'s protoype has been disabled for almost 4 years. Trust sysctlbyname() to work properly if it succeeds. Fixed style bugs in revs. 1.19 and 1.22.
* Declare setproctitle() as printf0-like.bde1998-12-161-2/+2
|
* Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This isbde1998-12-162-16/+14
| | | | | | | | an unimprovement here. I thought it would be an improvement, as in libkvm, but here we can access the strings directly. Use sysctlbyname() instead of sysctl() and trust it to give a nonzero address if it succeeds.
* Implement and document fetchStatFTP.des1998-12-162-49/+132
| | | | | Update description of struct url_stat in the man page. Clean up error handling in ftp.c.
* Remove unused header files. Fix a few shadowing bugs. Improve error reporting.des1998-12-162-57/+30
|
* Add verbose flag, and support functions.des1998-12-1610-59/+109
| | | | | | | | | Brucify the Makefile. Differentiate atime and mtime in fetch*Stat(). Fix a few pointer bugs. Tweak some error messages. Don't #include sys/param.h and stdio.h in fetch.h. Document that sys/param.h and stdio.h must be #included before fetch.h.
* Old stuff laying around: Don't use a function called getstr(), that haspeter1998-12-161-1/+1
| | | | | nasty consequences when the system curses is ncurses as this conflicts with a ncurses funciton and causes recursion.
* Add reminder to return memory allocated by this call.imp1998-12-161-1/+10
| | | | Obtained from: OpenBSD
* Fix the "Unknown HTTP error" message.des1998-12-151-3/+3
| | | | Make compile_et generate prototypes.
* Reviewed by: JKHwes1998-12-142-87/+217
| | | | | | Submitted by: Wes Peters Added strtok_r (reentrant) function and man page.
* Reviewed by: freebsd-currentdillon1998-12-143-44/+192
| | | | | | | | | Add bounds checking to netbios NS packet resolving code. This should prevent natd from crashing on badly formed netbios packets (as might be heard when the machine is sitting on a cable modem or certain DSL networks), and also closes potential security holes that might have exploited the lack of bounds checking in the previous version of the code.
* Commit out caveat about hardlinks to directories since they aresteve1998-12-131-27/+27
| | | | | | no longer possible. PR: 8337
* PR: docs/9050dillon1998-12-131-0/+1
| | | | | Add reference to required include file #include <stdlib.h> for getloadavg(3) function call.
* Add required #include references to manual pagedillon1998-12-131-0/+2
|
* oops. Fix indentation of the 'for' loop I just added.dillon1998-12-131-18/+18
|
* Handle the race condition where vipw may lock a password file which hasdillon1998-12-131-6/+22
| | | | | just been replaced. After our lock succeeds we check if st_nlink is 0 and if it is we close the descriptor and retry our open/lock sequence.
* Add a simple library for accessing i/o ports and memory on the alpha.dfr1998-12-126-0/+743
| | | | This is only intended for use by the X server.
* CALL -> PCALL for sigaltstack for libc_r.jb1998-12-101-1/+1
|
* Don't hide mknod, it doesn't need a wrapper and never has had one.jb1998-12-103-6/+6
|
* Add missing int to prototypes of mvaddstr and mvaddnstr.steve1998-12-101-2/+2
| | | | | PR: 8110 Submitted by: Stephen J. Roznowski <sjr@home.net>
* Removed unused include of <kvm.h>. It was alarming for libc to apparentlybde1998-12-071-3/+1
| | | | | | depend on libkvm. Removed obsolete `#define _NEW_VFSCONF'.
* Obtained from: "Jan B. Koum " <jkb@best.com>dillon1998-12-011-1/+2
| | | | | Add a reference to pam(8) in the login(1) and login.access(5) manual pages.
* - Fix modulo bug that was masked by the correct code in libgcc.a which isnate1998-11-301-1/+1
| | | | | used in almost all programs unless a shared library specifically ignores libgcc.a.
* On the alpha, sizeof(char*) != sizeof(int) which was assumed indfr1998-11-301-1/+1
| | | | | | term_init(). This is the cause of /usr/bin/ftp faulting on the alpha. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Fixed SUBDIR order.bde1998-11-291-2/+2
|
* Add support for pthread_mutexattr_settype(). As a side effect ofeivind1998-11-286-60/+183
| | | | testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work.
* Enable aio_read(2).jkoshy1998-11-241-2/+2
|
* Don't mention exit(3) in explanation; _exit(2) is a better choice.jkoshy1998-11-231-2/+2
|
* Install PAM modules into ${SHLIBDIR}, not ${LIBDIR}.jdp1998-11-222-2/+2
| | | | Noticed by: bde
* Explicitly depend on libcrypt and libmd for a.out too. Fixes a PAMjdp1998-11-221-2/+0
| | | | related problem on a.out systems.
* Better document the file format, add in support for nested {}'s in multi-linejkh1998-11-222-8/+28
| | | | property values.
* Make sure libskey is built before libpam. It is required for one ofjdp1998-11-201-4/+6
| | | | | | | | | | the PAM modules. Fix the comments describing the PAM dependencies to be consistent with other related comments. Restructure the library-building loop slightly, per suggestion from bde.
* Fix a couple of typos.jdp1998-11-191-3/+3
|
* Man page for aio_read(2).jkoshy1998-11-191-0/+189
| | | | Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists.
* Enable the building of libpam. Move libradius and libtacplus up injdp1998-11-181-5/+6
| | | | the list, because they are prerequisites for libpam.
* This commit was generated by cvs2svn to compensate for changes in r41227,jdp1998-11-1821-0/+1631
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Build structure for contribified Linux-PAM, plus some home-grownjdp1998-11-1821-0/+1631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules for FreeBSD's standard authentication methods. Although the Linux-PAM modules are present in the contrib tree, we don't use any of them. The main library "libpam" is composed of sources taken from three places. First are the standard Linux-PAM libpam sources from the contrib tree. Second are the Linux-PAM "libpam_misc" sources, also from the contrib tree. In Linux these form a separate library. But as Mike Smith pointed out to me, that seems pointless, so I have combined them into the libpam library. Third are some additional sources from the "src/lib/libpam" tree with some common functions that make it easier to write modules. Those I wrote myself. This work has been donated to FreeBSD by Juniper Networks, Inc.
OpenPOWER on IntegriCloud