[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH] sys/syscalls.h: Provide SYS_<syscallname> macros



Hi Simon, looks good, thanks.

-- Felipe

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 05.03.20, 15:00, "Simon Kuenzer" <simon.kuenzer@xxxxxxxxx> wrote:

    Besides having __NR_<syscallname> as names for system call number
    definitions, we provide also SYS_<syscallname> variants.
    
    Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
    ---
     include/sys/syscall.h | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/include/sys/syscall.h b/include/sys/syscall.h
    index 18edd7e..3d3b17e 100644
    --- a/include/sys/syscall.h
    +++ b/include/sys/syscall.h
    @@ -38,7 +38,8 @@
     long syscall(long num, ...);
     
     #if CONFIG_LIBSYSCALL_SHIM
    -/* Provide __NR_syscallname variants */
    +/* Provide SYS_syscallname and __NR_syscallname variants */
    +#include <uk/bits/syscall_nrs.h>
     #include <uk/bits/syscall_nrs2.h>
     #endif /* CONFIG_LIBSYSCALL_SHIM */
     
    -- 
    2.20.1
    
    

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.