interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / omc / om2 / fnhost / fnhost.cases

31 lines · 2598 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0
2# seed/omc/om2/fnhost/fnhost.cases: the OM-2 function-mode host words (OMEGESE.md 10, spec/omegese-om2.md).
3# An OM-2 function unit may use fclose fopen fstat stat lstat getuid geteuid getgid getegid (plus the base
4# read/write), the clocks monons realns sleepns and the device words devctl mapnew mapdrop mapread mapwrite
5# devcall uvmctl mapaddr mapget mapset (dev.om), and owned maphold/mapbind. The exact words and
6# context-table lowering are pinned by sha256. OM-1 function units and all other
7# host words stay error 9 on both Linux back ends. Run from the repository
8# root by seed/qualification/om2/gate.om (seed/host/check.sh).
9deadline 60
10fnhost-ok emit seed/omc/om2/fnhost/ok.om sha:53fc2c0c8b7d1d507b3481bfb7cff0e955dfa7906a430243554280068ae5cbbf - 0
11fnhost-om1 refuse seed/omc/om2/fnhost/om1.om 9
12fnhost-x86 emit seed/omc/om2/fnhost/x86.om sha:52f7389dafb940e761de1797cfdcf61d998d08850497e592f3679cd758d6b84f - 0
13fnhost-no-argcnt refuse seed/omc/om2/fnhost/no-argcnt.om 9
14fnhost-no-envcnt refuse seed/omc/om2/fnhost/no-envcnt.om 9
15fnhost-no-getpid refuse seed/omc/om2/fnhost/no-getpid.om 9
16fnhost-no-random refuse seed/omc/om2/fnhost/no-random.om 9
17fnhost-no-unlink refuse seed/omc/om2/fnhost/no-unlink.om 9
18fnhost-no-chmod refuse seed/omc/om2/fnhost/no-chmod.om 9
19fnhost-no-getppid refuse seed/omc/om2/fnhost/no-getppid.om 9
20# #1048 changes only the devcall cap-immediate bytes in dev/x86-dev; runtime cap mutants check the bound.
21fnhost-dev emit seed/omc/om2/fnhost/dev.om sha:5cf2d265ac3294bd09633316e06d78576fb5f743ed6dc0681d17e75a3731db5d - 0
22fnhost-hold emit seed/omc/om2/fnhost/fixed-hold.om sha:d487d5c8bbc3e98ad79e09432be1c39dcae47f50673d3c4023bcf1a65e6eb74a - 0
23fnhost-bind emit seed/omc/om2/fnhost/fixed-bind.om sha:77f1809e8f98a87753eb31c9d14b86798beea1e6adfd2b141efff5c957299ff8 - 0
24fnhost-no-flock refuse seed/omc/om2/fnhost/no-flock.om 9
25fnhost-x86-ok emit seed/omc/om2/fnhost/x86-ok.om sha:0db1a736817b7ef8fd583ecc35b8f63fff1de4ca92e19bc443da1069f665cde4 - 0
26fnhost-x86-dev emit seed/omc/om2/fnhost/x86-dev.om sha:90c506a6121a22ec4c2e609cb4f8ab732c0cb777c50529e77be947c8c852e520 - 0
27fnhost-x86-hold emit seed/omc/om2/fnhost/x86-fixed-hold.om sha:9d0602ad89c53945988d3eb8fc62fd2a0c209562e6e3eb1e6dcd2a70e9a0f9a0 - 0
28fnhost-x86-bind emit seed/omc/om2/fnhost/x86-fixed-bind.om sha:05977ac5e36f0711eec9380d40804e364e7cbadbef8b9754636af0e041198c97 - 0
29fnhost-x86-om1 refuse seed/omc/om2/fnhost/x86-om1.om 9
30fnhost-x86-random refuse seed/omc/om2/fnhost/x86-no-random.om 9
31fnhost-x86-getpid refuse seed/omc/om2/fnhost/x86-no-getpid.om 9