Building Bridges: Safe Interactions with Foreign Languages through Omniglot

  • Leon Schuermann
  • , Jack Toubes
  • , Tyler Potyondy
  • , Pat Pannuto
  • , Mae Milano
  • , Amit Aryeh Levy

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Scopus citations

Abstract

Memory- and type-safe languages promise to eliminate entire classes of systems vulnerabilities by construction. In practice, though, even clean-slate systems often need to incorporate libraries written in other languages with fewer safety guarantees. Because these interactions threaten the soundness of safe languages, they can reintroduce the exact vulnerabilities that safe languages prevent in the first place. This paper presents Omniglot: the first framework to efficiently uphold safety and soundness of Rust in the presence of unmodified and untrusted foreign libraries. Omniglot facilitates interactions with foreign code by integrating with a memory isolation primitive and validation infrastructure, and avoids expensive operations such as copying or serialization. We implement Omniglot for two systems: we use it to integrate kernel components in a highly-constrained embedded operating system kernel, as well as to interface with conventional Linux userspace libraries. Omniglot performs comparably to approaches that deliver weaker guarantees and significantly better than those with similar safety guarantees.

Original languageEnglish (US)
Title of host publicationProceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025
PublisherUSENIX Association
Pages595-613
Number of pages19
ISBN (Electronic)9781939133472
StatePublished - 2025
Event19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025 - Boston, United States
Duration: Jul 7 2025Jul 9 2025

Publication series

NameProceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025

Conference

Conference19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025
Country/TerritoryUnited States
CityBoston
Period7/7/257/9/25

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Hardware and Architecture
  • Information Systems

Fingerprint

Dive into the research topics of 'Building Bridges: Safe Interactions with Foreign Languages through Omniglot'. Together they form a unique fingerprint.

Cite this