summaryrefslogtreecommitdiffstats
path: root/libutil
Commit message (Expand)AuthorAgeFilesLines
* Implement expand_number(3), which is the opposite of humanize_number(3), ie.Pawel Jakub Dawidek2007-09-011-0/+1
* Back out previous commit until I figure out why my regression test fails.Dag-Erling Smørgrav2007-08-031-7/+4
* Use fcntl(2)-style locks instead of less-portable flock(2)-style locks.Dag-Erling Smørgrav2007-08-031-4/+7
* Update some comments, mostly regarding LOGIN_MECLASS and ~/.login_conf.Yaroslav Tykhiy2007-06-141-8/+18
* Nit: avoid shadowing truncate(2) with a local variable.Dag-Erling Smørgrav2007-05-231-3/+3
* Fix stupid braino in previous commit.Dag-Erling Smørgrav2007-05-231-1/+1
* If (flags & O_TRUNC), don't truncate the file until we've successfullyDag-Erling Smørgrav2007-05-231-1/+11
* Well gag me with a spoon... I'm so used to working at high WARNS levelsDag-Erling Smørgrav2007-05-102-1/+5
* Remove superfluous unexpanded RCS tag.Dag-Erling Smørgrav2007-05-101-2/+0
* DTRT when O_NONBLOCK is specified.Dag-Erling Smørgrav2007-05-101-4/+7
* I'm tired of seeing this done incorrectly and non-portably, so add aDag-Erling Smørgrav2007-05-102-0/+92
* Remove California Regent's clause 3, per letterWarner Losh2007-01-091-4/+0
* Minor comment fix.Thomas Quinot2006-09-081-1/+1
* (pw_copy): Handle the case of a malformed line in master.passwdThomas Quinot2006-09-041-2/+11
* Add utility functions for checking if a given kernel module is loaded,Dag-Erling Smørgrav2006-02-181-0/+5
* Add a family of functions for reliable pidfiles handling.Pawel Jakub Dawidek2005-08-241-0/+17
* Properly spell default in a comment.Tom Rhodes2005-04-221-1/+1
* Grammar in a comment.Ruslan Ermilov2004-12-181-1/+1
* Add humanize_number(3) to libutil for formating numbers into a humanPawel Jakub Dawidek2004-05-241-0/+11
* Don't depend on NULL's expansion being a pointer, cast it before it is passedStefan Farfeleder2004-05-181-3/+4
* Bring the description for login_getclassbyname in sync with the function'sDiomidis Spinellis2004-05-111-3/+4
* Add the clean_environment call to libutil.h also.Tim Kientzle2004-02-261-0/+2
* (mostly) Clean up some const warnings here. The code takes some libertiesPeter Wemm2003-10-261-8/+9
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.Mark Murray2003-10-185-74/+79
* Tidy up. Sort headers.Mark Murray2003-06-142-10/+9
* Brucify.Dag-Erling Smørgrav2003-04-101-4/+8
* Correctly detect the case where a password entry was changed while we wereDag-Erling Smørgrav2003-04-091-2/+7
* Apply the correct fix for bin/50679: don't mess around with process groupsDag-Erling Smørgrav2003-04-091-13/+19
* Band-aid for the "^C kills the editor" problem. I haven't yet found theDag-Erling Smørgrav2003-04-081-10/+6
* Make pw_edit() use /bin/sh to interpret the EDITOR environmentDavid Schultz2003-03-171-2/+12
* Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.Dag-Erling Smørgrav2002-10-291-1/+2
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
* Add LOGIN_SETMAC, which will indicate to the user context management codeRobert Watson2002-08-161-1/+2
* Whitespace cleanup--it's not style(9), but it is consistent. PrepRobert Watson2002-08-111-3/+3
* Be more clear in error messages.Nick Hibma2002-06-231-4/+9
* If no old_pw was passed to pw_copy, compare just the name.Dag-Erling Smørgrav2002-05-081-1/+2
* Add passwd manipulation code based on parts of vipw and chpass.Dag-Erling Smørgrav2002-05-082-82/+433
* Make mppath and masterpasswd pointers instead of arrays, and initializeDag-Erling Smørgrav2002-04-171-2/+4
* Remove bogus reference to _use_yp.Dag-Erling Smørgrav2002-04-151-9/+1
* Const poisoning.Ruslan Ermilov2002-04-083-14/+14
* Remove multi-line __P() usage.David E. O'Brien2002-03-221-8/+7
* Remove __P() usage.David E. O'Brien2002-03-212-64/+64
* Remove a bogus cast.Dag-Erling Smørgrav2002-03-061-1/+1
* #include <stddef.h> for the definition of NULL instead of depending onBruce Evans2002-02-251-1/+3
* ANSIfy and constify.Dag-Erling Smørgrav2002-02-051-17/+15
* Add __FBSDID()s to libutilMatthew Dillon2001-09-303-6/+8
* 1) Back out ~/.login_conf disableAndrey A. Chernov2001-09-251-6/+5
* Disable per-user .login_conf support due to incorrect merging of localRobert Watson2001-09-161-0/+3
* o Add a comment noting that the early setting of privileges for the purposeRobert Watson2001-09-151-2/+6
* remove emalloc,ecalloc,erealloc,estrdupAssar Westerlund2001-07-231-4/+0