---
name: "elks"
section: "1"
platform: "linux"
package: "linux86"
version: "0.0.11-0"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/elksemu"
---

# elks(1)

Embedded Linux Kernel Environment emulator

Part of [elksemu(1)](/elksemu/1.md).

## NAME

elksemu - Embedded Linux Kernel Environment emulator

## SYNOPSIS

**/lib/elksemu** **program** \[**arguments**\]

## DESCRIPTION

**Elksemu** is a program that allows 8086 **ELKS** programs to be run under Linux-i386. These programs can be compiled using the **[bcc(1)](/bcc/1.md)** C compiler.

It is not usual to invoke */lib/elksemu* directly, either the simple patch or kernel module distributed with it  will cause the kernel to run */lib/elksemu* with the correct arguments whenever the user tries to execute an ELKS  executable directly.

## OPTIONS

There are no flag options to elksemu, the first argument is the name of the program to run the rest are arguments that are passed to the Elks program.

The  **elksemu** program is normally installed suid-root and in this event it is able to run execute only (chmod 111) elks executables and act correctly on the suid permission bits on those executable. This may be considered a security hazard so elksemu does *not* have to be installed suid-root.

## SEE ALSO

[bcc(1)](/bcc/1.md), [as86(1)](/as86/1.md), [ld86(1)](/ld86/1.md)

## BUGS

Elksemu is incomplete.

The program may still have security bugs!
