Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2016 14:25:40 +0100
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        "Conrad E. Meyer" <cem@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: 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
Message-ID:  <d66219dd-7ff7-2251-7fba-4d04e6ea7176@FreeBSD.org>
In-Reply-To: <201611080531.uA85V2DL025382@repo.freebsd.org>
References:  <201611080531.uA85V2DL025382@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--E0R4dmpv15ohqaFENihLgFM2xpgcaVkLh
Content-Type: multipart/mixed; boundary="khboWtKqTDqWgVT489LeAhxcFLtI53Xkq";
 protected-headers="v1"
From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To: "Conrad E. Meyer" <cem@FreeBSD.org>, src-committers@freebsd.org,
 svn-src-all@freebsd.org, svn-src-head@freebsd.org
Message-ID: <d66219dd-7ff7-2251-7fba-4d04e6ea7176@FreeBSD.org>
Subject: Re: 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
References: <201611080531.uA85V2DL025382@repo.freebsd.org>
In-Reply-To: <201611080531.uA85V2DL025382@repo.freebsd.org>

--khboWtKqTDqWgVT489LeAhxcFLtI53Xkq
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Capsicumize some trivial stdio programs
>  =20
>   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.

--=20
Jean-S=C3=A9bastien P=C3=A9dron


--khboWtKqTDqWgVT489LeAhxcFLtI53Xkq--

--E0R4dmpv15ohqaFENihLgFM2xpgcaVkLh
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYKbtUAAoJEDnpl2Gl/ZTMYpEP/RtQGzr/EGhayKjDJdqyYb35
FzpCH4AJkfQ1Aw3z1yhLIhbp4Ws8gAE0EVhWkocwI/0hMPbmV/Bb9o13nLzWA4NM
VmTLz2zeWVDul4rL5uwAtDF3alTTxHvFJpF3UasJ12mTM0LyHyo50LgxCQ2gH5Wh
djdwKOgAPyJcf1xIO0nDAlwHyRQwQD2EO+xe42/jzpxNzLBHYgk96fMzaqP4Vr5Q
Bl0rqQNcS/4GKFHcOcqCs/wO/93KYReKpv+YYc39G0TaWOkWHAoSdHvVYEZkOdlS
93shiHb8MziysJhy8R6P3Qly2y3IPcpFITEBY9z2XZM1zEKlCVFvmEww8jTH72TU
O5Ga+HsJ/I1QjlzPh9Xdh+kwFk+jrljDhz43k3ni7lkVpQkJUOeKYdMckReT1qt9
PZuvEpL5g7z49IYUHQ4IN2cl4RTgPRweEt9NcDX1MKQk9Hvh54R6tHvpUXvSbAgT
Oi3SjYGqSnTz22MUW3xLyS6L7Y63LiM51AvrK34hY8kwuuy2qqvY8Av78HmntDa5
29VwO17X7oNhfwf/Mxud7KB6Nxag87bnHOMPMYdSrHUW/srfx2qdCAPx321+9epZ
kXVWv3rDjnnkMBY/uxJoYfdk3IXs5fyqx8uavc+ffMypu5VAEbel321rYfXi1tMA
79OTFeqIALftOhb14/+4
=kO53
-----END PGP SIGNATURE-----

--E0R4dmpv15ohqaFENihLgFM2xpgcaVkLh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d66219dd-7ff7-2251-7fba-4d04e6ea7176>