March 19, 2019 Google open-sources project for sandboxing C/C++ libraries on Linux | ||||
---|---|---|---|---|
| ||||
Hi, I haven't used BetterC so far but if my understanding is correct libraries written with BetterC should also be compatible with this? Google open-sources project for sandboxing C/C++ libraries on Linux (https://www.zdnet.com/article/google-open-sources-project-for-sandboxing-cc-libraries-on-linux/) Kind regards Andre |
March 19, 2019 Re: Google open-sources project for sandboxing C/C++ libraries on Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Tuesday, 19 March 2019 at 15:57:24 UTC, Andre Pany wrote:
> Hi,
>
> I haven't used BetterC so far but if my understanding is correct libraries written with BetterC should also be compatible with this?
>
> Google open-sources project for sandboxing C/C++ libraries on Linux
>
> (https://www.zdnet.com/article/google-open-sources-project-for-sandboxing-cc-libraries-on-linux/)
>
> Kind regards
> Andre
From the docs it works by using seccomp for syscall filtering (at least on Linux), so it should work with normal D libraries, too, if you provide a C or C++ header.
The frontend API uses C++ templating, so I'm not sure if it's useful without C++.
|
Copyright © 1999-2021 by the D Language Foundation