Home
last modified time | relevance | path

Searched refs:group_path (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dcontainer.c928 char *tmp, group_path[PATH_MAX]; in vfio_device_get_groupid() local
934 len = readlink(tmp, group_path, sizeof(group_path)); in vfio_device_get_groupid()
937 if (len <= 0 || len >= sizeof(group_path)) { in vfio_device_get_groupid()
943 group_path[len] = 0; in vfio_device_get_groupid()
945 group_name = g_path_get_basename(group_path); in vfio_device_get_groupid()
947 error_setg_errno(errp, errno, "failed to read %s", group_path); in vfio_device_get_groupid()
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c512 char group_path[PATH_MAX]; in main() local
575 sprintf(group_path, "%s/etc/group", rootdir); in main()
580 if ((group_file = fopen(group_path, "r")) != NULL) { in main()