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