[Bug 236714] Clang problem with rctl(8)

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236714 Konstantin Belousov changed: What|Removed |Added CC||k...@freebsd.org --- Comment

[Bug 236714] Clang problem with rctl(8)

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236714 --- Comment #8 from Mateusz Guzik --- I thought markj wanted to handle a general case. I did not check if anything depends on the affected sysctl in userspace, so that's my bad. However, since the change is only in current and the tool can

[Bug 236714] Clang problem with rctl(8)

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236714 --- Comment #9 from Konstantin Belousov --- (In reply to Mateusz Guzik from comment #8) Is rctl(8) useful in any way for non-root user, or for root user in a jail ? If answer to any of this question is yes, we should provide ABI compat. Ot

[Bug 236714] Clang problem with rctl(8)

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236714 --- Comment #10 from Mateusz Guzik --- It's all gated with priv_check calls defaulting to not allowing jailed root to do anything. So someone would have to have a dedicated mac module granting this. So if trasz is fine with the patch, I'll