bionic/libc/kernel/arch-x86/asm
Elliott Hughes 86ec05acc9 Update the kernel headers to match external/kernel-headers.
Note that the Linux kernel handed over responsibility for most of the
socket constants to glibc some time ago. Someone had updated our
external/kernel-headers file but not regenerated the bionic headers,
so this change copies the missing stuff from the old bionic <linux/socket.h>
into <sys/socket.h>. This is what glibc does.

I've hacked a few of the other files to #include <sys/socket.h> for
backward compatibility, but even so this requires numerous other
changes to switch people over from direct inclusion of <linux/...> headers.

Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
2012-09-12 12:30:22 -07:00
..
xen Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
a.out.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
acpi_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
acpi.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
alternative_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
alternative.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
apic_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
apic.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
apicdef_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
apicdef.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
atomic_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
atomic.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
auxvec.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
bitops_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
bitops.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
bug.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
byteorder.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
cache.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
cacheflush.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
cmpxchg_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
cmpxchg.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
cpufeature_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
cpufeature.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
cputime.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
current_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
current.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
delay.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
desc_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
desc_defs.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
desc.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
div64.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
dma_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
dma-mapping_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
dma-mapping.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
dma.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
dwarf2_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
dwarf2.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
e820.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
elf.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
errno.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
fcntl.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
fixmap_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
fixmap.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
genapic_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
genapic.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
hardirq_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
hardirq.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
highmem.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
hw_irq_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
hw_irq.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
i387_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
i387.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
i8253.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
i8259.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ia32_unistd.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
io_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
io_apic_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
io_apic.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
io.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
ioctl.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ioctls.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ipcbuf.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
irq_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
irq.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
irqflags_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
irqflags.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
ist.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
kmap_types.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ldt.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
linkage_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
linkage.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
local_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
local.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
math_emu.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mc146818rtc_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mc146818rtc.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
mman.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mmsegment.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mmu.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
module_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
module.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
mpspec_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mpspec_def.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mpspec.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
msgbuf.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
msr-index.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
msr.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
page_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
page.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
param.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
paravirt.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pda.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
percpu_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
percpu.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
pgalloc_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgalloc.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
pgtable_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgtable-2level-defs.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgtable-2level.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgtable.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
poll.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
posix_types_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
posix_types.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
prctl.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
processor_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
processor-flags.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
processor.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
ptrace-abi.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
ptrace.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
required-features.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
resource.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
rwlock.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
scatterlist_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
scatterlist.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
sections.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
segment_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
segment.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
semaphore_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
semaphore.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
sembuf.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
setup.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
shmbuf.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
shmparam.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
sigcontext.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
siginfo.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
signal.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
smp_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
smp.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
socket.h Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
sockios.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
spinlock_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
spinlock_types.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
spinlock.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
stat.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
statfs.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
string_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
string.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
swiotlb.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
system_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
system.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
termbits.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
termios.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
thread_info_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
thread_info.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
tlbflush_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
tlbflush.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
tsc.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
types.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
uaccess_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
uaccess.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
ucontext.h bionic: add clean kernel header ucontext.h 2012-05-14 01:42:12 +08:00
unaligned.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
unistd_32.h Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
unistd.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
user32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
user_32.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
user.h Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers 2012-03-23 23:07:36 +08:00
vm86.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
voyager.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
vsyscall.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00