Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/parisc/kernel/vdso32/     Datei vom 24.10.2025 mit Größe 778 B image not shown  

Quelle  note.S   Sprache: Sparc

 

/* 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/uts.h>
#include <linux/version.h>

#define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type)         \
 .section name, flags;            \
 .balign 4;             \
 .long 1f - 0f;  /* name length */       \
 .long 3f - 2f;  /* data length */       \
 .long type;  /* note type */       \
0: .asciz vendor;  /* vendor name */       \
1: .balign 4;             \
2:

#define ASM_ELF_NOTE_END            \
3: .balign 4;  /* pad out section */       \
 .previous

 ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0)
 .long LINUX_VERSION_CODE
 ASM_ELF_NOTE_END

Messung
CHZG
949910097

¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland