History log of /bionic/tools/versioner/current/sys/ucontext.h
Revision Date Author Comments
16016df79f846d6d21266c3b1dce1e7c24dc4be1 08-Nov-2016 Josh Gao <jmgao@google.com> versioner: refactor to use CompilerInstance directly.

This will make it easier to switch over to a virtual filesystem,
which should drastically improve performance.

This also fixes an issue with warning/error reporting.

Bug: http://b/32748936
Test: python run_tests.py
Change-Id: I2e967acf75db29c95f3a03f4f94cccd22c367ad5
203e13d97de840e01eded6a267fef9f245cf3a15 22-Jul-2016 Elliott Hughes <enh@google.com> Always include <sys/cdefs.h>.

I made a mistake caught by code review earlier, so let's try to be
safer by default.

This patch also moves all our "forwarding" headers to the guardless
just-include-the-other-thing style that we usually use. (Where we
have a comment explaining where the header comes from, I've kept
that.)

Change-Id: I37342cf5e2563c6a269b2ba61a697069b1c7913b
3ba55f8022f3d5c5ca94a3df46fa658eda791987 09-Jun-2016 Elliott Hughes <enh@google.com> Rationalize visibility.

If it's C or POSIX, it's in. If it's BSD or GNU, it's guarded by __USE_BSD
or __USE_GNU.

Bug: https://code.google.com/p/android/issues/detail?id=194631
Change-Id: Ife51a21c2b37b060db56780d29c929805b199cb6
03f22465ae3106517c5852f1904f44eb937ccbbf 25-Aug-2015 Elliott Hughes <enh@google.com> Add the missing aarch64 user structs.

Bug: http://b/23377194
Change-Id: I7d36717e129d2e044dc2cf24de4227c3bcdd60ce
f1c85411a8edd71366d723bc297d49a52112cb74 16-Jun-2015 Elliott Hughes <enh@google.com> Avoid name collision with user_fpsimd_state in <asm/ptrace.h>.

We don't want to use <asm/ptrace.h> because (a) it'll drag in a bunch of
namespace pollution and (b) the registers should be "long double" for
userspace, not the kernel's uint128s. So just use a slightly different
name for our struct (which matches the traditional names for these structs
anyway).

Bug: http://b/21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: I8812ca98cfe6b649dbd31f7d6aea41928ba2acbd
(cherry picked from commit 0577733c2e15a4745d5c75f59e5f56dd179a4aa7)
0577733c2e15a4745d5c75f59e5f56dd179a4aa7 16-Jun-2015 Elliott Hughes <enh@google.com> Avoid name collision with user_fpsimd_state in <asm/ptrace.h>.

We don't want to use <asm/ptrace.h> because (a) it'll drag in a bunch of
namespace pollution and (b) the registers should be "long double" for
userspace, not the kernel's uint128s. So just use a slightly different
name for our struct (which matches the traditional names for these structs
anyway).

Bug: http://b/21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: I8812ca98cfe6b649dbd31f7d6aea41928ba2acbd
cce405a134c338ff6b76c56aafe02ef73c93a38c 04-Mar-2015 Dan Albert <danalbert@google.com> Add a sys/procfs.h.

Needed for building gdbserver out of the box.

Bug: http://b/21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: Ieadda2b595f08bfddfa61fcd68006b8e7c1a438d
(cherry picked from commit bf18c61798d1ae9197ae087ed85e94eef55e8678)
bf18c61798d1ae9197ae087ed85e94eef55e8678 04-Mar-2015 Dan Albert <danalbert@google.com> Add a sys/procfs.h.

Needed for building gdbserver out of the box.

Bug: http://b/21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: Ieadda2b595f08bfddfa61fcd68006b8e7c1a438d
e247e1c89e068f5c1e1d235157d7f60c50c67d0c 05-Jan-2015 Faraz Shahbazker <faraz.shahbazker@imgtec.com> [MIPS64] Add correct mcontext_t for 64-bit MIPS

Change-Id: I76d503860d0e1d937b6913bf2c1c6ebb531617da
d0fb6a2940a43122f193be156ddff28c377e5163 19-Sep-2014 Elliott Hughes <enh@google.com> Add greg_t for arm64.

This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).

(cherry picked from commit 8e4d371091e5738346f5c6ad395b8487c2a5ec67)

Bug: 18172268
Change-Id: I22d13fdeb6431ea122dd028a229782dcaf2286b2
ab4d5cf24220f3b5d8f53b2b3bd635f23dcc9bc5 13-Sep-2014 Elliott Hughes <enh@google.com> POSIX says <signal.h> gets you ucontext_t.

POSIX also says that ucontext_t's uc_sigmask has type sigset_t.

MIPS64 strace needs this.

The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.

(cherry picked from commit 26a8eb50a84e131d34d10d5d167d67e9995399bd)

Bug: 18172268
Change-Id: I49d7d09dabfc6c6926a8e1f4b235d041e2f2fc4d
8e4d371091e5738346f5c6ad395b8487c2a5ec67 19-Sep-2014 Elliott Hughes <enh@google.com> Add greg_t for arm64.

This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).

Change-Id: I0d47a424b505804389853dd8632693dad55a3907
26a8eb50a84e131d34d10d5d167d67e9995399bd 13-Sep-2014 Elliott Hughes <enh@google.com> POSIX says <signal.h> gets you ucontext_t.

POSIX also says that ucontext_t's uc_sigmask has type sigset_t.

MIPS64 strace needs this.

The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.

Change-Id: I765d6a765a33dca7db33cd8c40f408dc98e5c95b
bdca3802c9c9d033fbc553ed24b92ac78859a463 28-May-2014 Calin Juravle <calin@google.com> Remove unnecessary padding in ucontext_t

- removed extra padding from ucontex_t on x86, x86_64 and mips
- force ucontext_t struct to use 64 bits for the sigmask on all arches
(previsouly wrong since sigset_t on arm and x86 is only 32 bits)
- arm and arm64 continue to use padding to match glibc sigset_t

This brings Bionic on par with the kernel w.r.t ucontext padding.

Bug: 12828904
Change-Id: Ia8915ace694ecb4695603a334e697985f4c3e7aa
ae0f8f1e48a464b227fc3b68e0817a246e73db9b 20-May-2014 Calin Juravle <calin@google.com> Add padding to mips ucontext_t.

Bug: 12828904
Change-Id: I49e7adcebf769a9c30dc43def36501260369b1ac
eb454522da53759ef74180b9c623206040b17df0 20-May-2014 Calin Juravle <calin@google.com> Clean up ucontext.h TODOs.

There's no need to expose gregset_t and fpregset_t when they
are not used in ucontext_t.

Bug: 12828904
Change-Id: Ieda1edf0ab18015f444c4d385fe9c41c4544017f
0e85fb6121cf365207ee737314130a526dbe0eac 19-May-2014 Calin Juravle <calin@google.com> Add uc_regspace to arm's ucontext_t

Bug: 12828904
Bug: 12875898
Change-Id: Ic5d532bd0ef58cad9e36a99fc2995c4b069121b2
a6ab968ca0af18d84620a692f76af0d8e857c9c8 13-May-2014 Calin Juravle <calin@google.com> Fill in missing bits in x86(_64) ucontext_t

Bug: 12828904
Bug: 12875898
Change-Id: I0ec0dfe16af80bfb3153f3c3b1b3d180eff30f39
9b5b40b4dfe0e2b89dbaf2229a3737f79c81d595 15-May-2014 Andrew Hsieh <andrewhsieh@google.com> Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h

See 93e1907ae1794068c1018750603c9206cb700d1b

Change-Id: Icb207f4e17cfffdd6d37500656434adf1cc34427
c5992a036ba380f56e5be3d2d6b1abb34064b20e 09-Apr-2014 Elliott Hughes <enh@google.com> Fix mcontext_t for x86-64.

Change-Id: I1ac0e7f44bcdd06a07862993e92c3048a7474a8b
50249bca00d2c7d237e67d4d276057bb59508804 07-Apr-2014 Elliott Hughes <enh@google.com> Fix build: __unused isn't unused!

Change-Id: I57f2b755d1b2509f9c5504b12a5ff6c50b78b375
5c7bda5c612746266d8ae0d1a8240c7aee4ad9ae 07-Apr-2014 Elliott Hughes <enh@google.com> Fix aarch64 struct ucontext.

Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1
7b95807fa086174cbab146cbd7c60a6d2e386917 31-Jan-2014 Ross McIlroy <rmcilroy@google.com> Add missing ucontext_t definition to bionic for arch-arm64.

Change-Id: I1ee15230c63e00f01d2063cfffcffe7f1a1eeb6a
02c661b88384a4a0cd5dd2b32123968bd992873f 30-Jan-2014 Elliott Hughes <enh@google.com> Add mips <sys/ucontext.h>.

Change-Id: I2821f523f0c3bb4400b2ad5d36e21e5a3d6d777c
4e72fcc3c2b8bcaab653732dfd3edd137602c648 30-Jan-2014 Elliott Hughes <enh@google.com> Add arm <sys/ucontext.h>.

Change-Id: I14d435f9e3e82f77d8a7e886ff88c18f5d09d14a
677a07cb9a3f5964e9ead4d37b9f775d971c61e0 30-Jan-2014 Elliott Hughes <enh@google.com> Add x86 <sys/ucontext.h>.

Change-Id: I43e72604f7a932f134733b78094b577415a5edb7
e61d106008f7d77fa1c0de43ac27311320225135 27-Jan-2014 Pavel Chupin <pavel.v.chupin@intel.com> Add x86_64 ucontext.h for better compatibility

As suggested here: https://android-review.googlesource.com/#/c/71267/
it may be used for x86_64 libunwind enabling.

Change-Id: I21623261a48ea7099e030d33932556e294d226ff
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
c1b44ecc5385e68e81667068e03b32c2084a85b1 17-Oct-2012 David 'Digit' Turner <digit@android.com> Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"

This creates build issues in the internal Android tree.
Will investigate later.

Original patch: https://android-review.googlesource.com/#/c/38875/

Change-Id: I12c5995ebf172890051af42a5d3b31014c9c5117
c124baaf29a948fd8b93e7f1fefc20b659271026 12-Jul-2012 David 'Digit' Turner <digit@android.com> libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>

This patch updates the C library headers to provide ucontext_t
definitions for three architectures.

+ Fix <signal.h> to always define 'struct sigcontext'.

The new declarations are announced with new macros defined in
<sys/cdefs.h> in order to make it easier to adapt client code
that already defines its own, incompatible, versions of the
structures seen here.

http://code.google.com/p/android/issues/detail?id=34784

Change-Id: Ie78c48690a4ce61c50593f6c39639be7fead3596