summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
2001-02-05please alphaTheo de Raadt
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2001-01-07libutil.h -> util.hChristian Weisgerber
2001-01-02Fix a problem introduced by the printf format sweep. Passing a NULLTodd C. Miller
pw_error() is prefectly legal but now we have to check for it explicity (it was handled implicitly before since warn(name) would become warn(NULL)).
2000-11-27MLINK check_expire.3 -> login_check_expire.3Todd C. Miller
2000-11-27first cut at a man page for login_check_expire()Todd C. Miller
2000-11-26login_check_expire(3), a helper function for use with BSD authentication.Todd C. Miller
This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!).
2000-11-26Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.Todd C. Miller
Crank the shlib major number due to the interface change.
2000-11-10shorten, now it fits in -TpsTheo de Raadt
2000-09-17Arguments to .Dt macros should be all-caps.Aaron Campbell
2000-09-17Fix typo in NAME section; loict@bougon.net. While I'm here, capitalify theAaron Campbell
argument to .Dt, and move the BUGS section to the end like most man pages. This is my 1000th commit since joining the OpenBSD dev team.
2000-08-02typoAaron Campbell
2000-08-01close fd for pw_lck on exec, okay deraadt@Niels Provos
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-05-01Document device lookup semantics.Hugh Graham
2000-04-30crank minorTodd C. Miller
2000-04-30Add OPENDEV_BLCKTodd C. Miller
2000-04-30Add OPENDEV_BLCK flag for opening the block devices (the characterTodd C. Miller
device is opened by default). Don't open the file w/o adding a /dev/ prefix unless the file has a '/' in it. This prevents problems where someone says "disklabel sd0" with a file called "sd0" in the cwd. The OPENDEV_DRCT flag has been deprecated as it is the the default behavior and always has been. Add checks for >= MAXPATHLEN and return ENAMETOOLONG in that case.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-28no need to spec the link pathTheo de Raadt
2000-03-06Do not leave `(' characters dangling at the end of lines; instead, use theAaron Campbell
appropriate mdoc macros to handle these cases.
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-01-05update header requirements; bdeTheo de Raadt
1999-12-06say how long the buffer needs to beTheo de Raadt
1999-11-11add man page for login_fbtab()Eric Jackson
1999-09-23Typo fixes.Alex Feldman
1999-09-21crank minor; costa forgotTheo de Raadt
1999-09-21Add opendisk from NetBSD.Constantine Sapuntzakis
Add OpenBSD tags to files
1999-09-16appropiate -> appropriate; inspired by it being misspelled in a NetBSD commitAaron Campbell
message :-)
1999-08-23Remove a lie. We don't skip /dev/ttyv* since our pcvt uses /dev/ttyC*.Todd C. Miller
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1999-07-21fix bad English, spelling, grammar, comma splices, etc.Aaron Campbell
1999-07-20insert a missing .El macroAaron Campbell
1999-07-20Added fparseln from NetBSD.Jakob Schlyter
ok deraadt@
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07when using `-' as a negative sign, escape it with a backslash so troff knowsAaron Campbell
it's not supposed to be a hyphen/dash
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-07-02remove redundant .Pp macrosAaron Campbell
1999-06-05capitalize the acronym IDAaron Campbell
1999-05-27or'ing -> OR'ingAaron Campbell
1999-05-24permit threaded use; jb@freebsdTheo de Raadt
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1999-03-16Get the pid right if a stale lock file exists.brian
Submitted by: Lawrence D. Lopez <lopez@cisco.com>
1999-03-10fix comma splices involving 'however'Paul Janzen
1999-02-27make function names the correct caseTheo de Raadt
1998-11-16preserve errno; christosTheo de Raadt
1998-08-03Use UID_MAX, not UINT_MAX. Rename remove_trailing_space() to ↵Todd C. Miller
trim_whitespace() since it trims from both ends, not just the rear.
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1998-07-10Prevent luser from zero'ing out ut_host. If the new ut_line isTodd C. Miller
empty but the old one is not and ut_line and ut_name match, preserve the old ut_line. Fixes PR #516