Denys Vlasenko
|
0cdd6f5792
libbb: fix fallout from nth_string() robustification, closes 14726
|
2 anni fa |
Denys Vlasenko
|
2ab9403119
whitespace and comment format fixes, no code changes
|
7 anni fa |
Denys Vlasenko
|
ebe6d9d875
whitespace and comment format fixes, no code changes
|
7 anni fa |
Denys Vlasenko
|
10ad622dc2
Spelling fixes in comments, documentation, tests and examples
|
7 anni fa |
Denys Vlasenko
|
6390a3a4e5
whitespace fixes
|
9 anni fa |
Denys Vlasenko
|
b5dabd9078
libpwdgrp: fix comment discrepancies
|
9 anni fa |
Denys Vlasenko
|
5de450237c
libpwdgrp: do not require that /etc/passwd entries have nonempty home and shell
|
9 anni fa |
Tito Ragusa
|
cb6a112f09
libpwdgrp: fix thinko in getpwnam
|
10 anni fa |
Denys Vlasenko
|
23cfaab47d
libpwdgrp: use getpwent() instead of getpwent_r()
|
10 anni fa |
Tito Ragusa
|
e5cae08f12
libpwdgrp: line counting in error meesages is broken, remove it
|
10 anni fa |
Denys Vlasenko
|
c5d4a04e45
libpwdgrp: fixes suggested by Tito, comment tweaks
|
10 anni fa |
Denys Vlasenko
|
db4d1051ca
libpwdgrp: another code shrink
|
10 anni fa |
Denys Vlasenko
|
5acf1346b4
libpwdgrp: code shrink
|
10 anni fa |
Denys Vlasenko
|
12fc869560
libpwdgrp: getgrXXX: empty string is not a member name, do not store it
|
10 anni fa |
Denys Vlasenko
|
402451aa19
fix a SEGV in previous commit
|
10 anni fa |
Denys Vlasenko
|
f9936676bb
libpwdgrp: fix counting of commas in group list
|
10 anni fa |
Denys Vlasenko
|
134c53098b
libpwdgrp: store getXXnam result in a single malloc block
|
10 anni fa |
Denys Vlasenko
|
20c0a16334
libpwdgrp: make db->def[] one byte shorter
|
10 anni fa |
Denys Vlasenko
|
5e62a3d016
libpwdgrp: use a better estimate of max struct size
|
10 anni fa |
Denys Vlasenko
|
9dca6acaac
libpwdgrp: reinstate Tito's optional atexit freeing
|
10 anni fa |
Denys Vlasenko
|
8d547aca75
libpwdgrp: fix a memory leak in getXXnam (we did not save address of string buf)
|
10 anni fa |
Denys Vlasenko
|
31d6734457
libpwdgrp: tweak comments, replace one xmalloc with xzalloc
|
10 anni fa |
Denys Vlasenko
|
908b6e5dfd
libpwdgrp: use FAST_FUNC to make "matching ABI" optimization more likely to succeed
|
10 anni fa |
Tito Ragusa
|
1da09cfacf
libpwdgrp: rewritten to use malloced implementation
|
10 anni fa |
Denys Vlasenko
|
60cb48ca50
whitespace cleanup. no code changes
|
12 anni fa |
Denys Vlasenko
|
acdb0041b3
libpwdgrp/pwd_grp.c: use same static buffer for all getpwXX functions
|
13 anni fa |
Denys Vlasenko
|
2e55404bcf
libpwdgrp/pwd_grp.c: set opened /etc/{passwd,group,shadow} fds CLOEXEC
|
13 anni fa |
Tito Ragusa
|
ad3d72f082
move passwd, shadow, group and gshadow path definitions to libbb.h
|
14 anni fa |
Denys Vlasenko
|
e4dcba1c10
*: whitespace fixes
|
14 anni fa |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 anni fa |