/* ERRORS EFAULT BUF points outside your accessible address space.  */
asmlinkage long sys_getunwind(void __user *buf, size_t buf_size)
/* ERRORS EFAULT BUF points outside your accessible address space.  */
asmlinkage long sys_getunwind(void __user *buf, size_t buf_size)
{
	if (buf && buf_size >= unw.gate_table_size)
		if (copy_to_user(buf, unw.gate_table, unw.gate_table_size) != 0)
			return -EFAULT;
	return unw.gate_table_size;
}