From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fc35bf7ba6fca42d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: "new" word Date: Thu, 17 Mar 2005 15:09:58 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <1110966980.482176.111570@f14g2000cwb.googlegroups.com> <3297984.Y1VDRVLb6y@jellix.jlfencey.com> <1110978089.521428.75690@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1111072198 20267 217.17.192.37 (17 Mar 2005 15:09:58 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Thu, 17 Mar 2005 15:09:58 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: g2news1.google.com comp.lang.ada:9548 Date: 2005-03-17T15:09:58+00:00 List-Id: * fabio de francesco wrote: >> On the other hand as far as I can see there is no binary representation >> of the linux-kernel, in other words, you'll need to dynamically adapt >> the Ada memory layout to the corresponding kernel (+compiler). > > No, it isn't required. You don't need a Kernel-ABI in order to access > system calls in kernel space, as I wrote in another post in this > thread. There is a standardised way to access syscalls through > interrupt H80. This is useless for structured parameters. For those you need the exact memory layout. > Imagine you write a new syscall in Linux kernel and you want to use it > before it is binded into the LibC, you can do it with some simple > Assembly inline C/C++/Ada and whatever else programming language. Please do so for setsockopt(2).