svn commit: r309735 - head/bin/dd

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Sat Dec 10 08:30:04 UTC 2016


> On Dec 9, 2016, at 06:51, Bartek Rutkowski <robak at freebsd.org> wrote:
> 
> Author: robak (ports committer)
> Date: Fri Dec  9 14:51:05 2016
> New Revision: 309735
> URL: https://svnweb.freebsd.org/changeset/base/309735
> 
> Log:
>  Capsicum support for dd(1)
> 
>  Adds Capsicum sandboxing to dd utility.
> 
>  Submitted by:	Pawel Biernacki <pawel.biernacki at gmail.com>
>  Reviewed by:	allanjude, emaste, oshogbo
>  Approved by:	oshogbo
>  Sponsored by:	Mysterious Code Ltd.
>  Differential Revision:	https://reviews.freebsd.org/D8543
> 
> Modified:
>  head/bin/dd/dd.c

This change broke some of the tests:

$ sudo kyua test
...
bin/dd/dd_test:length  ->  failed: Expected 512 bytes of output, got 0: dd if=/dev/zero of=/dev/fd/5 count=1 5>&1 >&- 2>/dev/null  [0.031s]
$ svn merge -c -309735 .
--- Reverse-merging r309735 into '.':
U    bin/dd/dd.c
--- Recording mergeinfo for reverse merge of r309735 into '.':
 U   .
$ (cd bin/dd/; make -s obj all; sudo make -s install; cd tests/; make -s check)
===> tests (obj)
===> tests (all)
===> tests (install)
dd_test:io  ->  passed  [0.083s]
dd_test:length  ->  passed  [0.032s]
dd_test:seek  ->  passed  [0.060s]

Results file id is usr_tests_bin_dd.20161210-082907-733272
Results saved to /home/ngie/.kyua/store/results.usr_tests_bin_dd.20161210-082907-733272.db

3/3 passed (0 failed)
$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20161210/34a8e1ba/attachment.sig>


More information about the svn-src-head mailing list