NT_PLATFORM
case NT_PLATFORM: /* string from sysinfo(SI_PLATFORM) */
[NT_PLATFORM] = note_platform,
if (write_note(fd, NT_PLATFORM, plat, platlen, &doff) != 0)
if (write_note(fd, NT_PLATFORM, plat, platlen, &doff) != 0 ||
error = elfnote(vp, &offset, NT_PLATFORM, strlen(platform) + 1,
error = elfnote(vp, &offset, NT_PLATFORM, strlen(platform) + 1,