1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
4 * Here we can supply some information useful to userland.
5 */
6
7#include <linux/build-salt.h>
8#include <linux/version.h>
9#include <linux/elfnote.h>
10
11/* Ideally this would use UTS_NAME, but using a quoted string here
12 doesn't work. Remember to change this when changing the
13 kernel's name. */
14ELFNOTE_START(Linux, 0, "a")
15 .long LINUX_VERSION_CODE
16ELFNOTE_END
17
18BUILD_SALT
19

source code of linux/arch/x86/entry/vdso/vdso32/note.S