aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* MFC/MFS per-user .login_conf disable + adjacent comment.Robert Watson2001-09-202-2/+11
| | | | | | | | login.conf.5: 1.37 login_cap.c: 1.22, 1.23 Notes: svn path=/stable/3/; revision=83740
* MFC: Fix miscellaneous mdoc macro argument limit infringements.Sheldon Hearn2000-05-091-1/+1
| | | | Notes: svn path=/stable/3/; revision=60260
* MFC: introduce .Lb macro to left libraries manpagesAlexey Zelkin2000-04-2317-79/+48
| | | | Notes: svn path=/stable/3/; revision=59573
* MFC: Remove single-space hard sentence breaks.Sheldon Hearn2000-03-031-1/+2
| | | | Notes: svn path=/stable/3/; revision=57732
* MFC: Do not set the default terminal type to "su", leave it empty.Ruslan Ermilov2000-01-192-6/+2
| | | | | | | PR: bin/5084 Notes: svn path=/stable/3/; revision=56282
* MFC: Make setproctitle(NULL) restore all of the original argumentsBrian Somers1999-11-232-29/+42
| | | | | | | (if it's able). Notes: svn path=/stable/3/; revision=53608
* MFC: {rev 1.27} Link manual page for login_getpwclass(3) to login_cap(3).Joseph Koshy1999-11-221-1/+3
| | | | | | | Add $FreeBSD$. Notes: svn path=/stable/3/; revision=53579
* MFC: mdoc(7)'fyAlexey Zelkin1999-09-218-24/+28
| | | | | | | Reviewed by: mpp Notes: svn path=/stable/3/; revision=51519
* MFC: correct spelling: ascii -> ASCIIAlexey Zelkin1999-09-203-3/+3
| | | | | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp Notes: svn path=/stable/3/; revision=51459
* MFC: Apply the Danish Axe to LOGIN_CAP_AUTH.Sheldon Hearn1999-09-103-569/+0
| | | | | | | Approved by: jkh Notes: svn path=/stable/3/; revision=51124
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2935-35/+35
| | | | Notes: svn path=/stable/3/; revision=50572
* MFC: Various man page cleanup.Mike Pritchard1999-08-152-6/+6
| | | | | | | | | | | I also brought all of the new aio_* man pages in from -current because they are affected by this change. They still need to be added to the makefile, but I'll wait until I can verify a build on my 3.2-stable system before I do that. Notes: svn path=/stable/3/; revision=49840
* Change bad reference of termios(3) to termios(4)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/stable/3/; revision=49752
* MFC: Bad reference of lstat(3) -> lstat(2)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/stable/3/; revision=49747
* MFC: Fix commented out CFLAGS modifier.Sheldon Hearn1999-07-121-1/+1
| | | | Notes: svn path=/stable/3/; revision=48776
* MFC: fix potential memory overwrite in escape parsingDon Lewis1999-05-151-2/+2
| | | | | | | | PR: 11687 Reviewed by: ache Notes: svn path=/stable/3/; revision=47209
* MFC: Add some const keywords and fix some typos in man pages.Brian Somers1999-05-0210-37/+85
| | | | | | | | | Fix and document trimdomain and make it handle DISPLAY names. Switch to the correct user before reading .login_conf. Add realhostname(). Notes: svn path=/stable/3/; revision=46271
* MFC: "passwordtime" not "passwordperiod".Tim Vanderhoek1999-04-301-3/+5
| | | | | | | | | Discrepency-first-noticed-by: Luke <lh@aus.org> Original-change-from-"passwordperiod"-by: committer of r.1.20 of local_passwd.c Notes: svn path=/stable/3/; revision=46210
* login_auth MFCAndrey A. Chernov1999-04-242-19/+20
| | | | Notes: svn path=/stable/3/; revision=46040
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-04-153-0/+265
| | | | Notes: svn path=/stable/3/; revision=45700
* MFC: Get the pid right if a stale lock file exists.Brian Somers1999-03-111-4/+4
| | | | Notes: svn path=/stable/3/; revision=44653
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-212-430/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* Declare setproctitle() as printf0-like.Bruce Evans1998-12-161-2/+2
| | | | Notes: svn path=/head/; revision=41876
* Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This isBruce Evans1998-12-161-8/+7
| | | | | | | | | | | an unimprovement here. I thought it would be an improvement, as in libkvm, but here we can access the strings directly. Use sysctlbyname() instead of sysctl() and trust it to give a nonzero address if it succeeds. Notes: svn path=/head/; revision=41875
* oops. Fix indentation of the 'for' loop I just added.Matthew Dillon1998-12-131-18/+18
| | | | Notes: svn path=/head/; revision=41711
* Handle the race condition where vipw may lock a password file which hasMatthew Dillon1998-12-131-6/+22
| | | | | | | | just been replaced. After our lock succeeds we check if st_nlink is 0 and if it is we close the descriptor and retry our open/lock sequence. Notes: svn path=/head/; revision=41710
* Better document the file format, add in support for nested {}'s in multi-lineJordan K. Hubbard1998-11-222-8/+28
| | | | | | | property values. Notes: svn path=/head/; revision=41291
* Since vfork() was changed to fork(), we have to pass errno back from theDag-Erling Smørgrav1998-10-201-3/+6
| | | | | | | | | | child to the parent somehow. PR: 8353 Submitted by: Andrew J. Korty <ajk@purdue.edu> Notes: svn path=/head/; revision=40538
* correct prototype.Jordan K. Hubbard1998-10-141-2/+2
| | | | Notes: svn path=/head/; revision=40346
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() orDag-Erling Smørgrav1998-10-131-3/+3
| | | | | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde Notes: svn path=/head/; revision=40301
* Now take stdio.h out of files that don't require it.Jordan K. Hubbard1998-10-099-17/+10
| | | | Notes: svn path=/head/; revision=40117
* Update docs to match interface change.Jordan K. Hubbard1998-10-091-4/+4
| | | | Notes: svn path=/head/; revision=40110
* o move path in libutil.h to paths.hJordan K. Hubbard1998-10-093-10/+11
| | | | | | | | o make property_read() take a fd instead to avoid stdio.h mess o update auth to new interface. Notes: svn path=/head/; revision=40109
* Take the path spec back out.Jordan K. Hubbard1998-10-091-4/+1
| | | | Notes: svn path=/head/; revision=40108
* All these have to include stdio.h now.Jordan K. Hubbard1998-10-094-4/+8
| | | | Notes: svn path=/head/; revision=40091
* remove stdio.h include; I forgot Bruce's cardinal rule that header filesJordan K. Hubbard1998-10-081-2/+1
| | | | | | | | | shouldn't include other ones (which, unfortunately, is also a hellish rule since he broke interfaces like sysctl this way by requiring undocumented header files to be included just in order to be able to use them now - SIGH!). Notes: svn path=/head/; revision=40082
* Add some rudimentary documentation for my new functions.Jordan K. Hubbard1998-10-084-2/+182
| | | | Notes: svn path=/head/; revision=40054
* Correct a build error that got past my build test somehow.Jordan K. Hubbard1998-10-082-0/+3
| | | | Notes: svn path=/head/; revision=40050
* Add a simple mechanism for reading property lists from files (whichJordan K. Hubbard1998-10-074-2/+300
| | | | | | | | | | I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray handle the format and checkin of the sample auth.conf file. Reviewed by: markm Notes: svn path=/head/; revision=40040
* Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-161-2/+2
| | | | | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but... Notes: svn path=/head/; revision=39327
* Print uid/gid as u_long per bde suggestionAndrey A. Chernov1998-07-291-5/+5
| | | | Notes: svn path=/head/; revision=37947
* cast arg to (long) to match formatAndrey A. Chernov1998-07-281-3/+3
| | | | Notes: svn path=/head/; revision=37901
* Cast pid_t to int for sprintf.Brian Somers1998-06-101-2/+2
| | | | | | | Pointed out by: Charlie Sorsby <crs@hgo.net> Notes: svn path=/head/; revision=36833
* Spelling corrections.Joseph Koshy1998-06-063-10/+10
| | | | | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36692
* Add missing uu_lock_txfr() prototypeAndrey A. Chernov1998-06-051-1/+2
| | | | Notes: svn path=/head/; revision=36660
* If using NetBSD syscalls the rtprio syscall doesn't exist, so justJohn Birrell1998-06-031-1/+7
| | | | | | | don't try to use it to set special priorities. Notes: svn path=/head/; revision=36607
* Trim a domain part for wtmp as same as showed by "netstat -r".Atsushi Murai1998-06-012-3/+42
| | | | | | | | | | | | | | | | Here is a some example for avoiding a confusion. It asssumes a logged host domain is "spec.co.jp". All example is longer than UT_HOSTNAMELEN value. 1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama 2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2 3) specgw.spec.co.jp : 202.32.13.1 -> specgw Submitted by: Atsushi Murai <amurai@spec.co.jp> Notes: svn path=/head/; revision=36559
* Add uu_lock_txfr() to transfer ownership of a successfulBrian Somers1998-05-284-10/+62
| | | | | | | uu_lock() to another process. Notes: svn path=/head/; revision=36451
* Allow setting of idle or realtime processing priorities perSteve Price1998-05-251-5/+22
| | | | | | | | | | login class. PR: 6636 Submitted by: Jason Young <doogie@forbidden-donut.anet-stl.com> Notes: svn path=/head/; revision=36351
* Oops, revert part of a diff that wasn't supposed to have been committed.David Greenman1998-04-281-2/+2
| | | | Notes: svn path=/head/; revision=35491