mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 06:45:35 +00:00
syscalls: Add sys_set/get_thread_area helpers
They are actually banned in kernel for now, but we might end up needing them, so better to have them in-place. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
#define __NR_exit 60
|
||||
#define __NR_unlink 87
|
||||
|
||||
#define __NR_set_thread_area 205
|
||||
#define __NR_get_thread_area 211
|
||||
|
||||
#else /* CONFIG_X86_64 */
|
||||
# error x86-32 bit mode not yet implemented
|
||||
#endif /* CONFIG_X86_64 */
|
||||
|
Reference in New Issue
Block a user