Re: [PATCH] syscall: Add a C syscall example

2016-08-28 Thread Benoît Canet
Working on it. On Sun, Aug 28, 2016 at 4:57 PM, Nadav Har'El wrote: > Hi Benoit, > > Please add this test to the existing tests/tst-syscall.cc - instead of a > separate application - so we can have this in the regression test. > > Please use something other than exit() for several good reasons:

Re: [PATCH] syscall: Add a C syscall example

2016-08-28 Thread Nadav Har'El
Hi Benoit, Please add this test to the existing tests/tst-syscall.cc - instead of a separate application - so we can have this in the regression test. Please use something other than exit() for several good reasons: 1. SYS_exit is not actually implemented yet - only in your branch (see a few opti

[PATCH] syscall: Add a C syscall example

2016-08-28 Thread Benoit Canet
This C syscall example is just doing exit(42) Signed-off-by: Benoît Canet --- syscall/Makefile | 9 + syscall/module.py| 3 +++ syscall/syscall.c| 16 syscall/usr.manifest | 1 + 4 files changed, 29 insertions(+) create mode 100644 syscall/Makefile creat