diff options
Diffstat (limited to 'aarch64-linux-gnu/libc/usr/include')
21 files changed, 77 insertions, 85 deletions
diff --git a/aarch64-linux-gnu/libc/usr/include/asm-generic/unistd.h b/aarch64-linux-gnu/libc/usr/include/asm-generic/unistd.h index 742ccd4..6832167 100644 --- a/aarch64-linux-gnu/libc/usr/include/asm-generic/unistd.h +++ b/aarch64-linux-gnu/libc/usr/include/asm-generic/unistd.h @@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \ #define __NR_process_vm_writev 271 __SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \ compat_sys_process_vm_writev) +#define __NR_kcmp 272 +__SYSCALL(__NR_kcmp, sys_kcmp) #undef __NR_syscalls -#define __NR_syscalls 272 +#define __NR_syscalls 273 /* * All syscalls below here should go away really, diff --git a/aarch64-linux-gnu/libc/usr/include/asm/ptrace.h b/aarch64-linux-gnu/libc/usr/include/asm/ptrace.h index 96ea1d6..4b7bb90 100644 --- a/aarch64-linux-gnu/libc/usr/include/asm/ptrace.h +++ b/aarch64-linux-gnu/libc/usr/include/asm/ptrace.h @@ -23,20 +23,15 @@ #include <asm/hwcap.h> -#define PTRACE_GETREGS 12 -#define PTRACE_SETREGS 13 -#define PTRACE_GETFPSIMDREGS 14 -#define PTRACE_SETFPSIMDREGS 15 -/* PTRACE_ATTACH is 16 */ -/* PTRACE_DETACH is 17 */ -#define PTRACE_GET_THREAD_AREA 22 -#define PTRACE_SET_SYSCALL 23 -#define PTRACE_GETHBPREGS 29 -#define PTRACE_SETHBPREGS 30 - /* AArch32-specific ptrace requests */ +#define COMPAT_PTRACE_GETREGS 12 +#define COMPAT_PTRACE_SETREGS 13 +#define COMPAT_PTRACE_GET_THREAD_AREA 22 +#define COMPAT_PTRACE_SET_SYSCALL 23 #define COMPAT_PTRACE_GETVFPREGS 27 #define COMPAT_PTRACE_SETVFPREGS 28 +#define COMPAT_PTRACE_GETHBPREGS 29 +#define COMPAT_PTRACE_SETHBPREGS 30 /* * PSR bits @@ -86,7 +81,7 @@ #ifndef __ASSEMBLY__ /* - * User structures for general purpose and floating point registers. + * User structures for general purpose, floating point and debug registers. */ struct user_pt_regs { __u64 regs[31]; @@ -101,6 +96,14 @@ struct user_fpsimd_state { __u32 fpcr; }; +struct user_hwdebug_state { + __u32 dbg_info; + struct { + __u64 addr; + __u32 ctrl; + } dbg_regs[16]; +}; + #endif /* __ASSEMBLY__ */ diff --git a/aarch64-linux-gnu/libc/usr/include/bits/endian.h b/aarch64-linux-gnu/libc/usr/include/bits/endian.h index d3eba5d..241651a 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/endian.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/endian.h @@ -1,5 +1,4 @@ -/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. - Copyright (C) 2009-2012. +/* Copyright (C) 1997, 1998, 2009-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/fcntl.h b/aarch64-linux-gnu/libc/usr/include/bits/fcntl.h index 29e2861..41ae726 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/fcntl.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/fcntl.h @@ -1,6 +1,5 @@ /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. - Copyright (C) 2011 Free Software Foundation, Inc. - Copyright 2009-2012. + Copyright (C) 2011, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/fenv.h b/aarch64-linux-gnu/libc/usr/include/bits/fenv.h index 864ae07..59d820c 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/fenv.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/fenv.h @@ -1,5 +1,4 @@ -/* Copyright (C) 2004, 2005 Free Software Foundation, Inc. - Copyright (C) 2009-2012. +/* Copyright (C) 2004, 2005, 2009-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/link.h b/aarch64-linux-gnu/libc/usr/include/bits/link.h index 8ffc11a..df746cc 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/link.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/link.h @@ -1,5 +1,4 @@ -/* Copyright (C) 2005, 2009 Free Software Foundation, Inc. - Copyright (C) 2009-2012. +/* Copyright (C) 2005, 2009-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/mathdef.h b/aarch64-linux-gnu/libc/usr/include/bits/mathdef.h index 919630a..c436b07 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/mathdef.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/mathdef.h @@ -1,6 +1,5 @@ -/* Copyright (C) 1999, 2000, 2004, 2006, 2007, 2010 +/* Copyright (C) 1999, 2000, 2004, 2006, 2007, 2010-2012 Free Software Foundation, Inc. - Copyright (C) 2011, 2012. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/mman.h b/aarch64-linux-gnu/libc/usr/include/bits/mman.h index 91baae1..5e7db6d 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/mman.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/mman.h @@ -1,9 +1,7 @@ /* Definitions for POSIX memory map interface. Linux/AArch64 version. - Copyright (C) 1997, 2000, 2003, 2005, 2006, 2009 + Copyright (C) 1997, 2000, 2003, 2005, 2006, 2009-2012 Free Software Foundation, Inc. - Copyright 2009-2012. - This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/aarch64-linux-gnu/libc/usr/include/bits/pthreadtypes.h b/aarch64-linux-gnu/libc/usr/include/bits/pthreadtypes.h index b1a82af..8ef4f84 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/pthreadtypes.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/pthreadtypes.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. - Copyright 2009-2012. +/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009-2012 + Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/semaphore.h b/aarch64-linux-gnu/libc/usr/include/bits/semaphore.h index 6861033..fc8a351 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/semaphore.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/semaphore.h @@ -1,5 +1,4 @@ -/* Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc. - Copyright 2009-2012. +/* Copyright (C) 2002, 2005, 2007, 2009-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/setjmp.h b/aarch64-linux-gnu/libc/usr/include/bits/setjmp.h index 1521cb8..5492f69 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/setjmp.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/setjmp.h @@ -1,5 +1,5 @@ -/* Copyright (C) 1997, 1998, 2005, 2006 Free Software Foundation, Inc. - Copyright (C) 2009-2012. +/* Copyright (C) 1997, 1998, 2005, 2006, 2009-2012 + Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/aarch64-linux-gnu/libc/usr/include/bits/syscall.h b/aarch64-linux-gnu/libc/usr/include/bits/syscall.h index 30071f0..91bb155 100644 --- a/aarch64-linux-gnu/libc/usr/include/bits/syscall.h +++ b/aarch64-linux-gnu/libc/usr/include/bits/syscall.h @@ -96,6 +96,7 @@ #define SYS_ioctl __NR_ioctl #define SYS_ioprio_get __NR_ioprio_get #define SYS_ioprio_set __NR_ioprio_set +#define SYS_kcmp __NR_kcmp #define SYS_kexec_load __NR_kexec_load #define SYS_keyctl __NR_keyctl #define SYS_kill __NR_kill diff --git a/aarch64-linux-gnu/libc/usr/include/drm/drm_fourcc.h b/aarch64-linux-gnu/libc/usr/include/drm/drm_fourcc.h index bdf0152..f462118 100644 --- a/aarch64-linux-gnu/libc/usr/include/drm/drm_fourcc.h +++ b/aarch64-linux-gnu/libc/usr/include/drm/drm_fourcc.h @@ -107,8 +107,7 @@ #define DRM_FORMAT_NV16 fourcc_code('N', 'V', '1', '6') /* 2x1 subsampled Cr:Cb plane */ #define DRM_FORMAT_NV61 fourcc_code('N', 'V', '6', '1') /* 2x1 subsampled Cb:Cr plane */ -/* 2 non contiguous plane YCbCr */ -#define DRM_FORMAT_NV12M fourcc_code('N', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane */ +/* special NV12 tiled format */ #define DRM_FORMAT_NV12MT fourcc_code('T', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane 64x32 macroblocks */ /* @@ -131,7 +130,4 @@ #define DRM_FORMAT_YUV444 fourcc_code('Y', 'U', '2', '4') /* non-subsampled Cb (1) and Cr (2) planes */ #define DRM_FORMAT_YVU444 fourcc_code('Y', 'V', '2', '4') /* non-subsampled Cr (1) and Cb (2) planes */ -/* 3 non contiguous plane YCbCr */ -#define DRM_FORMAT_YUV420M fourcc_code('Y', 'M', '1', '2') /* 2x2 subsampled Cb (1) and Cr (2) planes */ - #endif /* DRM_FOURCC_H */ diff --git a/aarch64-linux-gnu/libc/usr/include/drm/drm_mode.h b/aarch64-linux-gnu/libc/usr/include/drm/drm_mode.h index 5581980..3d6301b 100644 --- a/aarch64-linux-gnu/libc/usr/include/drm/drm_mode.h +++ b/aarch64-linux-gnu/libc/usr/include/drm/drm_mode.h @@ -359,8 +359,9 @@ struct drm_mode_mode_cmd { struct drm_mode_modeinfo mode; }; -#define DRM_MODE_CURSOR_BO (1<<0) -#define DRM_MODE_CURSOR_MOVE (1<<1) +#define DRM_MODE_CURSOR_BO 0x01 +#define DRM_MODE_CURSOR_MOVE 0x02 +#define DRM_MODE_CURSOR_FLAGS 0x03 /* * depending on the value in flags different members are used. diff --git a/aarch64-linux-gnu/libc/usr/include/linux/elf.h b/aarch64-linux-gnu/libc/usr/include/linux/elf.h index d739b23..07d395d 100644 --- a/aarch64-linux-gnu/libc/usr/include/linux/elf.h +++ b/aarch64-linux-gnu/libc/usr/include/linux/elf.h @@ -385,6 +385,9 @@ typedef struct elf64_shdr { #define NT_S390_LAST_BREAK 0x306 /* s390 breaking event address */ #define NT_S390_SYSTEM_CALL 0x307 /* s390 system call restart data */ #define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */ +#define NT_ARM_TLS 0x401 /* ARM TLS register */ +#define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */ +#define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */ /* Note header in a PT_NOTE section */ diff --git a/aarch64-linux-gnu/libc/usr/include/linux/perf_event.h b/aarch64-linux-gnu/libc/usr/include/linux/perf_event.h index 17bedc8..f5be65b 100644 --- a/aarch64-linux-gnu/libc/usr/include/linux/perf_event.h +++ b/aarch64-linux-gnu/libc/usr/include/linux/perf_event.h @@ -274,6 +274,8 @@ struct perf_event_attr { __u64 branch_sample_type; /* enum branch_sample_type */ }; +#define perf_flags(attr) (*(&(attr)->read_format + 1)) + /* * Ioctls that can be done on a perf event fd: */ diff --git a/aarch64-linux-gnu/libc/usr/include/linux/xfrm.h b/aarch64-linux-gnu/libc/usr/include/linux/xfrm.h index 0aa3805..1ef80ef 100644 --- a/aarch64-linux-gnu/libc/usr/include/linux/xfrm.h +++ b/aarch64-linux-gnu/libc/usr/include/linux/xfrm.h @@ -84,6 +84,8 @@ struct xfrm_replay_state { __u32 bitmap; }; +#define XFRMA_REPLAY_ESN_MAX 4096 + struct xfrm_replay_state_esn { unsigned int bmp_len; __u32 oseq; diff --git a/aarch64-linux-gnu/libc/usr/include/sys/procfs.h b/aarch64-linux-gnu/libc/usr/include/sys/procfs.h index 16588b1..466d272 100644 --- a/aarch64-linux-gnu/libc/usr/include/sys/procfs.h +++ b/aarch64-linux-gnu/libc/usr/include/sys/procfs.h @@ -37,12 +37,7 @@ definitions in sys/ptrace.h Hence the undef's below. */ #include <asm/ptrace.h> -#undef PTRACE_GETREGS -#undef PTRACE_SETREGS -#undef PTRACE_GETFPREGS -#undef PTRACE_SETFPREGS #undef PTRACE_GET_THREAD_AREA -#undef PTRACE_SET_SYSCALL #undef PTRACE_GETHBPREGS #undef PTRACE_SETHBPREGS diff --git a/aarch64-linux-gnu/libc/usr/include/sys/ptrace.h b/aarch64-linux-gnu/libc/usr/include/sys/ptrace.h index eadb4d0..c9ab292 100644 --- a/aarch64-linux-gnu/libc/usr/include/sys/ptrace.h +++ b/aarch64-linux-gnu/libc/usr/include/sys/ptrace.h @@ -1,5 +1,5 @@ /* `ptrace' debugger support interface. Linux version. - Copyright (C) 1996-1999,2000,2006,2007,2011 Free Software Foundation, Inc. + Copyright (C) 1996-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -64,31 +64,10 @@ enum __ptrace_request PTRACE_KILL = 8, #define PT_KILL PTRACE_KILL - /* Single step the process. - This is not supported on all machines. */ + /* Single step the process. */ PTRACE_SINGLESTEP = 9, #define PT_STEP PTRACE_SINGLESTEP - /* Get all general purpose registers used by a processes. - This is not supported on all machines. */ - PTRACE_GETREGS = 12, -#define PT_GETREGS PTRACE_GETREGS - - /* Set all general purpose registers used by a processes. - This is not supported on all machines. */ - PTRACE_SETREGS = 13, -#define PT_SETREGS PTRACE_SETREGS - - /* Get all floating point registers used by a processes. - This is not supported on all machines. */ - PTRACE_GETFPREGS = 14, -#define PT_GETFPREGS PTRACE_GETFPREGS - - /* Set all floating point registers used by a processes. - This is not supported on all machines. */ - PTRACE_SETFPREGS = 15, -#define PT_SETFPREGS PTRACE_SETFPREGS - /* Attach to a process that is already running. */ PTRACE_ATTACH = 16, #define PT_ATTACH PTRACE_ATTACH @@ -97,20 +76,18 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH - /* Get all extended floating point registers used by a processes. - This is not supported on all machines. */ - PTRACE_GETFPXREGS = 18, -#define PT_GETFPXREGS PTRACE_GETFPXREGS - - /* Set all extended floating point registers used by a processes. - This is not supported on all machines. */ - PTRACE_SETFPXREGS = 19, -#define PT_SETFPXREGS PTRACE_SETFPXREGS + PTRACE_GET_THREAD_AREA = 22, /* Continue and stop at the next (return from) syscall. */ PTRACE_SYSCALL = 24, #define PT_SYSCALL PTRACE_SYSCALL + /* Get all hardware breakpoint registers. */ + PTRACE_GETHBPREGS = 29, + + /* Set all hardware breakpoint registers. */ + PTRACE_SETHBPREGS = 30, + /* Set ptrace filter options. */ PTRACE_SETOPTIONS = 0x4200, #define PT_SETOPTIONS PTRACE_SETOPTIONS @@ -140,7 +117,7 @@ enum __ptrace_request PTRACE_SEIZE = 0x4206, #define PTRACE_SEIZE PTRACE_SEIZE - /* Trap seized tracee. */ + /* Trap seized trace. */ PTRACE_INTERRUPT = 0x4207, #define PTRACE_INTERRUPT PTRACE_INTERRUPT @@ -165,7 +142,8 @@ enum __ptrace_setoptions PTRACE_O_TRACEEXEC = 0x00000010, PTRACE_O_TRACEVFORKDONE = 0x00000020, PTRACE_O_TRACEEXIT = 0x00000040, - PTRACE_O_MASK = 0x0000007f + PTRACE_O_TRACESECCOMP = 0x00000080, + PTRACE_O_MASK = 0x000000ff }; /* Wait extended result codes for the above trace options. */ @@ -176,7 +154,8 @@ enum __ptrace_eventcodes PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, - PTRACE_EVENT_EXIT = 6 + PTRACE_EVENT_EXIT = 6, + PTRACE_EVENT_SECCOMP = 7 }; /* Perform process tracing functions. REQUEST is one of the values diff --git a/aarch64-linux-gnu/libc/usr/include/sys/types.h b/aarch64-linux-gnu/libc/usr/include/sys/types.h index c5e1290..36d1581 100644 --- a/aarch64-linux-gnu/libc/usr/include/sys/types.h +++ b/aarch64-linux-gnu/libc/usr/include/sys/types.h @@ -113,7 +113,10 @@ typedef __ssize_t ssize_t; #ifdef __USE_BSD # ifndef __daddr_t_defined typedef __daddr_t daddr_t; +# if ! defined(caddr_t) && ! defined(__caddr_t_defined) typedef __caddr_t caddr_t; +# define __caddr_t_defined +# endif # define __daddr_t_defined # endif #endif diff --git a/aarch64-linux-gnu/libc/usr/include/sys/user.h b/aarch64-linux-gnu/libc/usr/include/sys/user.h index bca7d31..6d84679 100644 --- a/aarch64-linux-gnu/libc/usr/include/sys/user.h +++ b/aarch64-linux-gnu/libc/usr/include/sys/user.h @@ -1,17 +1,30 @@ +/* Copyright (C) 2009-2012 Free Software Foundation, Inc. + + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + #ifndef _SYS_USER_H #define _SYS_USER_H 1 /* We need to see the definition of struct pt_regs but do not want the - linux PTRACE_* defines since they conflict with the generic eglibc + linux PTRACE_* defines since they conflict with the generic glibc definitions in sys/ptrace.h Hence the undef's below. */ #include <asm/ptrace.h> -#undef PTRACE_GETREGS -#undef PTRACE_SETREGS -#undef PTRACE_GETFPREGS -#undef PTRACE_SETFPREGS #undef PTRACE_GET_THREAD_AREA -#undef PTRACE_SET_SYSCALL #undef PTRACE_GETHBPREGS #undef PTRACE_SETHBPREGS |