jart / cosmopolitan

build-once run-anywhere c library
ISC License
17.85k stars 612 forks source link

Redbean: Support for unshare() mount() prctl() in Lua #794

Open ducktype opened 1 year ago

ducktype commented 1 year ago

Will be possibile to add Lua api for this system functions: unshare() mount() prctl() mmap() memfd_create() for the Linux platform inside the unix lua module of Redbean?

jart commented 1 year ago

We've mostly been focusing our resources on the APIs we're able to make available on all our supported platforms. I'm love to have outstanding support for Linux-specific APIs too, since that will make things better for the people who only care about Linux. Contributions are welcome if anyone wants to tackle this.

yael333 commented 1 year ago

It seems like a lovely addition for the API. I'll take a look at it in the upcoming days🐈