summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
2010-01-27retire pw_policy(3) -- it is not found useful, there are otherdrochner
(more common) ways to enforce a password strength policy approved by elad
2009-10-22Update my email address to one I have used in this millenium.tsarna
2009-10-13In a furious blaze of *facepalm* / "what was i thinking?", fix thepooka
open routine function pointer prototype of opendisk1() to match the prototype of open().
2009-09-08Add opendisk1(), which functions like opendisk(), but takes a functionpooka
pointer to the routine to be used for open().
2009-07-14Fix markup.joerg
2009-06-24correct spelling error.zafer
2009-06-20add a link to pw_copyx; from anon ymouschristos
2009-05-13Bump date for previous.wiz
2009-05-13Implement snprintb_m(3) to provide multi-line bit/bit-field decode.pgoyette
Discussed on tech-kern.
2009-05-05Update type of argument 4 from u_quad_t to uint64_t to match the actualpgoyette
implementation.
2009-05-04Sort sections.wiz
2009-05-04Sort SEE ALSO.wiz
2009-04-11Use semantic markup.joerg
2009-04-11Fix markup.joerg
2009-03-26Correct the order of arguments in EXAMPLE. Bump date.uebayasi
2009-03-10Specify width for tag listjoerg
2009-03-09Fix preamble to match order set out by mdoc(7). Discussed with wiz.joerg
2009-02-20remove pointless static.christos
2009-01-18WARNS=4lukem
2009-01-18fix -Wsign-compare issueslukem
2009-01-11merge christos-time_tchristos
2008-12-26Sort errors.wiz
2008-12-26document pw_getpwconf.christos
2008-12-23Fix deleto in previous.wiz
2008-12-23fix argument order in example.christos
2008-12-21PR/18150: John F. Woods: Print meaningful error messages on inconsistent/christos
corrupt entries.
2008-12-17Re-add LIBRARY section.wiz
2008-12-17Fix some minor mdoclint complaints.wiz
2008-12-16use the bitmask_snprintf info which is more complete, and adjust it forchristos
reality.
2008-12-16move snprintb to commonchristos
2008-11-28Clarify that the "amaster" argument of forkpty() is only defined upondholland
return in the parent process, but the tty name is available to both the parent and child. Bump date.
2008-11-17Remove trailing whitespace.wiz
2008-11-17Bump date for new section.wiz
2008-11-17SEE ALSOahoka
efun(3)
2008-07-17include <stdlib.h> explicitely, for exit(), getprogname() etc.drochner
(it happens to be pulled in by the yacc skeleton, but we shouldn't rely on this)
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-02-23Add the missing 'n' to 'correspoding'.oster
2008-02-09Use STDIN_FILENO and friends instead of magic constants 0/1/2.dholland
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2007-12-04Implement a new magic string for magic symlinks, @ruid, which exapnds to themjf
real user id of the process and use this magic string for per-user tmp. This should fix PR/35687 Kernel parts reviewed by wrstuden@
2007-11-21The e* functions don't call the error handler in every case, just inrillig
case of an error. Mentioned the error conditions for the various functions.
2007-10-06split LOGIN_SETGROUP -> LOGIN_SETGID|LOGIN_SETGROUPSchristos
2007-09-28support nbtool_config.h.lukem
2007-09-25Add raise_default_signal(3) -- raise the default signal handler.lukem
Can be used by applications that have their own SIGINT (et al) handlers and want to exit in a manner that correctly signals to the parent that the process was terminated by a signal. See http://www.cons.org/cracauer/sigint.html for more info. Discussed on tech-userlevel@.
2007-08-26* clarify error behaviour for getmntopts()pooka
* invert getmnt_silent description (a.k.a. "fix it")
2007-08-26Emulate behaviour described in man page and return NULL if an error occurs.pooka
2007-07-24In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminatingdyoung
null character outside of the byte region [sbuf, sbuf + len). 1) If the length of the buffer is 0, do not write a null character at all. Previously, sockaddr_snprintf() may have been able to overwrite sbuf[-1] if len was 0. 2) If the length of the buffer, len, is greater than 0, then write the null at sbuf[len - 1]. Previously, sockaddr_snprintf() wrote the null at buf[len - 1], where `buf' was a "cursor" that did not necessarily equal `sbuf', the start of the buffer. Now, sockaddr_snprintf() always writes the null at sbuf[len - 1].
2007-07-01add estrndup()pooka
2007-02-17Remove pw_error prototype, the function is described in a different man page.wiz
Bump date. From Slava Semushin in private mail.
2007-02-04Add support for per-user /tmp.elad
Enabled via per_user_tmp in /etc/rc.conf (default off). See security(8) and rc.conf(5) for more details. Lots of input from thorpej@ & christos@, thanks!