Set inheritable bit of 'CAP_MAC_ADMIN' capability upon launching web-provider
[Issue#] N/A
[Problem] WebProcess forked by web-provider cannot have CAP_MAC_ADMIN capability
[Cause] web-provider (parent process of WebProcess) did not have the inheritable bit set to '1'.
In order for WebProcess executable can have CAP_MAC_ADMIN feature,
the parent process associated with it (e.g., web-provider) also need this bit set to '1'.
[Solution] Set the inheritable bit of web-provider as soon as it is launched.
As the inheritable bit can't be set by setcap command in shell
(though, we can still set permitted/effective bits in a shell)
we set the following to /usr/app/livebox.web-provider/bin/web-provider.
in order to permit web-provider to change its inheritable capability.
# setcap cap_mac_admin,cap_setpcap=ep /usr/apps/livebox.web-provider/bin/web-provider
Change-Id: I6171a1079c23a39326944890adf0d66e01e8ed1a