summaryrefslogtreecommitdiff
path: root/man/elksemu.1
blob: 5df195fd96d026bc3395b33b801b6c5c0593258a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH elksemu 1 "Jan, 1997"
.BY Me!
.nh
.SH NAME
elksemu \- Embedded Linux Kernel Subset emulator
.SH SYNOPSIS
.B /lib/elksemu
.B program
.RB [ arguments ]
.SH DESCRIPTION
.B Elksemu
is a program that allows 8086
.B ELKS
programs to be run under Linux-i386. These programs can be compiled using
the
.B bcc(1)
C compiler.

Yom may use the
.I binfmt-misc
module under Linux 2.1.43 or greater as described in the elksemu README
which will cause the kernel to run
.I elksemu
with the correct arguments whenever the user tries to execute an ELKS 
executable directly.

.SH 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.

.SH SECURITY
The 
.B elksemu
program may be 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 any executable.
This should be considered a security hazard so elksemu does
.I not
have to be installed suid-root. 
If you consider using this facility you should also be aware that it will
override the 'nosuid' mount(8) option.

.SH SEE ALSO
bcc(1), as86(1), ld86(1)
.SH BUGS
Elksemu is incomplete.

The program may still have security bugs!