Transparently interposing user code at the system interface

M.B. Jones
[1992] Proceedings Third Workshop on Workstation Operating Systems  
Thi.-d~o'-kr. %zt hcl bn cpz,:cvc-d for pub-lic s.Ic e~ id ic;its 92-26536 Abstract Many contemporary operating systems utilize a system call interface between the operating system and its clients. Increasing numbers of systems are providing low-level mechanisms for intercepting and handling system calls in user code. Nonetheless, they typically provide no higher-level tools or abstractions for effectively utilizing these mechanisms. Using them has typically required reimplementation of a
more » ... ntial portion of the system interface from scratch, making the use of such facilities unwieldy at best. This dissertation presents a toolkit that substantially increases the ease of interposing user code between clients and instances of the system interface by allowing such code to be written in terms of the high-level objects provided by this interface, rather than in terms of the intercepted system calls themselves. This toolkit helps enable new interposition agents to be written, many of which would not otherwise have been attempted. This toolkit has also been used to construct several agents including: system call tracing tools, file reference tracing tools, and customizable filesystem views. Examples of other agents that could be built include: protected environments for running untrusted binaries, logical devices implemented entirely in user space, transparent data compression and/or encryption agents, transactional software environments, and emulators for other operating system environments.
doi:10.1109/wwos.1992.275680 fatcat:j7ttizzwr5h5fh5armmbdeakxa