Merge "Zygote: Fix dropping capabilities in containers"
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user