rempas / stack head clone3 (futex)
0 curtidas
0 bifurcações
1 arquivos
Última atividade
Stack head with clone3 (futex version)
1 | // libc-free x86-64 Linux multi-threading example |
2 | // $ cc -nostdlib stack_head.c |
3 | // Ref: https://nullprogram.com/blog/2023/03/23/ |
4 | // This is free and unencumbered software released into the public domain. |
5 | |
6 | #include "clone_args.h" |
7 | |
8 | #define SYS_write 1 |
9 | #define SYS_mmap 9 |
10 | #define SYS_nanosleep 35 |
rempas / stack head clone3 (waitid)
0 curtidas
0 bifurcações
1 arquivos
Última atividade
Stack head with clone3 (waitid version)
1 | // libc-free x86-64 Linux multi-threading example |
2 | // $ cc -nostdlib stack_head.c |
3 | // Ref: https://nullprogram.com/blog/2023/03/23/ |
4 | // This is free and unencumbered software released into the public domain. |
5 | // |
6 | #include "clone_args.h" |
7 | |
8 | #define SYS_write 1 |
9 | #define SYS_mmap 9 |
10 | #define SYS_nanosleep 35 |
Próximo
Anterior