Lines Matching full:die
9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n"
26 open FD, "objdump -h $vmlinux |" || die $vmlinux;
28 close(FD) || die $vmlinux;
57 open FD, "nm $vmlinux 2>/dev/null |" || die $vmlinux;
59 close(FD) || die $vmlinux;
83 open FD, "<$sysmap" || die $sysmap;
85 close(FD) || die $sysmap;
89 die "No symbols available\n"
94 die "Can't find system certificate list"
103 open FD, "<$vmlinux" || die $vmlinux;
117 die "Certificate list size was not found on the same section\n"
120 die "Cert object in multiple sections: ", $s_name, " and ", $s->{name}, "\n"
125 die $vmlinux if (!defined(sysseek(FD, $size_off, SEEK_SET)));
132 die "Cert object partially overflows section $s_name\n"
138 die "Cert object not inside a section\n"
147 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
150 die "$vmlinux" if (!defined($len));
151 die "Short read on $vmlinux\n" if ($len != $size);
152 close(FD) || die $vmlinux;
154 open FD, ">$keyring" || die $keyring;
157 die "$keyring" if (!defined($len));
158 die "Short write on $keyring\n" if ($len != $size);
159 close(FD) || die $keyring;