code: func getCgroupPath(cgroupPath string) (string, error) {
  	cgroupPath = libcontainerutils.CleanPath(cgroupPath)
  
  	mnt, root, err := libcontainercgroups.FindCgroupMountpointAndRoot("devices")
  	// If we didn't mount the subsystem, there is no point we make the path.
  	if err != nil {
  		return "", err
  	}
  
  	// If the cgroup name/path is absolute do not look relative to the cgroup of the init process.
  	if filepath.IsAbs(cgroupPath) {
  		// Sometimes subsystems can be mounted together as 'cpu,cpuacct'.
  		return filepath.Join(root, mnt, cgroupPath), nil
  	}
  
  	parentPath, err := getCgroupParentPath(mnt, root)
  	if err != nil {
  		return "", err
  	}
  
  	return filepath.Join(parentPath, cgroupPath), nil
  }
docs: // getCgroupPath gets the file path to the "devices" subsystem of the desired cgroup.
  // cgroupPath is the path in the cgroup hierarchy.