summaryrefslogtreecommitdiffstats
path: root/lib/libutil (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* multiple calls to pidfile(3) are actually ok, but there are problems if you change the basenamejakob2001-09-281-5/+7
|
* add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.jakob2001-09-284-4/+186
|
* oh this is horriblederaadt2001-09-061-2/+5
|
* make sure that va_start() has matching va_end()deraadt2001-09-051-9/+24
|
* Change the second arg to pw_mkdb() from a boolean flag to a set ofmillert2001-08-262-16/+26
| | | | | | | | | | | bit flags ORed together. Currently the only flags defined are _PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to cause pw_mkdb() to run pwd_mkdb with the options we want. With this change we no longer generate the old V7 passwd file when only the extra fields in master.passwd (or the encrypted password) have changed. There are other programs that could probably use the _PASSWORD_OMITV7 flag; they will be converted at a future date.
* 2nd arg to pw_mkdb()millert2001-08-161-2/+2
|
* consistently use #include "util.h" not <util.h> since util.h lives in this dir.millert2001-08-164-10/+13
|
* Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -smillert2001-08-164-24/+54
| | | | flag and crank the library major due to the interface change.
* Get rid of extraneous #includes by using stub struct declarations.millert2001-08-121-19/+27
|
* o) We always close .Bl and .Bd tags;mpech2001-08-062-4/+3
| | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok