Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
{
int ret;
bool namespaces;
+ uint64_t kdbus_param_mask;
static char fspath[4096], parampath[4096];
namespaces = (kdbus_args->mntns || kdbus_args->pidns ||
kdbus_args->module);
kdbus_args->mask_param_path = parampath;
+ ret = kdbus_sysfs_get_parameter_mask(kdbus_args->mask_param_path,
+ &kdbus_param_mask);
+ if (ret < 0)
+ return TEST_ERR;
+
+ printf("# Starting tests with an attach_flags_mask=0x%llx\n",
+ (unsigned long long)kdbus_param_mask);
+
/* Start tests */
if (namespaces)
ret = run_tests_in_namespaces(kdbus_args);