Bug 188159

Summary: Capsicum does not work on bing endian platforms
Product: Base System Reporter: bordjukov
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description bordjukov 2014-04-01 08:40:01 UTC
Trying to use a command that has been ported to use capsicum causes it to exit with a Broken Pipe message.

root@chernobyl:~ # ping -n 8.8.8.8
Broken pipe

casperd[1711]: [ERROR] (casperd) Unable to receive message from client: Invalid argument.

Fix: The patch to nvlist.c proposed by Jilles Tjoelker here fixes the issue for me:
http://lists.freebsd.org/pipermail/freebsd-current/2014-March/048913.html

Patch attached with submission follows:
How-To-Repeat: Attempt to ping anything from a big endian system
Comment 1 bordjukov 2014-04-02 09:08:15 UTC
Fixed in r264021 http://svnweb.freebsd.org/base?view=revision&revision=264021
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-04-03 01:24:47 UTC
State Changed
From-To: open->closed

already fixed.  thanks for reporting.