Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed2d80b2 authored by Martijn Coenen's avatar Martijn Coenen Committed by Automerger Merge Worker
Browse files

Merge "Zygote: Fix dropping capabilities in containers" am: 71757726 am:...

Merge "Zygote: Fix dropping capabilities in containers" am: 71757726 am: 03c4abdb am: 46a35810 am: 01a79642

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2483735



Change-Id: I2660c188fd83aa12165bd7427e38da2c8baa134c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 51445c76 01a79642
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -721,7 +721,8 @@ public class ZygoteInit {
        } catch (ErrnoException ex) {
            throw new RuntimeException("Failed to capget()", ex);
        }
        capabilities &= ((long) data[0].effective) | (((long) data[1].effective) << 32);
        capabilities &= Integer.toUnsignedLong(data[0].effective) |
                (Integer.toUnsignedLong(data[1].effective) << 32);

        /* Hardcoded command line to start the system server */
        String[] args = {