summaryrefslogtreecommitdiffstats
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* o Typo: ownship -> ownership.maxim2006-06-171-1/+1
| | | | Obtained from: DragonFlyBSD
* Specify default path for SHLIBDIR before bsd.own.mk does.akiyama2006-06-111-1/+3
| | | | This fix shared library installed correct place.
* Don't build IPv6 support if we have choosen not to have it.delphij2006-06-091-0/+4
|
* - Add include for libutil.h and string.h for prototype.delphij2006-05-251-1/+3
| | | | | - Cast the rvalue to be compared with the result of strlen() to size_t.
* Bump library majro version for gethostbyaddr(3).ume2006-05-211-1/+1
|
* Document how the backoff delay is calculated.brueffer2006-04-191-1/+4
| | | | | Submitted by: markus MFC after: 3 days
* use pwrite to always write at the begining of the file.. If multiple callsjmg2006-04-111-1/+1
| | | | | | | | to pidfile_write happen, the pidfile will have nul characters prepended due to the cached file descriptor offset... Reviewed by: scottl MFC after: 3 days
* Use `intmax_t' instead of plain `int' for pid_t casts.keramida2006-03-041-3/+3
| | | | | | Useful tips from: ru, bde Approved by: pjd MFC after: 3 days
* Add utility functions for checking if a given kernel module is loaded,des2006-02-184-2/+180
| | | | and loading it.
* - Add a note that passing NULL to pidfile_write(), pidfile_remove() andpjd2006-01-281-3/+13
| | | | | | | pidfile_close() functions is safe. This possibility is used in example code. - Cast pid_t to int. Requested by: yar
* Teach openpty() how to deal with pts.cognet2006-01-261-0/+45
|
* Restore use of strncpy(), as there is later unconditional terminationrwatson2006-01-161-1/+1
| | | | | | of the string, and reliance on the returned pointer. Found by: bde (tm)
* Replace strncpy() with strlcpy() when parsing login time limit stringsrwatson2006-01-161-1/+1
| | | | | | | | | | | from /etc/login.conf, or an unterminated string buffer could result. Probably, login_times.c should reject excessively long time strings as unparseable, rather than truncating, which might render an invalid string valid. Found with: Coverity Prevent (tm) Reviewed by: csjp MFC after: 3 days
* Fix typo in comment.rwatson2006-01-161-1/+1
| | | | MFC after: 3 days
* Document the LOGIN_SETMAC setusercontext(3) flag. While we are here, dropcsjp2005-12-301-0/+5
| | | | in an external reference to mac_set_proc(3).
* Restore the previous state after a FILL operation in properties_read()jhb2005-11-281-8/+15
| | | | | | | | | | | rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead. PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week
* Fix prototype.ru2005-11-241-1/+1
|
* Fix markup, grammar and spelling.ru2005-11-181-32/+44
|
* When removing the local domain, only do so when the result will be abrooks2005-10-051-3/+1
| | | | | | | | | host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. Reviewed by: ceri (at least the concept)
* Pidfiles should be created with permission preventing users from openingpjd2005-09-161-1/+1
| | | | | | | them for reading. When user can open file for reading, he can also flock(2) it, which can lead to confusions. Pointed out by: green
* Add a family of functions for reliable pidfiles handling.pjd2005-08-244-3/+498
| | | | | Idea from: jmg Discussed on: arch@
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-132-13/+3
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Properly spell default in a comment.trhodes2005-04-221-1/+1
|
* Remove duplicated "bytes".delphij2005-04-101-1/+1
| | | | | Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747
* Fix grammatical issue.trhodes2005-02-271-4/+4
| | | | Submitted by: ceri
* Use ~/.login_conf when discussing a user's local file.trhodes2005-02-261-1/+1
| | | | Suggested by: ru
* Reword previous commit to be a bit more correct and provide more information.trhodes2005-02-251-5/+13
| | | | Inspiried by: ru
* Make it more obvious that cap_mkdb(1) is required to rebuild the database.trhodes2005-02-231-0/+7
| | | | | PR: 76981 Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
* Expand *n't contractions.ru2005-02-133-4/+4
|
* Reflect the reality; only crypt(3) uses /etc/auth.confru2005-01-211-1/+1
| | | | for the time being.
* Sort sections.ru2005-01-203-10/+10
|
* Scheduled mdoc(7) sweep.ru2005-01-111-2/+2
|
* Various markup and spelling fixes.trhodes2004-12-291-2/+2
| | | | | PR: 75574 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
* Grammar in a comment.ru2004-12-181-1/+1
|
* Backout manual page updates.pjd2004-09-261-19/+27
| | | | Requested by: ru
* Take the lastest fixes from NetBSD.pjd2004-09-252-90/+70
| | | | Obtained from: NetBSD
* There is no such manual page in FreeBSD.pjd2004-09-161-2/+0
|
* Document when this function came into FreeBSD.obrien2004-08-211-1/+3
|
* Spell FTP correctly - in this case, it is used as the name of the protocol,roam2004-08-061-2/+2
| | | | | | not the program. Also, bump the document date. Reminded by: our resident mdoc guard (ru)
* Add Giorgos's description of the ftp-chroot login.conf option.roam2004-08-061-0/+10
| | | | | | Reported by: Bill Moran <wmoran@potentialtech.com> Submitted by: keramida MFC after: 2 weeks
* Markup fixes.ru2004-07-071-16/+24
|
* Eliminate double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-0214-29/+52
|
* Humanize_number(3) is a part of libutil.pjd2004-05-251-0/+2
|
* You want to include libutil.h, not util.h.trhodes2004-05-251-4/+7
| | | | Some minor sentence tweaking.
* Add humanize_number(3) to libutil for formating numbers into a humanpjd2004-05-244-4/+312
| | | | | | readable form. Obtained from: NetBSD
* Don't depend on NULL's expansion being a pointer, cast it before it is passedstefanf2004-05-181-3/+4
| | | | | | to variadic functions. Approved by: das (mentor)
* Fix and clarify unparsable sentence.dds2004-05-111-3/+3
| | | | MFC after: 2 weeks
* Bring the description for login_getclassbyname in sync with the function'sdds2004-05-112-8/+28
| | | | | | | arguments. The function has as a second argument a struct passwd * pointer, not a directory name. MFC after: 2 weeks
OpenPOWER on IntegriCloud