summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
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
1998-06-22add missing endusershell()Todd C. Miller
1998-06-10Cast pid_t to int for sprintf.brian
Pointed out by: Charlie Sorsby <crs@hgo.net>
1998-06-08Add uu_lock_txfr() for donating locks to another process.brian
Reviewed by: Theo
1998-04-13Use _PATH_DEV, not "/dev/"Todd C. Miller
Make init(8) call login_fbtab() correctly.
1998-03-23do not wait if vfork() failsTheo de Raadt
1998-03-10use .OxTodd C. Miller
1997-11-18-WallTodd C. Miller
1997-11-17Go back to old file locking method, O_EXLOCK method has too many problemsTodd C. Miller
1997-11-17pw_mkdb() now returns -1 if ptmp is size 0.Todd C. Miller
1997-11-17Work around bug in open(2) wrt O_TRUNC and O_SHLOCK|O_EXLOCK.Todd C. Miller
1997-11-09Correct the ftruncate() call.bri
1997-11-09Introduce uu_lock(), uu_unlock() and uu_lockerr()bri
into libutil. Obtained from: FreeBSD Reviewed by: Theo
1997-09-29fix yes/no prompt code for EOF case; wosch@freebsdTheo de Raadt
1997-06-22Use O_EXLOCK option of open(2) to open /etc/ptmp with an exclusiveTodd C. Miller
lock. This fixes a DOS bug where a user could run passwd(1) and send it a SIGKILL, thus leaving /etc/ptmp in place.
1997-06-17Add support to handle password files in directories other than /etcNiklas Hallqvist
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-04-10give only default values when asked for.Niels Provos
1997-02-17some cleanupTheo de Raadt
1997-02-16added password configuration access function, used to determineNiels Provos
password cipher type at the moment
1997-02-15when using strsep you should be aware that the delimiter will be replacedNiels Provos
by a nifty '0', so you cant check for a colon instead and dump some I am sorry, Dave. I can't do that.
1997-02-13permit 32-bit uid/gid, help from millertTheo de Raadt
1996-12-23add readlabelfs.3Jason Downs
1996-12-23readlabelfs() takes two arguments now, update prototype, inc major number.Jason Downs
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-12-06vfork w/ exit botchTheo de Raadt
1996-12-04sanitize return value. NULL on failure, always.Jason Downs
1996-12-03incJason Downs
1996-12-03Add readlabelfs().Jason Downs
1996-11-24Update from NetBSD.Todd C. Miller
- correct two .Fn references to forkpty() - describe retval of forkpty(); it can return PID as well - add xref to fork(2)
1996-10-08Attempt at cleanup.michaels
1996-09-16Bring prototypes into scopeThorsten Lockert
1996-09-07openpty() returns int.Jason Downs
1996-08-09pty from p to z, P to T. includes vTheo de Raadt
1996-07-31duh, theoTheo de Raadt
1996-07-31someone want to write login_fbtab.3?Theo de Raadt
1996-07-31login_fbtab() in libutilTheo de Raadt
1996-07-31Make typesafe and remove non-portable va_list tricks.Niklas Hallqvist
This is to get it to compile on OpenBSD/alpha.
1996-07-02Use getrawpartition().Jason Downs
1996-06-29fix multiple invocations; from tlb@viaweb.comTheo de Raadt