Path: blob/master/arch/arm64/include/uapi/asm/ucontext.h
26490 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* Copyright (C) 2012 ARM Ltd.3*4* This program is free software; you can redistribute it and/or modify5* it under the terms of the GNU General Public License version 2 as6* published by the Free Software Foundation.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <http://www.gnu.org/licenses/>.15*/16#ifndef _UAPI__ASM_UCONTEXT_H17#define _UAPI__ASM_UCONTEXT_H1819#include <linux/types.h>2021struct ucontext {22unsigned long uc_flags;23struct ucontext *uc_link;24stack_t uc_stack;25sigset_t uc_sigmask;26/* glibc uses a 1024-bit sigset_t */27__u8 __unused[1024 / 8 - sizeof(sigset_t)];28/* last for future expansion */29struct sigcontext uc_mcontext;30};3132#endif /* _UAPI__ASM_UCONTEXT_H */333435