Lines Matching refs:in

3 // found in the LICENSE file.
36 * By default, the RELRO section is backed by private RAM in each process,
54 * those from some system libraries, but these are very few in practice.
64 * Not using fixed library addresses in the browser process is preferred
71 * content, altering values seen in other service processes.
81 * file descriptor is kept opened in the browser process, because a copy needs
88 * - When loading several libraries in service processes, a simple incremental
118 * used in this process.
120 * - The browser is in charge of deciding where in memory each library should
122 * ChromiumLinkerParams.java in content for a helper class to do so).
125 * More specifically, by default when in the browser process, the linker
130 * in service processes.
141 * - Once all libraries are loaded in the browser process, one can call
198 // Set to true if this runs in the browser process. Disabled by initServiceProcess().
201 // Becomes true to indicate this process needs to wait for a shared RELRO in
209 // The map of all RELRO sections either created or used in this process.
258 Log.w(TAG, "Low-memory device: shared RELROs used in all processes");
261 Log.w(TAG, "Beware: shared RELROs used in all processes!");
310 // Ignore this in production code to prevent malvolent runtime injection.
370 // At the moment, there is also no point in using this linker if the
396 * Call this method just before loading any native shared libraries in this process.
405 // as creation of shared RELRO sections in this process.
412 * Call this method just after loading all native shared libraries in this process.
413 * Note that when in a service process, this will block until the RELRO bundle is
476 Log.wtf(TAG, "Linker runtime tests failed in this process!!");
489 * used in this process. If initServiceProcess() was previously called,
490 * finishLibraryLoad() will not exit until this method is called in another
493 * to use in this process.
514 // Note that in certain cases, this can be called before
515 // initServiceProcess() in service processes.
517 // Tell any listener blocked in finishLibraryLoad() about it.
523 * Call this to retrieve the shared RELRO sections created in this process,
536 // Return the Bundle created in finishLibraryLoad().
581 * This also enforces the creation of shared RELRO sections in
590 Log.w(TAG, "Shared RELRO sections are disabled in this process!");
637 // because if, worst case and unlikely, we get unlucky in our choice of address,
638 // the back-out and retry without the shared RELRO in the ChildProcessService will
658 * @param bundle Bundle instance generated with createSharedRelroBundle() in
715 * so you can only open one library in a given zip file.
739 // in the final .apk don't need to be explicitly loaded.
752 // that wrap all calls to loadLibrary() in the library loader.
777 "Unable to load library: " + libName + " in: " +
898 * used to load the library in the current process!
918 * have a bug in the way they check Ashmem region protection flags, which
931 * @param sizeBytes Size of area in bytes to search for.
964 public LibInfo(Parcel in) {
965 mLoadAddress = in.readLong();
966 mLoadSize = in.readLong();
967 mRelroStart = in.readLong();
968 mRelroSize = in.readLong();
969 ParcelFileDescriptor fd = in.readFileDescriptor();
1002 public LibInfo createFromParcel(Parcel in) {
1003 return new LibInfo(in);
1030 public long mRelroStart; // page-aligned address in memory, or 0 if none.
1032 public long mRelroSize; // page-aligned size in memory, or 0.
1064 // The map of libraries that are currently loaded in this process.