Date: Wed, 24 Jul 2013 07:27:00 GMT From: Yuri <yuri@tsoft.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/180790: devel/linux_kdump prints BSD descriptions of system call names Message-ID: <201307240727.r6O7R05U059942@oldred.freebsd.org> Resent-Message-ID: <201307240730.r6O7U0ck035405@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180790 >Category: misc >Synopsis: devel/linux_kdump prints BSD descriptions of system call names >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 24 07:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 9.1 >Organization: n/a >Environment: >Description: linux_kdump is FreeBSD executable, and it is using strerror() to translate error codes. This naturally produces BSD descriptions, not linux onex. Example: 70665 Xxx RET linux_socketcall -1 errno 38 Socket operation on non-socket In BSD errno=38 is ENOTSOCK: #define ENOTSOCK 38 /* Socket operation on non-socket */ And in Linux errno=38 is ENOSYS: #define ENOSYS /* Function not implemented */ linux_kdump version 1.5 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307240727.r6O7R05U059942>