f283801851
Rework the defintion of struct siginfo so that the array padding struct siginfo to SI_MAX_SIZE can be placed in a union along side of the rest of the struct siginfo members. The result is that we no longer need the __ARCH_SI_PREAMBLE_SIZE or SI_PAD_SIZE definitions. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
20 lines
417 B
C
20 lines
417 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI__SPARC_SIGINFO_H
|
|
#define _UAPI__SPARC_SIGINFO_H
|
|
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
|
|
#define __ARCH_SI_BAND_T int
|
|
|
|
#endif /* defined(__sparc__) && defined(__arch64__) */
|
|
|
|
|
|
#define __ARCH_SI_TRAPNO
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
|
|
#define SI_NOINFO 32767 /* no information in siginfo_t */
|
|
|
|
#endif /* _UAPI__SPARC_SIGINFO_H */
|