Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1255249
| From | Jeffrey Merkey <jeffmerkey@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | QUestion on x86_64 and i386 for settings of SS segment register |
| Date | 2015-10-24 23:30 +0200 |
| Message-ID | <qnexY-3WR-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
I am updating the mdb kernel debugger on 4.2.4 and I noticed that
user_mode_vm has been removed from the kernel sources for detecting
user space memory addresses for purposes of loading the SS pointer. I
am using __KERNEL_DS presently.
old code:
if (user_mode_vm(regs))
{
sf->tSS = regs->ss;
sf->tSP = regs->sp;
} else {
sf->tSS = __KERNEL_DS;
sf->tSP = kernel_stack_pointer(regs);
}
is SS always assumed to be __KERNEL_DS in 4.2.4 for userspace stack
addresses passed by pt_regs?
Thanks
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
QUestion on x86_64 and i386 for settings of SS segment register Jeffrey Merkey <jeffmerkey@gmail.com> - 2015-10-24 23:30 +0200 Re: QUestion on x86_64 and i386 for settings of SS segment register Jeffrey Merkey <jeffmerkey@gmail.com> - 2015-10-24 23:40 +0200
csiph-web