Motiejus Jakštys
|
325c01b341
|
fix one TODO
|
2023-06-06 19:12:46 +03:00 |
Motiejus Jakštys
|
0ecd6172fc
|
stage2
|
2023-02-08 16:13:03 +02:00 |
Motiejus Jakštys
|
b350e8d096
|
libnss fix: allocate a sufficient array for u32s
we did not multiply by the element size before
|
2022-08-09 07:45:09 -07:00 |
Motiejus Jakštys
|
7be5743651
|
libnss: read /proc/self/cmdline
|
2022-08-08 00:49:34 -07:00 |
Motiejus Jakštys
|
1dfdd3cdbd
|
iterator: make advance/rollback more understandable
untested
|
2022-08-04 22:51:55 -07:00 |
Motiejus Jakštys
|
4bd44d10b7
|
getpwent/getgrent: advance iterator only on success
|
2022-07-21 11:23:13 +03:00 |
Motiejus Jakštys
|
e34ee1d66b
|
initgroups_dyn allocator optimization
|
2022-07-20 05:37:02 +03:00 |
Motiejus Jakštys
|
7960cf25c9
|
rewrite initgroups_dyn
|
2022-07-15 10:34:38 +03:00 |
Motiejus Jakštys
|
7192d0d333
|
read environment variables well
|
2022-07-14 21:31:33 +03:00 |
Motiejus Jakštys
|
cf6cf0c671
|
add a TODO
|
2022-07-14 20:09:42 +03:00 |
Motiejus Jakštys
|
b720b7f613
|
wip omit_members
|
2022-07-14 20:05:24 +03:00 |
Motiejus Jakštys
|
63a6756a6b
|
fix initgroups_dyn
|
2022-07-14 19:58:05 +03:00 |
Motiejus Jakštys
|
f63c7f317c
|
known APIs work now
|
2022-07-14 19:22:39 +03:00 |
Motiejus Jakštys
|
c883dcd52c
|
make getgr* work
|
2022-07-14 19:14:47 +03:00 |
Motiejus Jakštys
|
8db43a537b
|
setpw/endpw* now iterate
|
2022-07-14 18:39:30 +03:00 |
Motiejus Jakštys
|
43015f4d1d
|
fixes for libnss.zig
- global state is a pointer; avoid copying
- fix getgr* tests
|
2022-07-14 17:59:21 +03:00 |
Motiejus Jakštys
|
abf7edf14c
|
finish(?) turbonss-getent
|
2022-07-14 11:10:45 +03:00 |
Motiejus Jakštys
|
3fac6a82e5
|
make corpus more realistic
- the group of the user's gid should not contain the user as the member.
- fix all tests
|
2022-07-14 06:13:42 +03:00 |
Motiejus Jakštys
|
2cdc2ae6c6
|
prefix test cases with context
|
2022-07-12 12:59:50 +03:00 |
Motiejus Jakštys
|
d2407685a0
|
remove debug code
|
2022-07-12 12:44:42 +03:00 |
Motiejus Jakštys
|
9a7447eaa1
|
tests for passwd_all
|
2022-07-11 14:32:24 +03:00 |
Motiejus Jakštys
|
f0777b9e94
|
getent passwd
|
2022-07-11 11:11:25 +03:00 |
Motiejus Jakštys
|
02ddc548f5
|
debugging libnss_turbo.so.2
|
2022-07-09 19:04:19 +03:00 |
Motiejus Jakštys
|
9f884b96f7
|
build libnss_turbo.so.2.0.0
|
2022-07-09 17:33:13 +03:00 |
Motiejus Jakštys
|
78ac541e49
|
libnss: pass state explicitly
|
2022-07-09 16:51:44 +03:00 |
Motiejus Jakštys
|
f327fb24ba
|
tests for initgroups_dyn
|
2022-07-09 16:12:10 +03:00 |
Motiejus Jakštys
|
5fa4a71ddf
|
use omit_members sometimes
|
2022-07-09 05:38:19 +03:00 |
Motiejus Jakštys
|
434f9e1571
|
wip initgroups_dyn
|
2022-07-08 06:29:42 +03:00 |
Motiejus Jakštys
|
df14c1fc67
|
refactor libnss.zig
|
2022-07-07 21:23:10 +03:00 |
Motiejus Jakštys
|
98db4ce0b2
|
wip: setgrent/setpwent + endpwent/endgrent
|
2022-07-07 16:42:45 +03:00 |
Motiejus Jakštys
|
50e116275c
|
group names are sentinel-terminated
|
2022-07-07 14:39:40 +03:00 |
Motiejus Jakštys
|
5f49a9f881
|
wip: getgrnam_r and getgrgid_r
|
2022-07-07 06:54:27 +03:00 |
Motiejus Jakštys
|
1995da9a77
|
nit: naming
|
2022-07-07 06:14:49 +03:00 |
Motiejus Jakštys
|
a63c60cc6f
|
passwd fields now have sentinels
|
2022-07-06 17:14:54 +03:00 |
Motiejus Jakštys
|
4a3d43561f
|
the test seems to work
|
2022-07-06 16:47:10 +03:00 |
Motiejus Jakštys
|
a2893a366e
|
getpwnam_r and getpwuid_r
|
2022-07-06 16:29:21 +03:00 |
Motiejus Jakštys
|
64f6af6e94
|
libnss: better handling of env vars
|
2022-07-06 14:06:50 +03:00 |
Motiejus Jakštys
|
59eae5fa3b
|
libnss: shorter code
|
2022-07-06 13:53:51 +03:00 |
Motiejus Jakštys
|
9bd922a55a
|
better comptime
|
2022-07-06 13:29:36 +03:00 |
Motiejus Jakštys
|
efdc919195
|
wip libnss
|
2022-07-06 13:19:15 +03:00 |
Motiejus Jakštys
|
eaccd00960
|
handle duplicate gid
|
2022-07-04 06:09:03 +03:00 |
Motiejus Jakštys
|
e6b9d43646
|
slice pointer and unit test fixes
|
2022-07-04 05:46:56 +03:00 |
Motiejus Jakštys
|
e2d20bb805
|
formatting
|
2022-06-07 06:30:18 +03:00 |
Motiejus Jakštys
|
c602b7a039
|
rename lib to src
|
2022-05-25 09:42:42 +03:00 |