Hello everyone, I open this topic to present ToroV, which is a way to deploy serverless applications. In particular, I am using ToroV to deploy serverless applications written in Freepascal. If you want to try, the project is hosted at
https://github.com/torokernel/torov. You can simply execute the following commands in a host in which you have KVM and Docker:
wget https://raw.githubusercontent.com/torokernel/torov/master/ci/Dockerfile
docker build -t torov-dev .
docker run --privileged -it torov-dev
cd examples/HelloWorld
../build.sh HelloWorld
../../src/vmm/vmm helloworld.json
The application compiles with a modified version of the RTL for Linux. Then, it runs as a VM and it is possible to define the syscalls that the application is allowed to call. This is the defined in the helloworld.json file. The user can define which syscalls are allowed thus reducing the attack surface of the host. If someone is interesting to help me with this, do not hesitate to let me know!
Regards,