[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding a new syscall to gnumach
From: |
Samuel Thibault |
Subject: |
Re: Adding a new syscall to gnumach |
Date: |
Sun, 6 Jun 2021 14:48:06 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Joan Lledó, le jeu. 27 mai 2021 21:33:20 +0200, a ecrit:
> In my work to extend the memory proxies implementation, I'm considering
> adding a new syscall which receives a memory object and returns whether is
> it a proxy or not. I need something like that from the arbiter to properly
> set ranges when creating a new proxy.
>
> What are the steps to add a new syscall?, is there any docs? I wrote the
> function and declared its prototype in mach4.defs,
AIUI it's not a system call that you are talking about, but an RPC.
> but it's not enough.
What do you mean by "it's not enough"? What does not work *exactly*?
Source-code-wise IIRC it's enough. But to get the function into
libmachuser you need to rebuild it against the new .defs file.
Samuel
- Re: Adding a new syscall to gnumach,
Samuel Thibault <=