android_kernel_xiaomi_sdm845/arch/x86/kernel
Roland McGrath ccbe495caa x86-64: syscall-audit: fix 32/64 syscall hole
On x86-64, a 32-bit process (TIF_IA32) can switch to 64-bit mode with
ljmp, and then use the "syscall" instruction to make a 64-bit system
call.  A 64-bit process make a 32-bit system call with int $0x80.

In both these cases, audit_syscall_entry() will use the wrong system
call number table and the wrong system call argument registers.  This
could be used to circumvent a syscall audit configuration that filters
based on the syscall numbers or argument details.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-03-02 15:41:30 -08:00
..
acpi x86_64: Fix S3 fail path 2009-02-21 21:58:18 -05:00
cpu x86, mce: remove incorrect __cpuinit for mce_cpu_features() 2009-02-20 23:40:40 -08:00
.gitignore
alternative.c
amd_iommu_init.c
amd_iommu.c
aperture_64.c
apic.c x86, mce: fix ifdef for 64bit thermal apic vector clear on shutdown 2009-02-17 15:24:34 -08:00
apm_32.c PM: Split up sysdev_[suspend|resume] from device_power_[down|up] 2009-02-22 10:33:44 -08:00
asm-offsets_32.c
asm-offsets_64.c
asm-offsets.c
audit_64.c
bios_uv.c
bootflag.c
check.c
cpuid.c
crash_dump_32.c
crash_dump_64.c
crash.c
doublefault_32.c
ds.c
dumpstack_32.c
dumpstack_64.c
dumpstack.c
dumpstack.h
e820.c
early_printk.c
early-quirks.c
efi_32.c
efi_64.c
efi_stub_32.S
efi_stub_64.S
efi.c
entry_32.S
entry_64.S x86: push old stack address on irqstack for unwinder 2009-02-02 21:18:03 -08:00
es7000_32.c
ftrace.c tracing, x86: fix constraint for parent variable 2009-02-11 10:06:13 +01:00
genapic_64.c
genapic_flat_64.c
genx2apic_cluster.c
genx2apic_phys.c
genx2apic_uv_x.c
geode_32.c
head32.c
head64.c
head_32.S
head_64.S
head.c
hpet.c Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-02-17 14:27:39 -08:00
i386_ksyms_32.c
i387.c
i8237.c i8327: fix outb() parameter order 2009-02-10 13:13:23 +01:00
i8253.c
i8259.c
init_task.c
io_apic.c x86: find nr_irqs_gsi with mp_ioapic_routing 2009-02-09 12:42:59 +01:00
io_delay.c
ioport.c
ipi.c
irq_32.c
irq_64.c
irq.c
irqinit_32.c x86/Voyager: make it build and boot 2009-01-31 18:26:07 +01:00
irqinit_64.c
k8.c
kdebugfs.c
kgdb.c
kprobes.c
kvm.c
kvmclock.c
ldt.c
machine_kexec_32.c
machine_kexec_64.c
Makefile
mca_32.c
mfgpt_32.c
microcode_amd.c
microcode_core.c
microcode_intel.c
mmconf-fam10h_64.c
module_32.c
module_64.c
mpparse.c
msr.c
nmi.c
numaq_32.c
olpc.c x86, olpc: fix model detection without OFW 2009-02-14 23:05:25 +01:00
paravirt_patch_32.c
paravirt_patch_64.c
paravirt-spinlocks.c
paravirt.c x86: warn if arch_flush_lazy_mmu_cpu is called in preemptible context 2009-02-12 23:11:58 +01:00
pci-calgary_64.c
pci-dma.c
pci-gart_64.c Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
pci-nommu.c
pci-swiotlb_64.c
pcspeaker.c
pmtimer_64.c
probe_roms_32.c
process_32.c x86, rcu: fix strange load average and ksoftirqd behavior 2009-02-17 22:47:45 +01:00
process_64.c x86, 64-bit: print DMI info in the oops trace 2009-02-04 22:10:12 +01:00
process.c x86: add clflush before monitor for Intel 7400 series 2009-02-09 11:15:15 +01:00
ptrace.c x86-64: syscall-audit: fix 32/64 syscall hole 2009-03-02 15:41:30 -08:00
pvclock.c
quirks.c
reboot_fixups_32.c
reboot.c
relocate_kernel_32.S
relocate_kernel_64.S
rtc.c
scx200_32.c
setup_percpu.c
setup.c x86: fix grammar in user-visible BIOS warning 2009-02-05 01:14:38 +01:00
signal.c
smp.c
smpboot.c
smpcommon.c
stacktrace.c
step.c
summit_32.c
sys_i386_32.c
sys_x86_64.c
syscall_64.c
syscall_table_32.S
tce_64.c
test_nx.c
test_rodata.c
time_32.c
time_64.c x86: Add IRQF_TIMER to legacy x86 timer interrupt descriptors 2009-02-22 10:27:49 -08:00
tlb_32.c
tlb_64.c
tlb_uv.c
tls.c
tls.h
topology.c
trampoline_32.S
trampoline_64.S
trampoline.c
traps.c x86, vm86: fix preemption bug 2009-02-15 10:46:13 +01:00
tsc_sync.c
tsc.c
uv_irq.c
uv_sysfs.c
verify_cpu_64.S
visws_quirks.c
vm86_32.c
vmi_32.c x86, vmi: put a missing paravirt_release_pmd in pgd_dtor 2009-02-09 13:10:13 +01:00
vmiclock_32.c x86: Add IRQF_TIMER to legacy x86 timer interrupt descriptors 2009-02-22 10:27:49 -08:00
vmlinux_32.lds.S
vmlinux_64.lds.S
vmlinux.lds.S
vsmp_64.c
vsyscall_64.c
x8664_ksyms_64.c
xsave.c