| EROS | |
|---|---|
| Developer | University of Pennsylvania Johns Hopkins University The EROS Group, LLC |
| Written in | C |
| OS family | Capability-based |
| Working state | Discontinued |
| Initial release | 1991; 35 years ago (1991) |
| Latest release | Final / 2005; 21 years ago (2005) |
| Marketing target | Research |
| Available in | English |
| Update method | Compile fromsource code |
| Supported platforms | IA-32 |
| Kernel type | Real-timemicrokernel |
| Default user interface | Command-line interface |
| Preceded by | KeyKOS |
| Succeeded by | CapROS |
Extremely Reliable Operating System (EROS) is anoperating system developed starting in 1991 at theUniversity of Pennsylvania, and thenJohns Hopkins University, and The EROS Group, LLC. Features include automatic data and processpersistence, some preliminaryreal-time support, andcapability-based security. EROS is purely a research operating system, and was never deployed in real world use. As of 2005[update], development stopped in favor of a successor system, CapROS.
The overriding goal of the EROS system (and its relatives) is to provide strong support at the operating system level for the efficient restructuring of critical applications into small communicating components. Each component can communicate with the others only through protected interfaces, and is isolated from the rest of the system. Aprotected interface, in this context, is one that is enforced by the lowest level part of the operating system, thekernel. That is the only part of the system that can move information from oneprocess to another. It also has complete control of the machine and (if properly constructed) cannot be bypassed. In EROS, the kernel-provided mechanism by which one component names and invokes the services of another is acapability, usinginter-process communication (IPC). By enforcing capability-protected interfaces, the kernel ensures that all communications to a process arrive via an intentionally exported interface. It also ensures thatno invocation is possible unless the invoking component holds a valid capability to the invoked component. Protection in capability systems is achieved by restricting the propagation of capabilities from one component to another, often through a security policy termedconfinement.
Capability systems naturally promote component-based software structure. This organizational approach is similar to the programming language concept ofobject-oriented programming, but occurs at larger granularity and does not include the concept ofinheritance. When software is restructured in this way, several benefits emerge:
Collectively, these benefits lead to measurably more robust and secure systems. ThePlessey System 250 was a system originally designed for use in telephony switches, which capability-based design was chosen specifically for reasons of robustness.
In contrast to many earlier systems, capabilities are theonly mechanism for naming and using resources in EROS, making it what is sometimes referred to as apure capability system. In contrast,IBM i is an example of a commercially successful capability system, but it is not a pure capability system.
Pure capability architectures are supported by well-tested and mature mathematical security models. These have been used to formally demonstrate that capability-based systems can be made secure if implemented correctly. The so-called "safety property" has been shown to be decidable for pure capability systems (seeLipton). Confinement, which is the fundamental building block of isolation, has been formally verified to be enforceable by pure capability systems,[1] and is reduced to practical implementation by the EROSconstructor and the KeyKOSfactory. No comparable verification exists for any other primitive protection mechanism. There is a fundamental result in the literature showing thatsafety is mathematically undecidable in the general case (seeHRU, but note that it is of course provable for an unbounded set of restricted cases[2]). Of greater practical importance, safety has been shown to befalse for all of the primitive protection mechanisms shipping in current commodity operating systems. Safety is a necessary precondition to successful enforcement ofany security policy. In practical terms, this result means that it is not possiblein principle to secure current commodity systems, but it is potentially possible to secure capability-based systemsprovided they are implemented with sufficient care. Neither EROS nor KeyKOS has ever been successfully penetrated, and their isolation mechanisms have never been successfully defeated by any inside attacker, but it is not known whether the two implementations were careful enough. One goal of the Coyotos project was to demonstrate that component isolation and security has been definitively achieved by applying software verification techniques.
The L4.sec system, which is a successor to theL4 microkernel family, is a capability-based system, and has been significantly influenced by the results of the EROS project. The influence is mutual, since the EROS work on high-performance invocation was motivated strongly byJochen Liedtke's successes with theL4 microkernel family.
The primary developer of EROS was Jonathan S. Shapiro. He was also the driving force behind Coyotos, which was an "evolutionary step"[3] beyond the EROS operating system.[4]
The EROS project started in 1991 as a clean-room reconstruction of an earlier operating system,KeyKOS. KeyKOS was developed by Key Logic, Inc., and was a direct continuation of work on the earlierGreat New Operating System In the Sky (GNOSIS) system created by Tymshare, Inc. The circumstances surrounding Key Logic's demise in 1991 made licensing KeyKOS impractical. Since KeyKOS did not run on popular commodity processors in any case, the decision was made to reconstruct it from the publicly available documentation.
By late 1992, it had become clear that processor architecture had changed significantly since the introduction of the capability idea, and it was no longer obvious that component-structured systems were practical.Microkernel-based systems, which similarly favor large numbers of processes and IPC, were facing severe performance challenges, and it was uncertain if these could be successfully resolved. Thex86 architecture was clearly emerging as the dominant architecture but the expensive user/supervisor transition latency on the386 and486 presented serious challenges for process-based isolation. The EROS project was turning into a research effort, and moved to theUniversity of Pennsylvania to become the focus of Shapiro's dissertation research. By 1999, a high performance implementation for thePentium processor had been demonstrated that was directly performance competitive with theL4 microkernel family, which is known for its exceptional speed in IPC. The EROS confinement mechanism had been formally verified, in the process creating a general formal model for secure capability systems.
In 2000, Shapiro joined the faculty of Computer Science at Johns Hopkins University. At Hopkins, the goal was to show how touse the facilities provided by the EROS kernel to construct secure and defensible servers at application level. Funded by theDefense Advanced Research Projects Agency and theAir Force Research Laboratory, EROS was used as the basis for a trusted window system,[5] a high-performance, defensible network stack,[6] and the beginnings of a secure web browser. It was also used to explore the effectiveness of lightweight static checking.[7] In 2003, some very challenging security issues were discovered[8] that are intrinsic toany system architecture based on synchronous IPC primitives (notably including EROS and L4). Work on EROS halted in favor of Coyotos, which resolved these issues.[citation needed]
As of 2006[update], EROS and its successors are the only widely available capability systems that run on commodity hardware.
Work on EROS and Coyotos by the original group has halted, but there is a successor system.[4] CapROS (Capability Based Reliable Operating System), a successor of EROS, is an open-source, commercially oriented operating system.[9]
Active work on Coyotos stopped several months ago, and is unlikely to resume.