[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 #7 from Konstantin Belousov  ---
What is the problem checking for exactly old or new buffer size ?  Look e.g. at
the sysctl_bufspace() in vfs_bio.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[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 be
modified I don't think there is much use of adding aforementioned support
there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[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. 
Otherwise, indeed, it does not matter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[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 commit it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"