basic preserve syscall