Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51d139b1 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Enable entries for SIGSYS in struct siginfo.



This is necessary because MIPS doesn't use HAVE_ARCH_SIGINFO_T for
historical reasons.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 03b94e2e
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -33,6 +33,8 @@ struct siginfo;
#error _MIPS_SZLONG neither 32 nor 64
#error _MIPS_SZLONG neither 32 nor 64
#endif
#endif


#define __ARCH_SIGSYS

#include <asm-generic/siginfo.h>
#include <asm-generic/siginfo.h>


typedef struct siginfo {
typedef struct siginfo {
@@ -97,6 +99,13 @@ typedef struct siginfo {
			__ARCH_SI_BAND_T _band; /* POLL_IN, POLL_OUT, POLL_MSG */
			__ARCH_SI_BAND_T _band; /* POLL_IN, POLL_OUT, POLL_MSG */
			int _fd;
			int _fd;
		} _sigpoll;
		} _sigpoll;

		/* SIGSYS */
		struct {
			void __user *_call_addr; /* calling user insn */
			int _syscall;	/* triggering system call number */
			unsigned int _arch;	/* AUDIT_ARCH_* of syscall */
		} _sigsys;
	} _sifields;
	} _sifields;
} siginfo_t;
} siginfo_t;