summaryrefslogtreecommitdiffstats
path: root/lib/libutil (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix use-after-free for expired passwds; ok deraadt, tdevalmarkus2003-09-021-7/+9
|
* move junk (bad code, terrible APIs) to the only program that uses it;deraadt2003-07-235-1668/+6
| | | | millert ok
* fix function description in SYNOPSIS;jmc2003-07-151-16/+16
|
* ansi and protosderaadt2003-06-261-45/+24
|
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-8/+8
| | | | where applicable.
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-031-19/+11
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0212-78/+30
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* - section reorderjmc2003-06-024-36/+36
| | | | - clean up .Xr's
* - typosjmc2003-05-236-47/+50
| | | | - new sentence, new line
* New: fmt_scaled() and scan_scaled() convert to and from "human readable"ian2003-05-155-5/+424
| | | | | | or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's code for "df -h"; scan_scaled is new. Significantly commented on and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
* knfderaadt2003-04-021-3/+3
|
* Throw an error if the username field is empty; noticed by mpech@millert2003-04-011-3/+4
|
* more asprintf; millert okderaadt2003-03-301-5/+3
|
* asprintf; millert okderaadt2003-03-301-5/+4
|
* .Xr typos;jmc2003-03-062-6/+6
| | | | ok deraadt@
* Crank all library major numbers. Needed due to the fact that wemillert2002-12-031-2/+2
| | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
* Add HISTORY sectionmillert2002-11-241-1/+8
|
* do not export error_tablederaadt2002-08-231-2/+2
|
* mark pw_error() __dead since it exitsmillert2002-07-311-3/+3
|
* %u for uid/gid; millert okderaadt2002-06-271-6/+7
|
* Now that we don't have a trailing newline we need to explicitly checkmillert2002-06-251-3/+4
| | | | that the first char in the line is not NUL after killing comments.
* Use strtok_r() instead of strsep() since the latter treats consecutivemillert2002-06-221-8/+22
| | | | | field separators as empty field. This is not what we want for whitespace-delimited fields.
* login_fbtab(3) fixes:millert2002-06-213-63/+71
| | | | | | | | o make first arg const since we don't modify it o use strsep() instead of strtok() as strtok() changes internal state o add some bounds checking and use strlcat() instead of pointer arithmetic o ANSI function headers Originally based on a patch from Lars J. Buitinck but much modified.
* some -Wall and spaces cleanup, scsi.c left.fgsch2002-06-0913-28/+28
| | | | some brave soul should look at it.
* pid_t cleanupderaadt2002-05-262-7/+7
|
* strlcpy at most 16 characters, so says man pagederaadt2002-05-241-4/+9
|
* strlcpy and KNFderaadt2002-05-241-29/+32
|
* KNFderaadt2002-05-241-4/+4
|
* atexit(3) can fail. handle error accordingly. deraadt okitojun2002-05-221-3/+11
| | | | | XXX libraries should not use atexit(3) from within, as program can terminate with _exit.
* o) start new sentence on a new line;mpech2002-05-018-44/+65
| | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
* Initial cleanup:mpech2002-04-301-2/+2
| | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
* Clean up after pw_file().mpech2002-04-101-3/+6
| | | | | millert@ ok deraadt@ ok to commit
* mdoc fixes from pjanzenpvalchev2002-02-261-2/+6
|
* rephrase warning; from miodpvalchev2002-02-261-3/+3
|
* print a warning that realpath points to internal static storage space thatpvalchev2002-02-251-1/+4
| | | | will be overwritten by subsequent calls; suggested by pjanzen, ok millert
* fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentinaderaadt2002-02-211-2/+2
|
* use sizeof w/ defines; niklas@ millert@ ok.fgsch2002-02-211-3/+3
|
* login_close() should avoid memory leak.mpech2002-02-191-1/+2
| | | | millert@ ok
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-172-22/+19
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-167-55/+55
|
* Use the volatile specifier to fix warnings about variables beingmillert2002-01-161-6/+4
| | | | clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
* pids should be pid_t, not intmpech2002-01-021-3/+3
|
* save the pid as well, and only do the atexit in the same pidderaadt2001-12-081-9/+13
|
* Warn that pidfile() will not have the expected removal behaviour if _exit()miod2001-12-011-1/+10
| | | | is called.
* save errno in signal handlerderaadt2001-11-141-2/+4
|
* Start new sentence on a new line.mpech2001-10-011-5/+6
| | | | jakob@ ok
* re-enable pidfile(3). ok millert@jakob2001-09-293-5/+6
|
* zap pidfile from here too, until conflict with kerberosV is fixed ok deraadt@matthieu2001-09-291-2/+1
|
* jakob did not even do a make build, sighderaadt2001-09-292-4/+4
|
* add pidfile(3) prototypejakob2001-09-281-1/+2
|