Skip to contentSkip to conversation

kernel compile error with latest ver

DISCUSSION Russell Coker 2 participants 2 messages Oct 23, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

The ip_warn() macro defined in selopt.h seems to demand at least 3 parameters but in selopt.c it's often given only 2...

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 2 lines · Russell Coker

The ip_warn() macro defined in selopt.h seems to demand at least 3 parameters but in selopt.c it's often given only 2...

selopt compiles fine for me either built-in or as a module, and the only thing that changed about the ip_warn() definition was fixing the handling of __FUNCTION__. What version of gcc are you using and what is the precise output from gcc?

--
Stephen D. Smalley, NAI Labs
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.