summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-27 00:35:24 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-27 00:35:24 -0700
commit2ecc0e4a0a8ba129bbec328722de905e970f1263 (patch)
tree592c1699f152cae2eb3f0ef517d7a4b8b3143f20 /include/linux/compat.h
parentac4f6755a83e919266f9aa276fd7b2acafce45df (diff)
Fix up "compat_sys_keyctl()" system call.
Fix name, and make sure that it's listed as a conditional system call so that we stub it out to ENOSYS if the kernel isn't compiled with key management support.
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 98eda6dfe594..56d5582abfe2 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -119,7 +119,7 @@ long compat_sys_shmat(int first, int second, compat_uptr_t third, int version,
long compat_sys_shmctl(int first, int second, void __user *uptr);
long compat_sys_semtimedop(int semid, struct sembuf __user *tsems,
unsigned nsems, const struct compat_timespec __user *timeout);
-asmlinkage long compat_keyctl(u32 option,
+asmlinkage long compat_sys_keyctl(u32 option,
u32 arg2, u32 arg3, u32 arg4, u32 arg5);
asmlinkage ssize_t compat_sys_readv(unsigned long fd,