applicom: Fix an unchecked user ioctl range and an error return
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / s390 / lib / uaccess.h
blob126011df14f1e7ad1a582e90de001177330c66d8
1 /*
2 * arch/s390/uaccess.h
4 * Copyright IBM Corp. 2007
6 */
8 #ifndef __ARCH_S390_LIB_UACCESS_H
9 #define __ARCH_S390_LIB_UACCESS_H
11 extern size_t copy_from_user_std(size_t, const void __user *, void *);
12 extern size_t copy_to_user_std(size_t, void __user *, const void *);
13 extern size_t strnlen_user_std(size_t, const char __user *);
14 extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
15 extern int futex_atomic_cmpxchg_std(int __user *, int, int);
16 extern int futex_atomic_op_std(int, int __user *, int, int *);
18 extern size_t copy_from_user_pt(size_t, const void __user *, void *);
19 extern size_t copy_to_user_pt(size_t, void __user *, const void *);
20 extern int futex_atomic_op_pt(int, int __user *, int, int *);
21 extern int futex_atomic_cmpxchg_pt(int __user *, int, int);
23 #endif /* __ARCH_S390_LIB_UACCESS_H */