Bug 204008 - Feature request: Enable Capsicum/CAPABILITIES on Beaglebone and ARM/*
Summary: Feature request: Enable Capsicum/CAPABILITIES on Beaglebone and ARM/*
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Many People
Assignee: freebsd-arm mailing list
Depends on:
Reported: 2015-10-24 22:45 UTC by Teran McKinney
Modified: 2017-05-27 01:11 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Teran McKinney 2015-10-24 22:45:11 UTC

First off, I apologize if this is not the correct place to report such things. If it's not, please let me know and I'll create it elsewhere.

Beaglebone and possibly most ARM boards seem to not have CAPABILITIES enabled. Would it be reasonable to turn it on by default, especially for FreeBSD 11?

Additionally, the behavior is strange. If the program calls cap_enter() it is not killed, it silently proceeds and you can only tell that it's not working by the effect of the program (putting cap_enter() before open(), for instance), or watching it with truss. It seems slightly misleading from a security standpoint that way.

So this request goes two ways. First: If Capsicum is not supported, should the program be killed if it tries to use Capsicum? Second: Should Capsicum be turned on by default on the ARMv6 branch?

Thank you,
Comment 1 Teran McKinney 2016-10-04 19:37:12 UTC
Has anyone had a chance to look into this?

Thank you!