- Add kernel init bundle helper + verify:init-bundle; tighten release-checklist gates
- Implement cooperative F_GETLK/F_SETLK/F_SETLKW; optional BARE_OS_POSIX_SOCKET_FD_BRIDGE - Add ctx.bareOsGetconfSysconf; extend getconf for _SC_*; awk delete stmt; POSIX heredoc cap - disk.os: replication_snapshot + replication_operator_sketch; blind-relay swarm schema 2 - Protomux operatorMetrics.backpressureEmitCount; warm-cache invalidate on boot/init puts - Bump POSIX profile 1.0.6 and syscalls.json schema 6; sync schemas, handbook, env appendix - Tests + seeder/kernel parity (rsync after coreutils/bare-libs builds)
This commit is contained in:
@@ -214,6 +214,21 @@ async function run(ctx, argv) {
|
||||
|
||||
const name = positional[0]
|
||||
|
||||
if (typeof ctx.bareOsGetconfSysconf === 'function') {
|
||||
try {
|
||||
const dyn = ctx.bareOsGetconfSysconf(name)
|
||||
if (dyn != null && dyn !== '') {
|
||||
ctx.console.log(String(dyn))
|
||||
ctx.exitCode = 0
|
||||
return
|
||||
}
|
||||
} catch (e) {
|
||||
ctx.console.error('getconf: ' + (e?.message || String(e)))
|
||||
ctx.exitCode = 1
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
if (Object.prototype.hasOwnProperty.call(CONF, name)) {
|
||||
ctx.console.log(CONF[name])
|
||||
ctx.exitCode = 0
|
||||
|
||||
Reference in New Issue
Block a user