tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PAX mprotect and JIT



On Mon, Apr 03, 2017 at 10:04:11AM +0200, Martin Husemann wrote:
> Ugh, quite intrusive...
> 
> >  	vm_prot_t		protection;	/* protection code */
> >  	vm_prot_t		max_protection;	/* maximum protection */
> > +	vm_prot_t		lim_protection;	/* limit for max_protection */
> 
> The names are not good. max and limit-of-max don't make much sense to me.
> Can we rename this somehow, or at least add a big comment here making
> the concept cleaner?

Feel free to suggest better names.

Joerg


Home | Main Index | Thread Index | Old Index