Searched refs:with (Results 1 – 25 of 60) sorted by relevance
123
9 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 the29 how does `_FORTIFY_SOURCE` work on bionic (primarily "with clang").
28 - Arguments with incorrect values passed to libc functions (e.g.,30 - Missing arguments to functions (e.g., `open()` with `O_CREAT`, but no mode37 are [incompatible with stricter versions of FORTIFY checking]. This is largely46 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 in119 `memcpy` call with `_FORTIFY_SOURCE` enabled needs to be able to refer to the125 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 …]
7 call where some data has already been read, the call can just return with28 guarantee. If any code has installed a signal handler, you need to cope with56 In most cases, the fix is simple: wrap the system call with the68 TL;DR: *never* wrap close(2) calls with `TEMP_FAILURE_RETRY`.84 System calls with timeouts are the other interesting case where "just wrap85 everything with `TEMP_FAILURE_RETRY()`" doesn't work. Because some amount of87 can end up with your 1 minute timeout being indefinite if you're receiving91 fails with `EINTR`.
12 ELF TLS is a system for automatically allocating thread-local variables with cooperation among the15 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 current44 Each thread has a "Dynamic Thread Vector" (DTV) with a pointer to each module's TLS block (or NULL154 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 few174 // 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 …]
32 that for most of the year, the OS builds with this set to 10,000 rather than the53 If your code can be built with a variety of different NDK versions, and needs to54 work around issues with some of them, use these macros to detect the versinon of55 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).
12 …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 without249 * the documentation and/or other materials provided with the[all …]
13 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 not18 supported by bionic or glibc, and guarded with tests for `__BIONIC__`20 bionic diverged but 64-bit bionic matches POSIX; these are guarded with90 scanf/wscanf family, and `0b` prefixes with base 0 in the strtol/wcstol130 * `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 likely346 `pthread_t`, if you're targeting API level 26 or above, they'll abort with the358 along with its stack, so the dereference isn't safe.[all …]
4 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 without91 the documentation and/or other materials provided with the112 you may not use this file except in compliance with the License.128 Redistribution and use in source and binary forms, with or without135 the documentation and/or other materials provided with the[all …]
5 // 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:
4 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 without43 the documentation and/or other materials provided with the64 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 without103 the documentation and/or other materials provided with the124 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 …]
4 Redistribution and use in source and binary forms, with or without11 the documentation and/or other materials provided with the32 Redistribution and use in source and binary forms, with or without39 the documentation and/or other materials provided with the60 Redistribution and use in source and binary forms, with or without67 the documentation and/or other materials provided with the88 Redistribution and use in source and binary forms, with or without95 the documentation and/or other materials provided with the116 Redistribution and use in source and binary forms, with or without123 the documentation and/or other materials provided with the[all …]
22 Every section starts with `[section_name]` (which is used in mappings) and it defines namespaces46 # Each namespace property starts with "namespace.<namespace-name>" The following is configuration52 # Default namespace search path. Note that ${LIB} here is substituted with "lib" for 32bit targets53 # and with "lib64" for 64bit ones.
2 # This starts off fairly normal: rodata, text, dynamic, data, bss with15 # merging .bss with .custom_bss.
137 written by Steven G. Kargl with input from Bruce D. Evans173 you may not use this file except in compliance with the License.189 Redistribution and use in source and binary forms, with or without196 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 without238 the documentation and/or other materials provided with the259 Redistribution and use in source and binary forms, with or without266 the documentation and/or other materials provided with the287 Redistribution and use in source and binary forms, with or without[all …]
66 Whenever an allocation is created, initialize the data with a known75 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 at90 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 printed112 cause malloc debug to only be used on processes with that name. For example,
4 // Redistribution and use in source and binary forms, with or without11 // the documentation and/or other materials provided with the38 // TODO: This benchmark doesn't work with TradeFed/atest because it doesn't copy its test libraries43 // work with TradeFed/atest.
4 of shared objects with many symbols and relocations. It mimics the work involved24 - with `--ninja`: generate a build.ninja instead, and build a set of ELF file
4 Redistribution and use in source and binary forms, with or without11 documentation and/or other materials provided with the distribution.31 Redistribution and use in source and binary forms, with or without37 documentation and/or other materials provided with the distribution.69 Redistribution and use in source and binary forms, with or without76 documentation and/or other materials provided with the distribution.99 purpose with or without fee is hereby granted, provided that the above116 purpose with or without fee is hereby granted, provided that the above132 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 …]
4 Redistribution and use in source and binary forms, with or without11 the documentation and/or other materials provided with the32 Redistribution and use in source and binary forms, with or without39 the documentation and/or other materials provided with the
22 __u32 with; member
21 enum ipt_reject_with with; member
4 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.
21 Our general practice with dynamic linker behavior changes is that they72 executable, LD_PRELOAD libraries, and any library with the DF_1_GLOBAL100 The GNU hash style available with `--hash-style=gnu` allows faster152 "my_zip_file.zip!/libs/libstuff.so". As with APKs, the library must be175 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 text251 check with readelf instead. Look for either a TEXTREL entry or the263 Note: it is technically possible to have a shared object with the TEXTREL265 with the NDK, but if you're generating ELF files yourself make sure272 level 23 and above refuses to load code with text relocations.[all …]
18 control with that entity. For the purposes of this definition,82 with the Work to which such Contribution(s) was submitted. If You91 Work or Derivative Works thereof in any medium, with or without114 documentation, if provided along with the Derivative Works; or,128 reproduction, and distribution of the Work otherwise complies with137 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 this182 boilerplate notice, with the fields enclosed by brackets "[]"183 replaced with your own identifying information. (Don't include[all …]