• Dmitry Safonov's avatar
    parasite-syscall: get rid of code_syscall{,size} globals · 0b3901fb
    Dmitry Safonov authored
    I think, we may safely remove this exports, as:
    - code_syscall is used only in one function, which now will have
      it as a parameter;
    - code_syscall_size must be equall to BUILTIN_SYSCALL_SIZE under
      BUILD_BUG_ON, so BUILTIN_SYSCALL_SIZE may be used instead.
      (see ptrace(2) - align restriction to PTRACE_PEEKUSER).
    
    This will reduce arch-depended code coupling a little.
    
    (and I also interested in this because of I need __parasite_execute_syscall
    to execute 32-bit syscall code on x86_64, which I prefer to leave without
    some CONFIG_X86_64 as it's generic code)
    
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    0b3901fb
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...