Check 64-to-32-bit transition in system_server for Tagged Ptrs.
The check whether the system (kernel) supports Tagged Pointers is done in the 64-bit system server. This can spawn 32-bit apps, and we think that the app supports tagged pointers. There's no good way to check the compatibility in the child before we spawn it, so we do the next best thing. If we know the child won't support it (i.e. the child is 32-bit), we don't ask for Tagged Ptrs. Otherwise, if the parent supports tagged pointers, and there's no bitness transition, the child should also support. Bug: 153114333 Test: Build flame, launch 64-bit apps that spawns 32-bit subprocesses, verify that you get no 're-enabling tagging' messages. Test: atest CtsTaggingHostTestCases Change-Id: Ia57297f8a69aa7c9b90110c2850876f6f209cb93
Loading
Please register or sign in to comment