Merge branch 'work.quota-compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull compat quotactl cleanups from Al Viro: "More Christoph's compat cleanups: quotactl(2)" * 'work.quota-compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: quota: simplify the quotactl compat handling compat: add a compat_need_64bit_alignment_fixup() helper compat: lift compat_s64 and compat_u64 to <asm-generic/compat.h>
This commit is contained in:
@@ -910,6 +910,15 @@ static inline bool in_compat_syscall(void) { return false; }
|
||||
|
||||
#endif /* CONFIG_COMPAT */
|
||||
|
||||
/*
|
||||
* Some legacy ABIs like the i386 one use less than natural alignment for 64-bit
|
||||
* types, and will need special compat treatment for that. Most architectures
|
||||
* don't need that special handling even for compat syscalls.
|
||||
*/
|
||||
#ifndef compat_need_64bit_alignment_fixup
|
||||
#define compat_need_64bit_alignment_fixup() false
|
||||
#endif
|
||||
|
||||
/*
|
||||
* A pointer passed in from user mode. This should not
|
||||
* be used for syscall parameters, just declare them
|
||||
|
||||
Reference in New Issue
Block a user