svn commit: r308432 - in head: bin/echo bin/sleep usr.bin/basename usr.bin/dc usr.bin/dirname usr.bin/fold usr.bin/getopt usr.bin/locate/bigram usr.bin/logname usr.bin/printenv usr.bin/yes

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Mon Nov 14 13:25:49 UTC 2016


On 08.11.2016 06:31, Conrad E. Meyer wrote:
> Author: cem
> Date: Tue Nov  8 05:31:01 2016
> New Revision: 308432
> URL: https://svnweb.freebsd.org/changeset/base/308432
> 
> Log:
>   Capsicumize some trivial stdio programs
>   
>   Trivially capsicumize some simple programs that just interact with
>   stdio.  This list of programs uses 'pledge("stdio")' in OpenBSD.

Hi!

fold(1) is broken after this commit:

fold -s src/rabbit_ctl_usage.erl.tmp2
fold: src/rabbit_ctl_usage.erl.tmp2: Not permitted in capability mode

I don't know how Capsicum works, but fold(1) works with files in
addition to stdio, so perhaps caph_limit_stdio() is incorrect for this
program.

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20161114/0bd7252c/attachment.sig>


More information about the svn-src-head mailing list