Merge "Zygote: Fix dropping capabilities in containers"
This commit is contained in:
@@ -721,7 +721,8 @@ public class ZygoteInit {
|
|||||||
} catch (ErrnoException ex) {
|
} catch (ErrnoException ex) {
|
||||||
throw new RuntimeException("Failed to capget()", 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 */
|
/* Hardcoded command line to start the system server */
|
||||||
String[] args = {
|
String[] args = {
|
||||||
|
|||||||
Reference in New Issue
Block a user