Skip to content
Snippets Groups Projects
Commit 26c11e6c authored by Kostyantyn Vorobyov's avatar Kostyantyn Vorobyov
Browse files

[RTL] Invocation of kill and getpid via syscall

parent 2401ae55
No related branches found
No related tags found
No related merge requests found
...@@ -55,4 +55,6 @@ int syscall(int number, ...); ...@@ -55,4 +55,6 @@ int syscall(int number, ...);
# define getrlimit(...) syscall(SYS_getrlimit, __VA_ARGS__) # define getrlimit(...) syscall(SYS_getrlimit, __VA_ARGS__)
# define munmap(...) syscall(SYS_munmap, __VA_ARGS__) # define munmap(...) syscall(SYS_munmap, __VA_ARGS__)
# define exit(...) syscall(SYS_exit, __VA_ARGS__) # define exit(...) syscall(SYS_exit, __VA_ARGS__)
# define getpid(...) syscall(SYS_getpid)
# define kill(...) syscall(SYS_kill, __VA_ARGS__)
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment