xref: /freebsd/tools/build/cross-build/include/linux/spawn.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1*8a1895a3SJessica Clarke /*-
2*8a1895a3SJessica Clarke  * SPDX-License-Identifier: BSD-2-Clause
3*8a1895a3SJessica Clarke  *
4*8a1895a3SJessica Clarke  * Copyright 2018-2021 Alex Richardson <arichardson@FreeBSD.org>
5*8a1895a3SJessica Clarke  * Copyright 2021 Jessica Clarke <jrtc27@FreeBSD.org>
6*8a1895a3SJessica Clarke  *
7*8a1895a3SJessica Clarke  * This software was developed by SRI International and the University of
8*8a1895a3SJessica Clarke  * Cambridge Computer Laboratory (Department of Computer Science and
9*8a1895a3SJessica Clarke  * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
10*8a1895a3SJessica Clarke  * DARPA SSITH research programme.
11*8a1895a3SJessica Clarke  *
12*8a1895a3SJessica Clarke  * This software was developed by SRI International and the University of
13*8a1895a3SJessica Clarke  * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
14*8a1895a3SJessica Clarke  * ("CTSRD"), as part of the DARPA CRASH research programme.
15*8a1895a3SJessica Clarke  *
16*8a1895a3SJessica Clarke  * This work was supported by Innovate UK project 105694, "Digital Security by
17*8a1895a3SJessica Clarke  * Design (DSbD) Technology Platform Prototype".
18*8a1895a3SJessica Clarke  *
19*8a1895a3SJessica Clarke  * Redistribution and use in source and binary forms, with or without
20*8a1895a3SJessica Clarke  * modification, are permitted provided that the following conditions
21*8a1895a3SJessica Clarke  * are met:
22*8a1895a3SJessica Clarke  * 1. Redistributions of source code must retain the above copyright
23*8a1895a3SJessica Clarke  *    notice, this list of conditions and the following disclaimer.
24*8a1895a3SJessica Clarke  * 2. Redistributions in binary form must reproduce the above copyright
25*8a1895a3SJessica Clarke  *    notice, this list of conditions and the following disclaimer in the
26*8a1895a3SJessica Clarke  *    documentation and/or other materials provided with the distribution.
27*8a1895a3SJessica Clarke  *
28*8a1895a3SJessica Clarke  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
29*8a1895a3SJessica Clarke  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30*8a1895a3SJessica Clarke  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31*8a1895a3SJessica Clarke  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
32*8a1895a3SJessica Clarke  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33*8a1895a3SJessica Clarke  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34*8a1895a3SJessica Clarke  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35*8a1895a3SJessica Clarke  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36*8a1895a3SJessica Clarke  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37*8a1895a3SJessica Clarke  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38*8a1895a3SJessica Clarke  * SUCH DAMAGE.
39*8a1895a3SJessica Clarke  */
40*8a1895a3SJessica Clarke #pragma once
41*8a1895a3SJessica Clarke 
42*8a1895a3SJessica Clarke /* posix_spawn_file_actions_t contains a member __used */
43*8a1895a3SJessica Clarke #include "__used_workaround_start.h"
44*8a1895a3SJessica Clarke #include_next <spawn.h>
45*8a1895a3SJessica Clarke #include "__used_workaround_end.h"
46