9769f788b5
Add initial Drone CI
2023-10-27 10:38:04 +02:00
0aa3349aa3
Implement getpwuid_r
2023-06-05 11:22:36 +02:00
94c1a3ed9f
Explicitly link against libdl.so
2023-06-01 11:47:10 +02:00
2f04ea0952
Replace the shell process with actual program
2023-05-26 11:11:32 +02:00
642f8fdfdb
Handle the ENOENT error
2023-05-26 10:55:40 +02:00
743d241080
Use a variant of strlcpy to avoid unnecessary padding
...
The GNU/Linux implementation of getlogin_r does not pad with zeroes for
the rest of the buffer. When the bufsize is insufficient, it does not
touch the buffer at all, but this divergent behavior is fine for now.
2023-05-26 10:39:43 +02:00
9d0cae9372
Implement getlogin(3)
2023-05-26 09:49:31 +02:00
b37c4c5eb7
Add proper error handling
2023-05-17 10:13:37 +02:00
7cb36fee4d
Cleanup Makefile
2023-04-25 09:39:40 +02:00
b92134ed11
Pass any username by env variable
2023-04-24 16:01:46 +02:00
48c1ebb8de
Lower C version requirement
2023-04-21 09:28:28 +02:00
99bb308e2c
Initial commit
2023-04-20 19:12:27 +02:00