Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: x86/ldt: Prevent ldt inheritance on exec

$
0
0
Linus Torvalds writes: (Summary) That said, can't we separate this out into the copy_mm() phase only?
phase only?
We have "arch_dup_mmap()" that is called on fork() only, so that could do the LDT copy from the old mm, and the actual init_new_context would just zero it out.
just zero it out.
Then there wouldn't be any odd "check if this is an execve" because the copying would be done in the right place.
the copying would be done in the right place.
Hmm?
Hmm?
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 627

Trending Articles