git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3cdf27d
)
keyring-test-harder-20060825
author
Derek Atkins
<warlord@mit.edu>
Fri, 25 Aug 2006 06:21:43 +0000 (06:21 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 25 Aug 2006 06:21:43 +0000 (06:21 +0000)
FIXES 38470
don't enable keyring pags in older keyring kernels
src/cf/linux-test4.m4
patch
|
blob
|
history
diff --git
a/src/cf/linux-test4.m4
b/src/cf/linux-test4.m4
index
34dceed
..
9c2e0df
100644
(file)
--- a/
src/cf/linux-test4.m4
+++ b/
src/cf/linux-test4.m4
@@
-621,6
+621,9
@@
static inline _syscall2(long, keyctl, int, option, void*, arg2);],
[#ifdef CONFIG_KEYS
keyctl(KEYCTL_JOIN_SESSION_KEYRING, 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
#error rebuild your kernel with CONFIG_KEYS
#endif],