Messages in this thread | | | From | Andy Lutomirski <> | Date | Mon, 23 Jun 2014 12:57:20 -0700 | Subject | Re: [PATCH v6 09/10] x86, mpx: cleanup unused bound tables |
| |
On 06/18/2014 02:44 AM, Qiaowei Ren wrote: > When user memory region is unmapped, related bound tables > become unused and need to be released also. This patch cleanups > these unused bound tables through hooking unmap path.
This is not a full review at all -- I don't understand the mm stuff well enough.
> + > + /* > + * If this bounds directory entry is nonzero, and meanwhile > + * the valid bit is zero, one SIGSEGV will be produced due to > + * this unexpected situation. > + */ > + if (!(*valid) && *bt_addr) > + force_sig(SIGSEGV, current);
force_sig from a syscall handler seems rather weird.
| |