mirror of https://github.com/torvalds/linux.git
sys_llseek should specify the high and low 32-bit seek values as "unsigned int" but instead it specifies "unsigned long". Since compat syscall arguments are always sign-extended on tile, this means that a seek value of 0xffffffff will be incorrectly interpreted as a value of -1ULL. To avoid the risk of breaking binary compatibility on architectures that already use sys_llseek this way, we follow the same path as MIPS and provide a wrapper override. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Cc: stable@kernel.org [v3.6 onwards] |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| asm-offsets.h | ||
| atomic.h | ||
| atomic_32.h | ||
| atomic_64.h | ||
| backtrace.h | ||
| barrier.h | ||
| bitops.h | ||
| bitops_32.h | ||
| bitops_64.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| cmpxchg.h | ||
| compat.h | ||
| current.h | ||
| delay.h | ||
| device.h | ||
| dma-mapping.h | ||
| dma.h | ||
| edac.h | ||
| elf.h | ||
| fixmap.h | ||
| ftrace.h | ||
| futex.h | ||
| hardirq.h | ||
| hardwall.h | ||
| highmem.h | ||
| homecache.h | ||
| hugetlb.h | ||
| hv_driver.h | ||
| hw_irq.h | ||
| ide.h | ||
| io.h | ||
| irq.h | ||
| irqflags.h | ||
| kexec.h | ||
| kmap_types.h | ||
| linkage.h | ||
| mmu.h | ||
| mmu_context.h | ||
| mmzone.h | ||
| module.h | ||
| page.h | ||
| pci.h | ||
| percpu.h | ||
| pgalloc.h | ||
| pgtable.h | ||
| pgtable_32.h | ||
| pgtable_64.h | ||
| processor.h | ||
| ptrace.h | ||
| sections.h | ||
| setup.h | ||
| sigframe.h | ||
| signal.h | ||
| smp.h | ||
| spinlock.h | ||
| spinlock_32.h | ||
| spinlock_64.h | ||
| spinlock_types.h | ||
| stack.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| syscalls.h | ||
| thread_info.h | ||
| tile-desc.h | ||
| tile-desc_32.h | ||
| tile-desc_64.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| topology.h | ||
| traps.h | ||
| uaccess.h | ||
| unaligned.h | ||
| unistd.h | ||
| user.h | ||
| vga.h | ||