d2c3270b4b
fix(feuille.c): added some space around important blocks
2022-11-21 20:57:59 +01:00
e9009b9198
fix(feuille.c): background mode wasn't working when chrooted
...
freopen() could not find /dev/null but still closed std(in|out|err).
New sockets took the stdin file descriptor and broke everything.
Now it's fixed, and I even discovered the daemon() function.
2022-11-21 20:53:55 +01:00
7781c2b960
fix(feuille.c): pledge indentation
2022-11-21 19:44:41 +01:00
01057061f9
fix: use /var/www/feuille instead of /var/www/htdocs/feuille
2022-11-21 19:33:09 +01:00
fdf588e523
fix(feuille.c): pledge promises
2022-11-21 19:30:09 +01:00
601f8e4c24
fix(feuille.c): remove pledge stages 1 and 3
...
Stage 1 was causing issues with the chroot syscall, and, since stage
3 was causing more harm than security in terms of readability, I also
removed it.
2022-11-21 14:40:51 +01:00
8453d41a00
feat: First stable release
2022-11-21 10:43:22 +01:00