android_kernel_xiaomi_sm8350/arch/i386/kernel
Ulrich Drepper cff2b76009 [PATCH] fstatat64 support
The *at patches introduced fstatat and, due to inusfficient research, I
used the newfstat functions generally as the guideline.  The result is that
on 32-bit platforms we don't have all the information needed to implement
fstatat64.

This patch modifies the code to pass up 64-bit information if
__ARCH_WANT_STAT64 is defined.  I renamed the syscall entry point to make
this clear.  Other archs will continue to use the existing code.  On x86-64
the compat code is implemented using a new sys32_ function.  this is what
is done for the other stat syscalls as well.

This patch might break some other archs (those which define
__ARCH_WANT_STAT64 and which already wired up the syscall).  Yet others
might need changes to accomodate the compatibility mode.  I really don't
want to do that work because all this stat handling is a mess (more so in
glibc, but the kernel is also affected).  It should be done by the arch
maintainers.  I'll provide some stand-alone test shortly.  Those who are
eager could compile glibc and run 'make check' (no installation needed).

The patch below has been tested on x86 and x86-64.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-11 21:41:10 -08:00
..
acpi [PATCH] x86_64: Dont record local apic ids when they are disabled in MADT 2006-02-04 16:43:15 -08:00
cpu [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
timers [PATCH] disable lost tick compensation before TSCs are synced 2006-02-01 08:53:14 -08:00
apic.c [PATCH] Fix bad apic fix on i386 2006-02-07 10:08:38 -08:00
apm.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
asm-offsets.c
bootflag.c
cpuid.c [PATCH] arch/i386/kernel/cpuid.c: unused variable 2006-01-06 08:33:38 -08:00
crash_dump.c [PATCH] kdump: read previous kernel's memory 2006-01-10 08:01:28 -08:00
crash.c [PATCH] kdump: save registers early (inline functions) 2006-01-10 08:01:27 -08:00
dmi_scan.c [PATCH] x86_64: Generalize DMI and enable for x86-64 2006-01-11 19:04:51 -08:00
doublefault.c
early_printk.c
efi_stub.S
efi.c
entry.S [PATCH] Make vm86 support optional 2006-01-08 20:14:11 -08:00
head.S [PATCH] x86: Fixed pnp bios limits 2006-01-06 08:33:35 -08:00
i386_ksyms.c
i387.c
i8237.c
i8259.c
init_task.c [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros 2006-01-08 20:13:38 -08:00
io_apic.c [PATCH] x86_64: Memorize location of i8259 for reboots. 2006-01-11 19:05:00 -08:00
ioport.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
irq.c [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros 2006-01-08 20:13:38 -08:00
kprobes.c [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
ldt.c
machine_kexec.c
Makefile [PATCH] kdump: read previous kernel's memory 2006-01-10 08:01:28 -08:00
mca.c
microcode.c [PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core 2006-01-11 19:04:58 -08:00
module.c
mpparse.c Pull pnpacpi into acpica branch 2006-01-07 03:50:18 -05:00
msr.c [PATCH] arch/i386/kernel/msr.c: removed unused variable 2006-01-06 08:33:38 -08:00
nmi.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
numaq.c
pci-dma.c
process.c [PATCH] i386: print kernel version in register dumps 2006-02-05 11:06:53 -08:00
ptrace.c
quirks.c [PATCH] EDAC: core EDAC support code 2006-01-18 19:20:31 -08:00
reboot_fixups.c
reboot.c [PATCH] i386/x86-64: Don't IPI to offline cpus on shutdown 2006-01-11 19:04:50 -08:00
relocate_kernel.S
scx200.c [PATCH] arch: Replace pci_module_init() with pci_register_driver() 2006-01-09 12:13:21 -08:00
semaphore.c
setup.c [PATCH] i386/x86-64: make setup_early_printk() usage consistent 2006-01-11 19:05:04 -08:00
sigframe.h
signal.c [PATCH] Handle TIF_RESTORE_SIGMASK for i386 2006-01-18 19:20:29 -08:00
smp.c
smpboot.c [PATCH] x86: don't initialise cpu_possible_map to all ones 2006-02-10 08:13:12 -08:00
srat.c
summit.c
sys_i386.c
syscall_table.S [PATCH] fstatat64 support 2006-02-11 21:41:10 -08:00
sysenter.c
time_hpet.c [PATCH] move rtc_interrupt() prototype to rtc.h 2006-01-08 20:13:47 -08:00
time.c [PATCH] i386: Handle missing local APIC timer interrupts on C3 state 2006-01-11 19:04:54 -08:00
trampoline.S
traps.c [PATCH] i386: print kernel version in register dumps 2006-02-05 11:06:53 -08:00
vm86.c correct email address of Manfred Spraul 2006-01-15 02:43:54 +01:00
vmlinux.lds.S
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S
vsyscall.S