public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3912] New: linux.syscall.h is a kludge
@ 2007-01-24 11:27 mark at klomp dot org
2007-01-24 19:47 ` [Bug general/3912] " mark at klomp dot org
0 siblings, 1 reply; 2+ messages in thread
From: mark at klomp dot org @ 2007-01-24 11:27 UTC (permalink / raw)
To: frysk-bugzilla
We want to use the _syscall macros to get some type safety. To get that we
define them ourselves in frysk-imports/include/linux.syscall.h which doesn't
always seem to work. One problem is the MAX_ERRNO definition. See also upstream bug
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=224130
--
Summary: linux.syscall.h is a kludge
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: mark at klomp dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=3912
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/3912] linux.syscall.h is a kludge
2007-01-24 11:27 [Bug general/3912] New: linux.syscall.h is a kludge mark at klomp dot org
@ 2007-01-24 19:47 ` mark at klomp dot org
0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2007-01-24 19:47 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-01-24 19:47 -------
Upstream said:
You must not include anything from asm/ or linux/ into a user mode program.
You can use the definition as a basis to write your own.
This is a bit of a pity since that means we would have to define (copy/paste)
these macros for all the different architectures we support.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3912
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-24 19:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 11:27 [Bug general/3912] New: linux.syscall.h is a kludge mark at klomp dot org
2007-01-24 19:47 ` [Bug general/3912] " mark at klomp dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).