Lines Matching refs:grubsign
7659 char *grubsign; /* (<sign>,#,#) */
7678 BAM_DPRINTF(("%s: no existing grubsign for %s: %s\n",
7723 grubsign = s_calloc(1, MAXNAMELEN + 10);
7725 (void) snprintf(grubsign, MAXNAMELEN + 10, "(%s,%d,%c)",
7728 (void) snprintf(grubsign, MAXNAMELEN + 10, "(%s,%d)",
7733 BAM_DPRINTF(("%s: successfully created grubsign %s\n", fcn, grubsign));
7735 return (grubsign);
8793 char *grubsign;
8817 grubsign = get_grubsign(osroot, osdev);
8818 INJECT_ERROR1("GET_GRUBSIGN_FAIL", grubsign = NULL);
8819 if (grubsign == NULL) {
8820 bam_error(_("failed to get grubsign for root: %s, device %s\n"),
8844 entry = update_boot_entry(mp, title, grubsign, grubroot,
8849 "grubsign = %s\n", fcn, bam_zfs, grubsign));
8851 (void) update_boot_entry(mp, NEW_HV_ENTRY, grubsign,
8857 "grubsign = %s\n", fcn, bam_zfs, grubsign));
8860 entry = update_boot_entry(mp, title, grubsign, grubroot,
8864 BAM_DPRINTF(("%s: updated MULTIBOOT entry grubsign = %s\n",
8865 fcn, grubsign));
8901 (void) update_boot_entry(mp, FAILSAFE_TITLE, grubsign,
8913 "signature=%s\n"), title, grubsign);
8914 free(grubsign);
8917 free(grubsign);