2
0
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:
Cyrill Gorcunov
2011-11-07 14:47:04 +04:00
parent cb7a9a524d
commit d6e7afe3d8
3 changed files with 28 additions and 0 deletions

View File

@@ -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 */