Page MenuHomeFreeBSD

Restore the ability to set capenabled directly in syscalls.conf.
ClosedPublic

Authored by brooks on Sep 27 2019, 3:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 9:47 AM
Unknown Object (File)
Dec 20 2023, 4:25 AM
Unknown Object (File)
Dec 18 2023, 8:48 AM
Unknown Object (File)
Dec 13 2023, 8:19 AM
Unknown Object (File)
Nov 9 2023, 11:37 AM
Unknown Object (File)
Sep 29 2023, 1:16 PM
Unknown Object (File)
Sep 17 2023, 1:00 PM
Unknown Object (File)
Sep 16 2023, 6:05 AM
Subscribers

Details

Summary

This fixes generation of cloudabi syscall tables broken in r340424.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Ouch, command substitution in syscalls.conf... LGTM, though.

This revision is now accepted and ready to land.Sep 27 2019, 3:16 PM

Ouch, command substitution in syscalls.conf

Yeah, that will be a little more interesting for non-sh parsers :)

Ouch, command substitution in syscalls.conf

Yeah, that will be a little more interesting for non-sh parsers :)

Yeah... Luckily this isn't too bad and I've got it working locally in the lua world, but we really should document what's ok and not ok in these .conf files based on how they're currently done to the best of our knowledge.

One of my new pet peeves after lualoader is giving something a fairly innocuous looking extension that's actually fully flavored and not well-documented as such.

OTOH, I don't know where documentation for this in particular would live unless we started an informational syscall manpage with content like the AddingSyscalls wiki page.

Ouch, command substitution in syscalls.conf

Yeah, that will be a little more interesting for non-sh parsers :)

Yeah... Luckily this isn't too bad and I've got it working locally in the lua world, but we really should document what's ok and not ok in these .conf files based on how they're currently done to the best of our knowledge.

One of my new pet peeves after lualoader is giving something a fairly innocuous looking extension that's actually fully flavored and not well-documented as such.

OTOH, I don't know where documentation for this in particular would live unless we started an informational syscall manpage with content like the AddingSyscalls wiki page.

A better solution would probably be to have a new option to enable all syscalls in capability mode to replace this stuff. I just took this route to restore existing functionality.