Commits
- Commit:
10782292833e092d37935a2c8b9e8e00bb88925d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unveil x the vhosts directories
- Commit:
28ec61780962b6aa7b50845e3738399a92dc9e0c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync the CGI environment with the manpage
while there also add SERVER_PROTOCOL
- Commit:
0baf6bed2a419b617d47e27c4687fccb1e721e49
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pass the fd, not the path!
- Commit:
05748e49fed64039616d4bb06a7e09388b0f5467
- From:
- Omar Polo <op@omarpolo.com>
- Date:
chdir to the vhost root before exec'ing the CGI script
- Commit:
710a71b2bbeae65e6c5e5707962a93cebe48a865
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't leak file descriptors
- Commit:
568a09c220a706cb717f345a4da14e935dca1672
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix requri construction
when we switched from one process to two, I introduced a small
optimisation: empty string are not send, so we receive NULL.
Constructing requri we need to make sure that relpath is not null.
- Commit:
881a9dd9c2aebbf73f333dd3d8be4ce5400f717f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split into two processes: listener and executor
this way, we can sandbox the listener with seccomp (todo) or capsicum
(already done) and still have CGI scripts. When we want to exec, we
tell the executor what to do, the executor executes the scripts and
send the fd backt to the listener.