[grsec] grsecurity-2.1.8-2.6.14.6-200601081947

Dinko Korunic kreator at srce.hr
Wed Jan 11 09:37:28 EST 2006


On Wed, Jan 11, 2006 at 11:39:33AM +0100, pageexec at freemail.hu wrote:
> is it because it is used in kernel/profile.c only? thing is, what

I don't think so.

> user_mode_vm does on i386 is what user_mode does elsewhere, so it's
> kinda backwards and i forgot that profile.c is not i386 only. the

Well, you use user_mode_vm() macro on 9 different places in
grsecurity-2.1.8-2.6.14.6-200601081947 ;-)

> right fix would be to swap the role of user_mode_vm and user_mode
> on i386, it's just more work than the problem i originally wanted
> to fix ;-).

Yup, probably. Seems that user_mode_vm() is available only on i386 and
x86_64, according to the sources - so it's probably better to fix those
two [and on x86_64 it's user_mode_vm(regs) == user_mode(regs)]
individually..

-- 
NAME:Dinko.kreator.Korunic          NOTE:Standard.disclaimer.applies
URL:http://dkorunic.net    IRC:kre    ICQ:16965294    PGP:0xea160d0b


More information about the grsecurity mailing list