Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Copyright (C) 2012 ARM Ltd.
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License version 2 as
0007  * published by the Free Software Foundation.
0008  *
0009  * This program is distributed in the hope that it will be useful,
0010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  * GNU General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU General Public License
0015  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
0016  */
0017 #ifndef _UAPI__ASM_UCONTEXT_H
0018 #define _UAPI__ASM_UCONTEXT_H
0019 
0020 #include <linux/types.h>
0021 
0022 struct ucontext {
0023     unsigned long     uc_flags;
0024     struct ucontext  *uc_link;
0025     stack_t       uc_stack;
0026     sigset_t      uc_sigmask;
0027     /* glibc uses a 1024-bit sigset_t */
0028     __u8          __unused[1024 / 8 - sizeof(sigset_t)];
0029     /* last for future expansion */
0030     struct sigcontext uc_mcontext;
0031 };
0032 
0033 #endif /* _UAPI__ASM_UCONTEXT_H */