This capability is used to open a packet connection, needed by
do_dhcp -> dhcp_init_ifc -> open_raw_socket in libnetutils.
Change-Id: Ib9fcabccea0bef551f93edf6d7f58f31ca748763
struct __user_cap_data_struct cap;
header.version = _LINUX_CAPABILITY_VERSION;
header.pid = 0;
- cap.effective = cap.permitted = 1 << CAP_NET_ADMIN;
+ cap.effective = cap.permitted = (1 << CAP_NET_ADMIN) | (1 << CAP_NET_RAW);
cap.inheritable = 0;
capset(&header, &cap);
}