Skip to content

openkal-svr4 0.1.0: openkal for UNIX System V Release 4 and its descendants on i386, on the kernel's system-call interface - #1

Merged
Sunrisepeak merged 4 commits into
mainfrom
openkal-svr4-0.1.0
Nov 18, 2026
Merged

Sunrisepeak merged 4 commits into
mainfrom
openkal-svr4-0.1.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

What this is

An implementation of openkal 0.25 on the i386 kernel interface of UNIX System V Release 4 and its descendants (UnixWare, Solaris x86, OpenServer). A program over it links nothing of a system: the C library is openkal-musl, and the program is one static ELF32 executable that enters the kernel through the call gate (lcall $7,$0).

  • Seven interfaces: abort, stream, memory, env, time, fs, terminal; standalone.
  • The part of the interface the systems share is the one issued, so one executable is each system's. Where a system lacks a call (rename, lstat, space freed by fcntl), the older call is taken or the operation reports not supported.
  • Numbers and layouts are read from the Intel386 binary compatibility specification, the System V ABI's Intel386 supplement and NetBSD's compat_svr4; no header of a system is read.
  • Absent: threads (Release 4.0's kernel has none), a random source, the network. openkal.process is written (src/unclaimed/) and not claimed: where the package was run, replacing an image leaves the emulation.

Where it was run

Under an emulation of the interface, not on a System V kernel: ibcs-us 4.3-1 on Linux x86_64, as UnixWare 7, Solaris and OpenServer 5.

  • The specification's suite (tests/cts, features env,time,fs,terminal): 111 observations held, none failed, under each of the three.
  • examples/hello: C++23 with import std, an exception across a frame, std::filesystem, status 7, unoptimised and optimised; and with no PWD, where the working directory's name is found level by level.
  • Locally, an interpreter of 74 C sources ran its batch script with the output it gives on Linux x86_64, in twelve configurations.

CI

The row is built from working trees (tools/row.sh, tests/row): this repository as the kernel-abi layer, openkal-musl and openkal-llvm-runtime at their main. The row a project names is openkal-platform's (0.30.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant