构建仅支持 Java 的自定义 BSD 版本
我应该使用什么流程来实现构建能够运行 Java VM 但不具备任何其他功能的 FreeBSD 版本的目标,包括但不限于:
- 运行除 Java VM 之外的任何进程
- 禁用任何/所有 shell 访问
- 当 Java VM 退出时,操作系统关闭
我需要支持 JDK 1.6,因此 SANOS 等方法不起作用。
What is the process I should use to accomplish the goal of building a version of FreeBSD that is capable of running a Java VM but not capable of any other functionality including, but not limited to:
- Running any process other than the Java VM
- Disabling any/all shell access
- When the Java VM exits, the OS shuts down
I need to support JDK 1.6, so approaches such as SANOS do not work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Sanos 操作系统内核正是一个这样做的项目,只不过它使用 Windows JVM 而不是 FreeBSD JVM。 Sanos 只提供 JVM 所需的功能,除此之外别无其他。
http://www.jbox.dk/sanos/
The Sanos Operating System Kernel is a project doing exactly that, except that it uses a Windows JVM instead of a FreeBSD JVM. Only the functionality needed by the JVM is provided by Sanos, nothing else.
http://www.jbox.dk/sanos/