[OpenAFS-devel] 1.4.2rc1 fails on RHEL4 2.6.9 kernel: missing keyring defines?

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Thu, 24 Aug 2006 10:47:31 -0400


In message <sjm8xlemcfu.fsf@cliodev.pgp.com>,Derek Atkins writes:
>Actually, I just looked more closely at this patch -- I have no way to
>test that it works because I'm not running the kernel that has this

that's useful.  how do you even know the module works?

>#if !defined(KEY_POS_VIEW) || !defined(KEY_POS_SEARCH)
>#error "Your version of keyring support does not have KEY_POS_"
>#endif

or you could just slip them into the key_alloc(), like this:

	key_alloc(0,0,0,KEY_POS_VIEW|KEY_POS_SEARCH,0);

>Which is the preferred method?

since 2.6.9-rhel seems like a common kernel it would be nice to
get these people keyring/pag support if its available in a useful
fashion.  can you test it?