forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
496 B
18 lines
496 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. |
|
* Here we can supply some information useful to userland. |
|
*/ |
|
|
|
#include <linux/build-salt.h> |
|
#include <linux/version.h> |
|
#include <linux/elfnote.h> |
|
|
|
/* Ideally this would use UTS_NAME, but using a quoted string here |
|
doesn't work. Remember to change this when changing the |
|
kernel's name. */ |
|
ELFNOTE_START(Linux, 0, "a") |
|
.long LINUX_VERSION_CODE |
|
ELFNOTE_END |
|
|
|
BUILD_SALT
|
|
|