arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.06566cs.OS
收藏

FlexOS:迈向灵活的OS隔离

FlexOS: Towards Flexible OS Isolation

Hugo Lefeuvre, Vlad-Andrei Bădoiu, Alexander Jung, Stefan Teodorescu, Sebastian Rauch, Felipe Huici, Costin Raiciu, Pierre Olivier

摘要:

在设计时,现代操作系统被锁定在一个特定的安全和隔离策略中,该策略混合了一个或多个硬件/软件保护机制(例如用户/内核分离);在部署后重新访问这些选择需要进行重大的重构工作。当新的硬件隔离机制推出或现有的硬件隔离机制中断时,这种严格的方法显示出其局限性,因为现代应用程序的安全/性能要求多种多样。我们提出了FlexOS,一种新的操作系统,允许用户轻松地专门的安全和隔离策略的操作系统在编译/部署时,而不是设计时。这种模块化LibOS由细粒度组件组成,这些组件可以通过一系列硬件保护机制与各种数据共享策略和额外的软件加固进行隔离。该操作系统具有探索技术,可帮助用户浏览其解锁的巨大安全/性能设计空间。我们实现了一个系统原型,并为几个应用程序(Redis/Nginx/SQLite)演示了FlexOS巨大的配置空间以及探索技术的效率:我们评估了Redis的80个FlexOS配置,并展示了在给定的性能预算下,该空间如何在概率上划分为5个最安全的配置。我们还表明,在同等配置下,FlexOS的性能与几个基准/竞争对手相似或更好。

英文摘要:

At design time, modern operating systems are locked in a specific safety and isolation strategy that mixes one or more hardware/software protection mechanisms (e.g. user/kernel separation); revisiting these choices after deployment requires a major refactoring effort. This rigid approach shows its limits given the wide variety of modern applications' safety/performance requirements, when new hardware isolation mechanisms are rolled out, or when existing ones break. We present FlexOS, a novel OS allowing users to easily specialize the safety and isolation strategy of an OS at compilation/deployment time instead of design time. This modular LibOS is composed of fine-grained components that can be isolated via a range of hardware protection mechanisms with various data sharing strategies and additional software hardening. The OS ships with an exploration technique helping the user navigate the vast safety/performance design space it unlocks. We implement a prototype of the system and demonstrate, for several applications (Redis/Nginx/SQLite), FlexOS' vast configuration space as well as the efficiency of the exploration technique: we evaluate 80 FlexOS configurations for Redis and show how that space can be probabilistically subset to the 5 safest ones under a given performance budget. We also show that, under equivalent configurations, FlexOS performs similarly or better than several baselines/competitors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑