summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed type mismatches in args to __syscall(). One for mmap() broke onbde1998-12-271-5/+5
| | | | | i386's with 64-bit longs -- the padding between mmap()'s 5th and 6th is an int, not a long. The other mismatches were benign.
* Avoid using ld -O (as in bsd.lib.mk).bde1998-12-271-7/+16
| | | | Fixed `make cleandepend'. The default is null because SRCS is null.
* Fixed CLEANFILES.bde1998-12-272-5/+5
|
* Strip the leading path from __progname as is done in the a.out case. Alsosteve1998-12-242-6/+18
| | | | | | | bring in stddef.h so we can use NULL instead of 0 for pointer comparisons. Hinted at by: Bruce Evans Reviewed by: John Polstra
* Disable building with alpha software completion options until we upgradedfr1998-12-241-2/+3
| | | | compilers.
* [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.
OpenPOWER on IntegriCloud