Turning gr_learn_resource etc. into dummy static inlines

Discuss and suggest new grsecurity features

Turning gr_learn_resource etc. into dummy static inlines

Postby Lox » Thu Mar 22, 2012 11:55 am

Recently I did some perf recording and noticed gr_learn_resource and some other functions show up here and there where the time spent wasn't completly negligible.

I wondered if there is any harm in turning these into complete NOOPs? With the RBAC and a few other features disabled it doesn't seem to require them?

I hope the kernel will get complete LTO support sometime.. :)
Lox
 
Posts: 8
Joined: Sat Jul 02, 2011 7:53 pm

Re: Turning gr_learn_resource etc. into dummy static inlines

Postby spender » Thu Mar 22, 2012 2:39 pm

I've added this to my TODO.

Thanks,
-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: Turning gr_learn_resource etc. into dummy static inlines

Postby PaX Team » Thu Mar 22, 2012 5:46 pm

Lox wrote:I hope the kernel will get complete LTO support sometime.. :)
i've been testing LTO'd linux kernels for half a year now ;).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity development

cron