misc/180790: devel/linux_kdump prints BSD descriptions of system call names
Yuri
yuri at tsoft.com
Wed Jul 24 07:30:00 UTC 2013
>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:
More information about the freebsd-bugs
mailing list