Please sign in to comment.
ipc: add COMPAT_SHMLBA support
If the SHMLBA definition for a native task differs from the definition for a compat task, the do_shmat() function would need to handle both. This patch introduces COMPAT_SHMLBA, which is used by the compat shmat syscall when calling the ipc code and allows architectures such as AArch64 (where the native SHMLBA is 64k but the compat (AArch32) definition is 16k) to provide the correct semantics for compat IPC system calls. Cc: David S. Miller <firstname.lastname@example.org> Cc: Chris Zankel <email@example.com> Cc: Arnd Bergmann <firstname.lastname@example.org> Acked-by: Catalin Marinas <email@example.com> Signed-off-by: Will Deacon <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...
Showing with 18 additions and 11 deletions.