Files
bare-operating-system/packages/bare-os-seeder/kernel/etc/bare-os/syscalls.example.json
T
Raven Scott 72e0c9c881 feat(booter): ctx 1.54.0, process table v9, and Holepunch/POSIX proc parity
- Bump BARE_OS_CTX_API_VERSION to 1.54.0 and POSIX profile to 1.0.19
- Process table schema 9: nice/accountingSource, logical maps/threads /proc builders, renice
- disk.os: replication_operator_sketch v8, HyperDHT address sketch, pkg index surfaces
- Protomux operator sketch v4, security_posture v7, corestore snapshot UX hint, pear_stage_pointer v2
- Swarm: BARE_OS_SWARM_ATTEMPT_BURST_PER_SEC; HDMS: host booter warn logging; shell wait exit codes
- getconf/sysconf: additional _SC_* via bareOsGetconfSysconf; socketMsgSurface v6 (iovec/SUSv4 refs)
- Identity: vault rotation audit includes pathcap trusted key count
- CI/docs: holepunch drift report env, kernel STRUCTURE note, verify-bundle-throws comment, matrices and examples
2026-04-05 23:14:08 -04:00

80 lines
2.3 KiB
JSON

{
"schemaVersion": 11,
"ctxApiVersion": "1.54.0",
"posixProfile": {
"id": "bare-os-posix-like",
"version": "1.0.19"
},
"ops": ["readFile", "writeFile", "socket"],
"opsDetail": [
{ "name": "readFile", "category": "fs", "stability": "stable" },
{ "name": "writeFile", "category": "fs", "stability": "stable" },
{
"name": "open",
"category": "fs",
"stability": "stable",
"posixAlignment": "simulated",
"mapsTo": ["vfs.readFile", "vfs.writeFile"],
"errnoHint": "ENOENT",
"susv4Refs": ["XSH/open"]
},
{
"name": "socket",
"category": "ipc",
"stability": "experimental",
"posixAlignment": "ENOTSUP",
"mapsTo": ["ctx.bare bare-tcp / bare-dgram"],
"errnoHint": "ENOSYS"
}
],
"posixXsh": {
"schema": 3,
"note": "POSIX.1 XSH-style names; socket bridge may implement SOCK_DGRAM sendmsg/recvmsg when BARE_OS_POSIX_SOCKET_FD_BRIDGE.",
"namesCsv": "open,close,read,write,readv,writev,getsockopt,setsockopt,lseek,nanosleep,clock_gettime,pipe,dup,dup2,fcntl,poll,select,umask,socket,bind,listen,accept,connect,send,recv,recvfrom,sendmsg,recvmsg,shutdown"
},
"socketMsgSurface": {
"schema": 6,
"iovecSemantics": {
"sendmsg": "bounded_flatten_all_iovs_into_single_wire_payload",
"recvmsg": "first_iov_primary_datagram_buffer_partial_ok_remainder_truncated",
"susv4Refs": ["XSH/sendmsg", "XSH/recvmsg"]
},
"ancillaryControl": {
"supported": false,
"errno": "ENOTSUP",
"rejectKeys": [
"cmsgs",
"control",
"controllen",
"msgHdr.control",
"msgHdr.cmsgs"
],
"note": "Binary ancillary ENOTSUP; JSON SCM_RIGHTS-shaped cmsgs when BARE_OS_POSIX_SOCKET_SCM_RIGHTS=1."
},
"logicalScmRightsOnSend": {
"env": "BARE_OS_POSIX_SOCKET_SCM_RIGHTS",
"syscallResultField": "scmRightsLocalDup"
},
"sendmsg": { "bridgePartial": true, "defaultErrno": "ENOTSUP" },
"recvmsg": {
"bridgePartial": true,
"defaultErrno": "ENOTSUP",
"susv4Refs": ["XSH/recvmsg"]
}
},
"errnoHints": {
"ENOENT": 2,
"EAGAIN": 11
},
"fdModel": {
"schema": 1,
"stdio": [0, 1, 2],
"processTableSchema": 9
},
"signalModel": {
"schema": 1,
"names": ["INT", "TERM"]
},
"atMs": 0
}