summaryrefslogtreecommitdiffstats
path: root/lib/libutil (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Get the pid right if a stale lock file exists.brian1999-03-161-4/+4
| | | | Submitted by: Lawrence D. Lopez <lopez@cisco.com>
* fix comma splices involving 'however'pjanzen1999-03-101-2/+2
|
* make function names the correct casederaadt1999-02-272-4/+4
|
* preserve errno; christosderaadt1998-11-161-3/+6
|
* Use UID_MAX, not UINT_MAX. Rename remove_trailing_space() to trim_whitespace() since it trims from both ends, not just the rear.millert1998-08-031-16/+18
|
* ftpd: sleep for an indeterminate amount for non-existant loginsmillert1998-07-132-7/+7
| | | | | to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
* Prevent luser from zero'ing out ut_host. If the new ut_line ismillert1998-07-101-7/+20
| | | | | empty but the old one is not and ut_line and ut_name match, preserve the old ut_line. Fixes PR #516
* add missing endusershell()millert1998-06-221-3/+5
|
* Cast pid_t to int for sprintf.brian1998-06-101-2/+2
| | | | Pointed out by: Charlie Sorsby <crs@hgo.net>
* Add uu_lock_txfr() for donating locks to another process.brian1998-06-085-6/+55
| | | | Reviewed by: Theo
* Use _PATH_DEV, not "/dev/"millert1998-04-131-2/+3
| | | | Make init(8) call login_fbtab() correctly.
* do not wait if vfork() failsderaadt1998-03-231-2/+4
|
* use .Oxmillert1998-03-102-4/+6
|
* -Wallmillert1997-11-183-9/+16
|
* Go back to old file locking method, O_EXLOCK method has too many problemsmillert1997-11-171-9/+6
|
* pw_mkdb() now returns -1 if ptmp is size 0.millert1997-11-171-2/+11
|
* Work around bug in open(2) wrt O_TRUNC and O_SHLOCK|O_EXLOCK.millert1997-11-171-4/+7
|
* Correct the ftruncate() call.bri1997-11-091-2/+8
|
* Introduce uu_lock(), uu_unlock() and uu_lockerr()bri1997-11-095-5/+392
| | | | | | into libutil. Obtained from: FreeBSD Reviewed by: Theo
* fix yes/no prompt code for EOF case; wosch@freebsdderaadt1997-09-291-7/+7
|
* Use O_EXLOCK option of open(2) to open /etc/ptmp with an exclusivemillert1997-06-222-7/+10
| | | | | lock. This fixes a DOS bug where a user could run passwd(1) and send it a SIGKILL, thus leaving /etc/ptmp in place.
* Add support to handle password files in directories other than /etcniklas1997-06-174-29/+117
|
* COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPmillert1997-04-271-2/+2
| | | | | | | 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.
* give only default values when asked for.provos1997-04-102-41/+42
|
* some cleanupderaadt1997-02-171-3/+4
|
* added password configuration access function, used to determineprovos1997-02-164-4/+205
| | | | password cipher type at the moment
* when using strsep you should be aware that the delimiter will be replacedprovos1997-02-151-3/+3
| | | | | by a nifty '0', so you cant check for a colon instead and dump some I am sorry, Dave. I can't do that.
* permit 32-bit uid/gid, help from millertderaadt1997-02-131-11/+21
|
* add readlabelfs.3downsj1996-12-232-2/+61
|
* readlabelfs() takes two arguments now, update prototype, inc major number.downsj1996-12-233-12/+19
|
* install -> ${INSTALL}, -c -> ${COPY}downsj1996-12-081-2/+2
|
* vfork w/ exit botchderaadt1996-12-061-2/+2
|
* sanitize return value. NULL on failure, always.downsj1996-12-041-3/+4
|
* incdownsj1996-12-031-1/+1
|
* Add readlabelfs().downsj1996-12-033-8/+124
|
* Update from NetBSD.millert1996-11-241-5/+14
| | | | | | - correct two .Fn references to forkpty() - describe retval of forkpty(); it can return PID as well - add xref to fork(2)
* Attempt at cleanup.michaels1996-10-082-2/+4
|
* Bring prototypes into scopetholo1996-09-162-1/+3
|
* openpty() returns int.downsj1996-09-071-1/+2
|
* pty from p to z, P to T. includes vderaadt1996-08-091-7/+2
|
* duh, theoderaadt1996-07-311-1/+1
|
* someone want to write login_fbtab.3?deraadt1996-07-311-1/+2
|
* login_fbtab() in libutilderaadt1996-07-313-3/+158
|
* Make typesafe and remove non-portable va_list tricks.niklas1996-07-311-8/+8
| | | | This is to get it to compile on OpenBSD/alpha.
* Use getrawpartition().downsj1996-07-021-3/+3
|
* fix multiple invocations; from tlb@viaweb.comderaadt1996-06-291-3/+3
|
* only write to realpath if non-NULLderaadt1996-06-202-7/+11
|
* do not unexpectedly unlink the ptmp file; also support SIG*STOP cleanlyderaadt1996-06-192-9/+18
| | | | with our changes which permit "EDITOR=emacs -nw" to work.
* oops, still missed a typodownsj1996-06-181-2/+2
|
* slight cleaningdownsj1996-06-181-4/+7
|