aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil
Commit message (Expand)AuthorAgeFilesLines
* When pidptr was passed as NULL to pidfile_open(3), we were returningPawel Jakub Dawidek2013-03-141-13/+18
* commit correct tested fix for gr_util.cDiane Bruce2013-03-091-46/+58
* Cleanup gr_add() so it does not leak memDiane Bruce2013-03-072-53/+86
* Fixed documented prototype of kinfo_getproc(3).Ruslan Ermilov2013-03-011-2/+2
* libutil: fix typo in comment for gr_fini.Mateusz Guzik2013-01-131-1/+1
* libutil: utilize strsep instead of strcat in a loop in gr_makeMateusz Guzik2013-01-131-6/+10
* libutil: move group_line_format into the scop of its only user.Mateusz Guzik2013-01-131-2/+1
* libutil: eliminate 'found' variable in gr_equalMateusz Guzik2013-01-131-8/+5
* Simplify pointing dst after the end of all the gr_mem pointers in newgrBaptiste Daroussin2012-12-281-2/+1
* errno = ENOMEM was supposed to be removed not return (NULL);Baptiste Daroussin2012-12-281-1/+1
* malloc() sets errno to ENOMEM already.Baptiste Daroussin2012-12-281-5/+1
* Do not leave parts of the new group uninitialized in gr_dup().Baptiste Daroussin2012-12-281-0/+4
* avoid arithmetic on uintptr_tBaptiste Daroussin2012-12-271-1/+1
* cast to uintptr_t to properly calculate offsetBaptiste Daroussin2012-12-271-1/+1
* Add O_CLOEXEC to flopenBaptiste Daroussin2012-12-272-2/+2
* gr_dup: simplify duplication of groupBaptiste Daroussin2012-12-271-21/+20
* - Clean up previous gr_add use malloc instead of callocBaptiste Daroussin2012-12-272-5/+4
* New gr_add function to provide a clean and safe method to append a new memberBaptiste Daroussin2012-12-272-0/+42
* Use flopen(3) instead of open(2) + flock(2)Baptiste Daroussin2012-12-272-9/+4
* only rename(2) after chmod(2) has succeedBaptiste Daroussin2012-11-201-7/+3
* change mode the group file to 0644 after a successfull rename(2)Baptiste Daroussin2012-11-201-1/+8
* Fix typoBaptiste Daroussin2012-11-031-1/+1
* Correct attribution.Dag-Erling Smørgrav2012-10-311-3/+8
* Minor mdoc and language fixes.Joel Dahl2012-10-301-3/+2
* Removed unnecessary bits in the header that shows where I stole the templateBaptiste Daroussin2012-10-301-3/+0
* Document the pw_util(3) functionsBaptiste Daroussin2012-10-302-1/+299
* backout r242319, racy and not done in the right placeBaptiste Daroussin2012-10-292-18/+0
* make pw_init and gr_init fail if the specified master password or group file isBaptiste Daroussin2012-10-292-0/+20
* Fix IEC / SI binary prefixes (Ki, Mi, Gi, etc) production by humanize_number(3)Baptiste Daroussin2012-09-121-1/+1
* Switch the default password hash from md5 to sha512.Dag-Erling Smørgrav2012-06-191-1/+1
* Revert user comparison back to user names as some user can share uids (root/toorBaptiste Daroussin2012-06-191-6/+13
* Finally nuke auth.conf, nine years after it was deprecated. The onlyDag-Erling Smørgrav2012-06-125-127/+7
* Document that we also support sha256 and sha512.Dag-Erling Smørgrav2012-06-081-1/+3
* General mdoc(7) and typo fixes.Glen Barber2012-05-121-1/+2
* mdoc: terminate quoted strings.Joel Dahl2012-03-301-53/+53
* mandoc complains loudly when <TAB>s are misused in columnated lists. FixJoel Dahl2012-03-291-1/+1
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-292-4/+4
* mdoc: sort prologue macros.Joel Dahl2012-03-262-2/+2
* This string should be quoted.Joel Dahl2012-03-261-1/+1
* mdoc: terminate quoted strings.Joel Dahl2012-03-261-21/+21
* Fix various typos in manual pages.Glen Barber2012-02-251-2/+2
* Set the O_CLOEXEC flag when opening the pidfile to avoid leaking theGuy Helmer2012-02-201-1/+1
* Detect file modification properly by using tv_nsec.Ed Schouten2012-02-101-1/+2
* Fix NULL ptr dereference in setusercontext if pwd is null,Eitan Adler2012-02-091-3/+6
* Add a comment to the example that pidfile_* functions can handle pfh being NULL.Pawel Jakub Dawidek2012-02-081-0/+5
* Note that calling pidfile_write(3) multiple times is fine.Pawel Jakub Dawidek2012-02-081-1/+4
* Using the O_CLOEXEC flag on open(2) caused the pidfile lock to be lostGuy Helmer2012-02-061-1/+1
* Consensus between bde and pjd seemed to be that if the function namesGuy Helmer2012-01-261-8/+8
* Make the comments consistent (capitalization, punctuation, andGuy Helmer2012-01-261-6/+10
* Restore the parenthesis that are necessary around the constant values.Guy Helmer2012-01-261-7/+7