summaryrefslogtreecommitdiffstats
path: root/libutil
Commit message (Expand)AuthorAgeFilesLines
* Recommit everything, add chpass, improve history (except for a few files that...Cameron Katri2021-05-027-32/+257
* Add function getlocalbase() to libutil.Stefan Eßer2020-11-181-0/+2
* Revert the whole getlocalbase() set of changes while a different design isScott Long2020-11-151-6/+0
* Fix a problem with r367686 related to the use of ssize_t. Not sure how thisScott Long2020-11-141-0/+5
* Add the library function getlocalbase and its manual page. This helps toScott Long2020-11-141-0/+1
* Make vipw error message less crypticPiotr Pawel Stefaniak2020-06-201-5/+8
* libutil: remove extraneous ": " from error messagesPiotr Pawel Stefaniak2020-06-202-4/+4
* Make pw_scan(3) more compatible with getpwent(3) et. al. when processingIan Lepore2018-07-262-1/+11
* Use __SCCSID() for SCCS IDs.John Baldwin2018-05-231-7/+3
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-264-1/+59
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* Introduce the flopenat(3) function.Mariusz Zaborski2017-08-042-8/+29
* lib: initial use of reallocarray(3).Pedro F. Giffuni2017-04-213-3/+3
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Remove a death threat from the FreeBSD sourcesConrad Meyer2016-12-011-5/+9
* Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy().Dag-Erling Smørgrav2016-11-282-26/+48
* Add a warning against modifying this code without understanding it, andDag-Erling Smørgrav2016-11-241-0/+121
* Speed up pw operations that edit /etc/group or /etc/passwdAlan Somers2016-11-182-2/+2
* libutil: minor spelling fixes.Pedro F. Giffuni2016-05-181-1/+1
* Remove useless calls to basename().Ed Schouten2016-05-011-2/+1
* When passwd or group information is changed (by pw, vipw, chpass, ...)Renato Botelho2015-07-022-3/+21
* revert r283969,283970 not needed anymore after r283981Baptiste Daroussin2015-06-042-29/+3
* Add a pw_mkdb2(3) function which does the same thing as pw_mkdb(3) exceptBaptiste Daroussin2015-06-032-3/+29
* Export a list of VM objects in the system via a sysctl. The list can beJohn Baldwin2015-05-271-0/+2
* 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
* libutil: Use O_CLOEXEC for internal file descriptors from open().Jilles Tjoelker2013-08-281-0/+819
* 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
* 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
* 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
* Revert user comparison back to user names as some user can share uids (root/toorBaptiste Daroussin2012-06-191-6/+13
* Detect file modification properly by using tv_nsec.Ed Schouten2012-02-101-1/+2