mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-keyring-test-harder-20060825
FIXES 38470 don't enable keyring pags in older keyring kernels (cherry picked from commit 4076e99d91e3644f4544386a38c908e5b793b285)
This commit is contained in:
parent
e698308582
commit
ba910b4285
@ -621,6 +621,9 @@ static inline _syscall2(long, keyctl, int, option, void*, arg2);],
|
|||||||
[#ifdef CONFIG_KEYS
|
[#ifdef CONFIG_KEYS
|
||||||
keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL);
|
keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL);
|
||||||
request_key(NULL, NULL, NULL);
|
request_key(NULL, NULL, NULL);
|
||||||
|
#if !defined(KEY_POS_VIEW) || !defined(KEY_POS_SEARCH)
|
||||||
|
#error "Your linux/key.h does not contain KEY_POS_VIEW or KEY_POS_SEARCH"
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#error rebuild your kernel with CONFIG_KEYS
|
#error rebuild your kernel with CONFIG_KEYS
|
||||||
#endif],
|
#endif],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user