summaryrefslogtreecommitdiffstats
path: root/libutil/gr_util.c
Commit message (Expand)AuthorAgeFilesLines
* Recommit everything, add chpass, improve history (except for a few files that...Cameron Katri2021-05-021-1/+6
* libutil: remove extraneous ": " from error messagesPiotr Pawel Stefaniak2020-06-201-2/+2
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
* lib: initial use of reallocarray(3).Pedro F. Giffuni2017-04-211-1/+1
* Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy().Dag-Erling Smørgrav2016-11-281-13/+24
* Speed up pw operations that edit /etc/group or /etc/passwdAlan Somers2016-11-181-1/+1
* When passwd or group information is changed (by pw, vipw, chpass, ...)Renato Botelho2015-07-021-2/+20
* gr_equal(): Fix a crash that could occur if the first group's member listMark Johnston2015-01-251-15/+10
* Fix renaming a group via the gr_copy functionBaptiste Daroussin2014-10-281-5/+12
* commit correct tested fix for gr_util.cDiane Bruce2013-03-091-46/+58
* Cleanup gr_add() so it does not leak memDiane Bruce2013-03-071-52/+85
* 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-271-1/+1
* gr_dup: simplify duplication of groupBaptiste Daroussin2012-12-271-21/+20
* - Clean up previous gr_add use malloc instead of callocBaptiste Daroussin2012-12-271-4/+3
* New gr_add function to provide a clean and safe method to append a new memberBaptiste Daroussin2012-12-271-0/+40
* Use flopen(3) instead of open(2) + flock(2)Baptiste Daroussin2012-12-271-4/+2
* 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
* backout r242319, racy and not done in the right placeBaptiste Daroussin2012-10-291-9/+0
* make pw_init and gr_init fail if the specified master password or group file isBaptiste Daroussin2012-10-291-0/+11
* Modify pw_copy:Baptiste Daroussin2011-12-151-0/+546
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-250/+0
* Remove a dead store.Sean Farley2009-12-121-2/+2
* Fixed style issues with variable ordering and naming, spacing andSean Farley2008-11-231-75/+97
* style(9) fixes.Sean Farley2008-11-111-20/+14
* Add four utility functions related to struct grp processing modeled in-partSean Farley2008-04-231-0/+234