Home
last modified time | relevance | path

Searched refs:with (Results 1 – 25 of 60) sorted by relevance

123

/bionic/docs/
DREADME.md9 and what changed with each OS release.
12 and how can code deal with it?
23 If you're trying to make changes to bionic _itself_, start with the
29 how does `_FORTIFY_SOURCE` work on bionic (primarily "with clang").
Dclang_fortify_anatomy.md28 - Arguments with incorrect values passed to libc functions (e.g.,
30 - Missing arguments to functions (e.g., `open()` with `O_CREAT`, but no mode
37 are [incompatible with stricter versions of FORTIFY checking]. This is largely
46 Many FORTIFY implementations are implicitly disabled when building with `-O0`,
50 being built with some optimization level > `-O0`.
105 make similar promises with respect to FORTIFY compiling to be zero-overhead in
119 `memcpy` call with `_FORTIFY_SOURCE` enabled needs to be able to refer to the
125 the function with `_FORTIFY_SOURCE` disabled.
127 function with `_FORTIFY_SOURCE` enabled.
150 Which is annotated with nothing special, except for Bionic's versioner, which
[all …]
DEINTR.md7 call where some data has already been read, the call can just return with
28 guarantee. If any code has installed a signal handler, you need to cope with
56 In most cases, the fix is simple: wrap the system call with the
68 TL;DR: *never* wrap close(2) calls with `TEMP_FAILURE_RETRY`.
84 System calls with timeouts are the other interesting case where "just wrap
85 everything with `TEMP_FAILURE_RETRY()`" doesn't work. Because some amount of
87 can end up with your 1 minute timeout being indefinite if you're receiving
91 fails with `EINTR`.
Delf-tls.md12 ELF TLS is a system for automatically allocating thread-local variables with cooperation among the
15 Thread-local variables are declared in C and C++ with a specifier, e.g.:
41 it can correctly relocate TLS accesses. Both variants are incompatible with Bionic's current
44 Each thread has a "Dynamic Thread Vector" (DTV) with a pointer to each module's TLS block (or NULL
154 variable with a dynamic initializer has an associated TLS guard variable.)
159 object), then its offset from the TP is known at load-time. The variable can be accessed with a few
174 // allocated in the .got, resolved at load-time with a dynamic reloc.
201 * Code compiled with `-fpic` could be in a shared object, so use GD/LD.
202 * The per-file default can be overridden with `-ftls-model=<model>`.
204 * A variable can be annotated with `__attribute__((tls_model(...)))`. Clang may still use a more
[all …]
Ddefines.md32 that for most of the year, the OS builds with this set to 10,000 rather than the
53 If your code can be built with a variety of different NDK versions, and needs to
54 work around issues with some of them, use these macros to detect the versinon of
55 the NDK you're being built with. Usually only `__NDK_MAJOR__` will be necessary.
72 on such systems, with `long long` being needed for a 64-bit type).
Dfdsan.md12 …rs, on the other hand, are mandated by the POSIX standard to be allocated with the lowest availabl…
47 …n be associated with a unique owner which is responsible for their closure. fdsan provides functio…
51 If a file descriptor that's been marked with a tag is closed with an incorrect tag, or without a ta…
59 …r, emit a warning to logcat, generate a tombstone, and then continue execution with fdsan disabled.
67 …s proportional to the percentage of file descriptors in your process that are tagged with an owner.
140 …t for us. Let's use `android::base::unique_fd` in `victim` to guard the file descriptor with fdsan:
162 Now that we've guarded the file descriptor with fdsan, we should be able to find where the double c…
235 …close_with_tag` closes a file descriptor with its tag. In the `<android/fdsan.h>` header, these ar…
242 * Redistribution and use in source and binary forms, with or without
249 * the documentation and/or other materials provided with the
[all …]
Dstatus.md13 You can see the current status with respect to POSIX in the form of tests:
17 is guarded with tests for `__linux__`. Other functionality is not
18 supported by bionic or glibc, and guarded with tests for `__BIONIC__`
20 bionic diverged but 64-bit bionic matches POSIX; these are guarded with
90 scanf/wscanf family, and `0b` prefixes with base 0 in the strtol/wcstol
130 * `popen` now always uses `O_CLOEXEC`, not just with the `e` extension.
133 * Using `%n` with the printf family is now reported as a FORTIFY failure.
336 API levels will just have the function fail with EBUSY (matching the likely
346 `pthread_t`, if you're targeting API level 26 or above, they'll abort with the
358 along with its stack, so the dereference isn't safe.
[all …]
/bionic/benchmarks/
DNOTICE4 you may not use this file except in compliance with the License.
20 you may not use this file except in compliance with the License.
36 you may not use this file except in compliance with the License.
52 you may not use this file except in compliance with the License.
68 you may not use this file except in compliance with the License.
84 Redistribution and use in source and binary forms, with or without
91 the documentation and/or other materials provided with the
112 you may not use this file except in compliance with the License.
128 Redistribution and use in source and binary forms, with or without
135 the documentation and/or other materials provided with the
[all …]
DAndroid.bp5 // you may not use this file except in compliance with the License.
95 // Build benchmarks for the device (with bionic's .so). Run with:
125 // Build benchmarks for the host (against glibc!). Run with:
/bionic/tests/
DNOTICE4 you may not use this file except in compliance with the License.
20 you may not use this file except in compliance with the License.
36 Redistribution and use in source and binary forms, with or without
43 the documentation and/or other materials provided with the
64 you may not use this file except in compliance with the License.
80 you may not use this file except in compliance with the License.
96 Redistribution and use in source and binary forms, with or without
103 the documentation and/or other materials provided with the
124 you may not use this file except in compliance with the License.
140 Redistribution and use in source and binary forms, with or without
[all …]
/bionic/linker/
DNOTICE4 Redistribution and use in source and binary forms, with or without
11 the documentation and/or other materials provided with the
32 Redistribution and use in source and binary forms, with or without
39 the documentation and/or other materials provided with the
60 Redistribution and use in source and binary forms, with or without
67 the documentation and/or other materials provided with the
88 Redistribution and use in source and binary forms, with or without
95 the documentation and/or other materials provided with the
116 Redistribution and use in source and binary forms, with or without
123 the documentation and/or other materials provided with the
[all …]
Dld.config.format.md22 Every section starts with `[section_name]` (which is used in mappings) and it defines namespaces
46 # Each namespace property starts with "namespace.<namespace-name>" The following is configuration
52 # Default namespace search path. Note that ${LIB} here is substituted with "lib" for 32bit targets
53 # and with "lib64" for 64bit ones.
/bionic/tests/libs/
Dsegment_gap_outer.lds2 # This starts off fairly normal: rodata, text, dynamic, data, bss with
15 # merging .bss with .custom_bss.
/bionic/libm/
DNOTICE137 written by Steven G. Kargl with input from Bruce D. Evans
173 you may not use this file except in compliance with the License.
189 Redistribution and use in source and binary forms, with or without
196 documentation and/or other materials provided with the distribution.
215 you may not use this file except in compliance with the License.
231 Redistribution and use in source and binary forms, with or without
238 the documentation and/or other materials provided with the
259 Redistribution and use in source and binary forms, with or without
266 the documentation and/or other materials provided with the
287 Redistribution and use in source and binary forms, with or without
[all …]
/bionic/libc/malloc_debug/
DREADME_marshmallow_and_earlier.md66 Whenever an allocation is created, initialize the data with a known
75 This value enables everything enabled with value 1 plus these other options.
79 a front guard). This buffer is filled with the pattern (0xaa). In addition,
81 as a rear guard). This buffer is filled with the pattern (0xbb).
89 entire allocation is filled with the value 0xef, and the backtrace at
90 the time of the free is recorded. As with the backtrace on allocation,
95 If the entire allocation is not filled with this value, an error is printed
112 cause malloc debug to only be used on processes with that name. For example,
/bionic/benchmarks/linker_relocation/
DAndroid.bp4 // Redistribution and use in source and binary forms, with or without
11 // the documentation and/or other materials provided with the
38 // TODO: This benchmark doesn't work with TradeFed/atest because it doesn't copy its test libraries
43 // work with TradeFed/atest.
DREADME.md4 of shared objects with many symbols and relocations. It mimics the work involved
24 - with `--ninja`: generate a build.ninja instead, and build a set of ELF file
/bionic/libc/
DNOTICE4 Redistribution and use in source and binary forms, with or without
11 documentation and/or other materials provided with the distribution.
31 Redistribution and use in source and binary forms, with or without
37 documentation and/or other materials provided with the distribution.
69 Redistribution and use in source and binary forms, with or without
76 documentation and/or other materials provided with the distribution.
99 purpose with or without fee is hereby granted, provided that the above
116 purpose with or without fee is hereby granted, provided that the above
132 you may not use this file except in compliance with the License.
148 Redistribution and use in source and binary forms, with or without
[all …]
/bionic/libfdtrack/
DNOTICE4 Redistribution and use in source and binary forms, with or without
11 the documentation and/or other materials provided with the
32 Redistribution and use in source and binary forms, with or without
39 the documentation and/or other materials provided with the
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/
Dip6t_REJECT.h22 __u32 with; member
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
Dipt_REJECT.h21 enum ipt_reject_with with; member
/bionic/libdl/
DNOTICE4 you may not use this file except in compliance with the License.
20 you may not use this file except in compliance with the License.
/bionic/tools/
DNOTICE4 you may not use this file except in compliance with the License.
20 you may not use this file except in compliance with the License.
/bionic/
Dandroid-changes-for-ndk-developers.md21 Our general practice with dynamic linker behavior changes is that they
72 executable, LD_PRELOAD libraries, and any library with the DF_1_GLOBAL
100 The GNU hash style available with `--hash-style=gnu` allows faster
152 "my_zip_file.zip!/libs/libstuff.so". As with APKs, the library must be
175 we allowed access to these libraries for apps with a target API level < 24.
235 Apps with a target API level >= 23 cannot load shared objects that contain text
251 check with readelf instead. Look for either a TEXTREL entry or the
263 Note: it is technically possible to have a shared object with the TEXTREL
265 with the NDK, but if you're generating ELF files yourself make sure
272 level 23 and above refuses to load code with text relocations.
[all …]
/bionic/apex/
DNOTICE18 control with that entity. For the purposes of this definition,
82 with the Work to which such Contribution(s) was submitted. If You
91 Work or Derivative Works thereof in any medium, with or without
114 documentation, if provided along with the Derivative Works; or,
128 reproduction, and distribution of the Work otherwise complies with
137 with Licensor regarding such Contributions.
152 risks associated with Your exercise of permissions under this License.
169 or other liability obligations and/or rights consistent with this
182 boilerplate notice, with the fields enclosed by brackets "[]"
183 replaced with your own identifying information. (Don't include
[all …]

123