/* Determine whether the inheritable capabilities are limited to the old permitted set. Returns 1 if they are limited, 0 if they are not.  */
static int cap_inh_is_capped(void)
/* Determine whether the inheritable capabilities are limited to the old permitted set. Returns 1 if they are limited, 0 if they are not.  */
static int cap_inh_is_capped(void)
{
	if (cap_capable(current, current_cred(), CAP_SETPCAP,
			SECURITY_CAP_AUDIT) == 0)
		return 0;
	return 1;
}