grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

Postby arekm » Sun May 15, 2011 10:25 am

grsecurity-2.2.2-2.6.38.6-201105111839.patch build error on x86_64:


linux-2.6.38/drivers/message/i2o/iop.c: In function 'i2o_cntxt_list_add':
linux-2.6.38/drivers/message/i2o/iop.c:114:2: error: invalid use of void expression

112 spin_lock_irqsave(&c->context_list_lock, flags);
113
114 if (unlikely(atomic_inc_and_test_unchecked(&c->context_list_counter)))
115 atomic_inc_unchecked(&c->context_list_counter);
116
117 entry->context = atomic_read_unchecked(&c->context_list_counter);
arekm
 
Posts: 23
Joined: Mon Mar 30, 2009 5:30 am

Re: grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

Postby PaX Team » Mon May 16, 2011 6:40 am

arekm wrote: 114 if (unlikely(atomic_inc_and_test_unchecked(&c->context_list_counter)))
thanks, it'll be fixed in the next patch.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

Postby arekm » Mon May 16, 2011 9:18 am

ok but posting fix here would be welcome, so people could apply fix manually
arekm
 
Posts: 23
Joined: Mon Mar 30, 2009 5:30 am


Return to grsecurity support