summaryrefslogtreecommitdiff
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* Use a long line instead splitting a line with backslash-newline in synopsis.Bruce Evans2000-01-271-2/+1
| | | | | | | My synopsis checker doesn't understand backslash-newline. Notes: svn path=/head/; revision=56661
* Use a more conventional copyright message.Peter Wemm2000-01-261-9/+14
| | | | Notes: svn path=/head/; revision=56626
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-255-2/+237
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* Do not set the default terminal type to "su", leave it empty.Ruslan Ermilov2000-01-192-6/+2
| | | | | | | | PR: bin/5084 Reviewed by: asmodai, davidn, sef Notes: svn path=/head/; revision=56281
* Repair internal consistency: Change "login_cap_t * lc" to a more correctChris Costello2000-01-181-1/+1
| | | | | | | (and consistent) "login_cap_t *lc". Notes: svn path=/head/; revision=56215
* Add the "use -lutil" line to all functions that require it so people likeBill Fumerola2000-01-187-0/+39
| | | | | | | | | | Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with silly linking errors. Reviewed by: chris Notes: svn path=/head/; revision=56207
* Support v6 login.Yoshinobu Inoue2000-01-151-7/+24
| | | | Notes: svn path=/head/; revision=56010
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-6/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Fixed missing include in synopsis.Bruce Evans2000-01-051-1/+2
| | | | | | | | Removed superfluous quoting of function name in .Fo macro. My synopsis checker doesn't understand it. Notes: svn path=/head/; revision=55461
* Moved flags_to_string and string_to_flags into libutil. It's used inJosef Karthauser1999-12-301-1/+2
| | | | | | | many places nowadays. Notes: svn path=/head/; revision=55270
* Connect fparseln(3) for mailwrapper(8)Peter Wemm1999-12-294-5/+22
| | | | Notes: svn path=/head/; revision=55227
* Fix a bug where a pointer would be one character too far after puttingOllivier Robert1999-12-211-1/+1
| | | | | | | | | a '\0' at the end of a string. Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at> Notes: svn path=/head/; revision=54948
* Rewriting of flags_to_string() and string_to_flags() to use an array.Ollivier Robert1999-12-191-86/+61
| | | | | | | | PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com> Notes: svn path=/head/; revision=54827
* This commit was generated by cvs2svn to compensate for changes in r54820,Peter Wemm1999-12-192-0/+383
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=54821
| * Import fparseln(3) from NetBSD. It's used for easily dealing with \Peter Wemm1999-12-192-0/+383
| | | | | | | escaped lines etc. (used by mailwrapper) Notes: svn path=/vendor/NetBSD/dist/; revision=54820
* Make setproctitle(NULL) restore all of the original argumentsBrian Somers1999-11-172-30/+45
| | | | | | | (if it's able). Notes: svn path=/head/; revision=53297
* Introduce commandline caching in the kernel.Poul-Henning Kamp1999-11-161-0/+9
| | | | | | | | | | | | | | This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives. Notes: svn path=/head/; revision=53239
* Link manual page for login_getpwclass(3) to login_cap(3).Joseph Koshy1999-11-041-1/+3
| | | | | | | | PR: docs/14673 Submitted by: Andrew <andrew@ugh.net.au> Notes: svn path=/head/; revision=52867
* This implements the RLIMIT_SBSIZE ("sbsize") administrative limits forBrian Feldman1999-10-092-0/+2
| | | | | | | | userland. Currently, it can be enforced by login and csh. More shells supporting sbsize are welcome. Notes: svn path=/head/; revision=52071
* mdoc(7)'fyAlexey Zelkin1999-09-218-24/+28
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=51518
* 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=/head/; revision=51457
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2835-35/+35
| | | | Notes: svn path=/head/; revision=50476
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Fix a bunch of broken cross-referencesChris Costello1999-08-181-2/+2
| | | | Notes: svn path=/head/; revision=50000
* Various man page cleanup:Mike Pritchard1999-08-152-6/+6
| | | | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Bad reference of termios(3) changed to termios(4).Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49751
* Bad reference to lstat(3) changed to lstat(2)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49746
* Axe LOGIN_CAP_AUTH.Sheldon Hearn1999-08-133-571/+2
| | | | | | | | | PR: 10115 Reported by: Gene Skonicki <gene@cif.rochester.edu> Requested by: jdp Notes: svn path=/head/; revision=49696
* Correct some grammar and style problems with this page.Nik Clayton1999-07-201-16/+16
| | | | | | | Submitted by: Kris Kennaway <root@rebel.net.au> Notes: svn path=/head/; revision=48942
* Be a little clearer about login_getpwclass(3), and its penchant forNik Clayton1999-07-141-1/+7
| | | | | | | | | | looking up a record called "root". PR: docs/12377 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com> Notes: svn path=/head/; revision=48814
* Fix commented out CFLAGS addition for LOGIN_CAP_AUTH, which was missingSheldon Hearn1999-07-121-1/+1
| | | | | | | | | | a make -D option. PR: 12591 Submitted by: Craig Leres <leres@ee.lbl.gov> Notes: svn path=/head/; revision=48775
* Move call to umask(0) back into pw_util(), because the latterPierre Beyssac1999-06-291-1/+4
| | | | | | | function is also used by chpass(1) and passwd(1). Notes: svn path=/head/; revision=48328
* Force umask to 077 (instead of 000) during the edit phase, to getPierre Beyssac1999-06-261-4/+1
| | | | | | | | | | | | | secure permissions in case the user attempts to save something to a file of his own. Move umask stuff out of pw_init() into main() for better visibility of overall umask tweaking logic. PR: misc/11797 Notes: svn path=/head/; revision=48241
* Add -d option to vipw(8) to allow selection of an alternative directorySheldon Hearn1999-06-261-8/+14
| | | | | | | | | | for the password files. PR: 2703 Submitted by: jmg Notes: svn path=/head/; revision=48232
* Remove the static declaration from the line[] variable to allowJohn Birrell1999-05-241-2/+2
| | | | | | | openpty() to be called from a threaded application. Notes: svn path=/head/; revision=47449
* Chflags was clearing all flags supplied on the command line after aJean-Marc Zucconi1999-05-211-2/+2
| | | | | | | | | | clearing flag like dump or noschg, etc. PR: bin/10071 Submitted by: Andreas Klussmann <andreas@infosys.heitec.net> Notes: svn path=/head/; revision=47367
* fix potential memory overwrite in escape parsingAndrey A. Chernov1999-05-131-2/+2
| | | | | | | | PR: 11687 Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com> Notes: svn path=/head/; revision=47118
* Change references from "passwordperiod" to "passwordtime", sinceTim Vanderhoek1999-04-301-3/+5
| | | | | | | | | "passwordtime" is what passwd(1) has actually been using. I suspect passwordperiod was the original intent. I can't figure-out which, if either, BSDi uses. If anyone knows... Notes: svn path=/head/; revision=46209
* oops, add pwd!=NULL check to previous fixAndrey A. Chernov1999-04-241-11/+17
| | | | Notes: svn path=/head/; revision=46004
* Switch to user UID/GID before checking/reading its ~/.login_confAndrey A. Chernov1999-04-241-1/+14
| | | | | | | - some NFSes have root read access disabled Notes: svn path=/head/; revision=46003
* add MLINKS for two functions used from login_auth.cAndrey A. Chernov1999-04-242-19/+20
| | | | | | | comment out unused functions from login_auth.3 Notes: svn path=/head/; revision=46001
* If given host.domain:nn[.nn], trimdomain() now reduces it toBrian Somers1999-04-092-10/+54
| | | | | | | host:nn[.nn] (if the domain is the same as the local one). Notes: svn path=/head/; revision=45505
* bcopy -> memmoveBrian Somers1999-04-081-2/+2
| | | | | | | Suggested by: archie Notes: svn path=/head/; revision=45459
* Tidy up trimdomain() and document it.Brian Somers1999-04-073-12/+76
| | | | | | | Don't truncate one byte short of the passed length. Notes: svn path=/head/; revision=45430
* Handle hostnames up to MAXHOSTNAMELEN-1 in length.Brian Somers1999-04-071-10/+9
| | | | | | | | | Use bcopy() instead of strcpy() to handle potentially overlapping regions. Un-obscure/complicate some code. Notes: svn path=/head/; revision=45421
* Put parenthesis around sizeof args.Brian Somers1999-04-071-6/+6
| | | | | | | | | Allow for host names up to MAXHOSTNAMELEN - 1 in length. Prompted by: bde Notes: svn path=/head/; revision=45420
* Add realhostname() - a function to correctly lookupBrian Somers1999-04-064-3/+190
| | | | | | | | a name by address and ensure that the name resolves back to the original address. Notes: svn path=/head/; revision=45392
* Get the pid right if a stale lock file exists.Brian Somers1999-03-111-4/+4
| | | | | | | | PR: 10531 Submitted by: Lawrence D. Lopez <lopez@cisco.com> Notes: svn path=/head/; revision=44652
* Fixed bitrot in synopsis (some const poisoning had not reached here).Bruce Evans1999-03-052-4/+4
| | | | Notes: svn path=/head/; revision=44488