summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
2000-07-11PCVT hack is gone.ad
2000-07-11Correct ctype(3) usage.itohy
Passing "char" value is wrong. Use "unsigned char" instead.
2000-07-10- More fixes.ad
- Document the built-in defaults.
2000-07-10`.Fn foo' -> `.Fn foo "void"' in SYNOPSIS.ad
2000-07-10Remove PCVT hack.ad
2000-07-07rename securepath.3 into secure_path.3, as the function is named secure_path().itojun
it is too hard to guess...
2000-07-07Couple of nits.ad
2000-07-07Fix typo. This probably would have stopped passwd(1) working ifad
/etc/passwd.conf didn't exist.
2000-07-06Oops - declare static functions.ad
2000-07-06Use ':' as group prefix; suggested by hubertf.ad
2000-07-06Bump libutil minor (pw_getconf()).ad
2000-07-06Documentation for pw_getconf(). From OpenBSD.ad
2000-07-06- Add pw_getconf(). This is used to read configuration information fromad
passwd.conf. From OpenBSD. - ANSIfy.
2000-07-05- __RCSID() police.ad
- ANSIfy. - Miscellaneous style changes. - Shutup lint(1) in one or two cases.
2000-05-12Correct typos which prevent man pages from being installed.mjl
Fixes PR/10104 by Greg Woods.
2000-03-08Added details about origin of code (BSD/OS) in history section.mjl
Closes PR/9410 by Peter Seebach.
2000-02-13Mention the LOGIN_SETENV flag for setusercontext()mjl
2000-02-10Add a missing free() of a temporary buffer.mjl
Add "unlimited" as synonym for "inf" and "infinity" for the benefit of FreeBSD users. Factor out the comparison w/ "infinity" in a isinfinite() function.
2000-02-04Add login_getpwclass to libutil as convenience function formjl
programs originally for FreeBSD. Add parsing of "setenv" parameter which can be used to set up an initial environment on login.
2000-01-14Make setusercontext() resilient against missing login.conf too.mjl
2000-01-13Make login_cap routines resilient to non-existant conf file, andmjl
secure_path() less noisy.
2000-01-13Add a history section.mjl
2000-01-12Add necessary support routines for login.conf.mjl
1999-12-03Use /bin/sh to take care of the EDITOR command parsing instead of homemjl
grown method. Fixes PR/8935 by myself. Fix is from OpenBSD. Also pull in a couple of minor changes like checking the return value of vfork().
1999-11-19Typos (from OpenBSD)kristerw
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-17remove diagnostic check for name==NULL; it's ok to call pw_error() in this caselukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
1999-07-02More trailing white space.simonb
1999-06-12const poisoning.christos
1999-06-06Use asprintf(3), as suggested by Simon Burge.thorpej
1999-06-06Add pidfile(3), which write a pid file in /var/run, and arranges for itthorpej
to be removed on normal exit.
1999-03-22Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Wheee!
1999-02-25Add a note to update src/distrib/sets/lists/base/shl.*, and add a missingabs
RCS Id.
1999-02-16Dv vs. Va police.kleink
1999-01-15Move the bswap functions from libutil to libc (this bups thebouyer
minor of libc and the major of libutil). For little-endian architectures merge the bnswap() assembly versions with nto* and hton* using symbols aliasing. Use symbol renaming for the bswap function in this case to avoid namespace pollution. Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian machines, common code for inline macros go in machine/byte_swap.h Sync libkern with libc. Adjust #include in kernel sources for machine/bswap.h.
1999-01-11strtok() -> strtok_r() to avoid side-effects.kleink
1999-01-11In userland, pull in <errno.h> instead of <sys/errno.h> for the declarationkleink
of errno.
1999-01-112 -> STDERR_FILENOkleink
1998-12-09Delintchristos
1998-10-14Kill __LIBUTIL_BUILD in favor of the newly added _LIBC indicator completely;kleink
suggested by Jason Thorpe.
1998-09-27Use posix signal system calls.christos
XXX: Library functions should not unblock signals like this!
1998-09-26Preserve the correct errno so that programs know the reason we failed.christos
1998-08-29Execute ttyaction on termination of rlogind/telnetd sessions.tsarna
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29first pass at fixing up capitalization of function names andlukem
arguments; ensure that each is correct with respect to the implementation, rather than being correct as per english.
1998-08-19Add some braces to make egcs happy.thorpej
1998-08-10bzero->memset, bcopy->memcpy, bcmp->memcmpperry
1998-07-26const poisoning.mycroft
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
- ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
1998-06-27Put pw_scan() back into libutil and pretent that libutil.so.5.0 neverthorpej
existed.