linux-user: Add GPL-2.0-or-later SPDX license identifier
v2 cover linux-user: Add GPL-2.0-or-later SPDX license identifier
In order to help license clearing report tools, add SPDX license identifier to the linux-user/ files.
Supersedes: <[email protected]>
Philippe Mathieu-Daudé (2):
linux-user: Move the SPDX license identifier to first line
linux-user: Add GPL-2.0-or-later SPDX license identifier
linux-user/aarch64/target_elf.h | 1 + linux-user/aarch64/target_fcntl.h | 1 + linux-user/alpha/target_elf.h | 1 + linux-user/alpha/target_fcntl.h | 1 + linux-user/arm/target_elf.h | 1 + linux-user/arm/target_fcntl.h | 1 + linux-user/cpu_loop-common.h | 1 + linux-user/cris/target_elf.h | 1 + linux-user/cris/target_fcntl.h | 1 + linux-user/fd-trans.h | 1 + linux-user/hexagon/sockbits.h | 1 + linux-user/hexagon/target_cpu.h | 1 + linux-user/hexagon/target_elf.h | 1 + linux-user/hexagon/target_fcntl.h | 1 + linux-user/hexagon/target_signal.h | 1 + linux-user/hexagon/target_structs.h | 1 + linux-user/hexagon/target_syscall.h | 1 + linux-user/hexagon/termbits.h | 1 + linux-user/hppa/target_elf.h | 1 + linux-user/hppa/target_fcntl.h | 1 + linux-user/i386/target_elf.h | 1 + linux-user/i386/target_fcntl.h | 1 + linux-user/loader.h | 1 + linux-user/m68k/target_elf.h | 1 + linux-user/m68k/target_fcntl.h | 1 + linux-user/microblaze/target_elf.h | 1 + linux-user/microblaze/target_fcntl.h | 1 + linux-user/mips/target_fcntl.h | 1 + linux-user/mips64/target_elf.h | 1 + linux-user/nios2/target_elf.h | 1 + linux-user/nios2/target_fcntl.h | 1 + linux-user/openrisc/target_elf.h | 1 + linux-user/openrisc/target_fcntl.h | 1 + linux-user/ppc/target_elf.h | 1 + linux-user/ppc/target_fcntl.h | 1 + linux-user/riscv/target_elf.h | 1 + linux-user/riscv/target_fcntl.h | 1 + linux-user/s390x/target_cpu.h | 1 + linux-user/s390x/target_elf.h | 1 + linux-user/s390x/target_fcntl.h | 1 + linux-user/safe-syscall.h | 1 + linux-user/sh4/target_elf.h | 1 + linux-user/sh4/target_fcntl.h | 1 + linux-user/signal-common.h | 1 + linux-user/sparc/target_elf.h | 1 + linux-user/sparc/target_fcntl.h | 1 + linux-user/strace.h | 1 + linux-user/user-internals.h | 1 + linux-user/user-mmap.h | 1 + linux-user/x86_64/target_elf.h | 1 + linux-user/x86_64/target_fcntl.h | 1 + linux-user/xtensa/target_elf.h | 1 + linux-user/xtensa/target_fcntl.h | 1 + linux-user/aarch64/cpu_loop.c | 1 + linux-user/aarch64/signal.c | 1 + linux-user/alpha/cpu_loop.c | 1 + linux-user/alpha/signal.c | 1 + linux-user/arm/cpu_loop.c | 1 + linux-user/arm/signal.c | 1 + linux-user/cris/cpu_loop.c | 1 + linux-user/cris/signal.c | 1 + linux-user/exit.c | 1 + linux-user/fd-trans.c | 1 + linux-user/flatload.c | 1 + linux-user/hexagon/cpu_loop.c | 1 + linux-user/hexagon/signal.c | 1 + linux-user/hppa/cpu_loop.c | 1 + linux-user/hppa/signal.c | 1 + linux-user/i386/cpu_loop.c | 1 + linux-user/i386/signal.c | 1 + linux-user/m68k/cpu_loop.c | 1 + linux-user/m68k/signal.c | 1 + linux-user/main.c | 1 + linux-user/microblaze/cpu_loop.c | 1 + linux-user/microblaze/signal.c | 1 + linux-user/mips/cpu_loop.c | 1 + linux-user/mips/signal.c | 1 + linux-user/mips64/cpu_loop.c | 1 + linux-user/mips64/signal.c | 1 + linux-user/mmap.c | 1 + linux-user/nios2/cpu_loop.c | 1 + linux-user/nios2/signal.c | 1 + linux-user/openrisc/cpu_loop.c | 1 + linux-user/openrisc/signal.c | 1 + linux-user/ppc/cpu_loop.c | 1 + linux-user/ppc/signal.c | 1 + linux-user/riscv/cpu_loop.c | 1 + linux-user/riscv/signal.c | 1 + linux-user/s390x/cpu_loop.c | 1 + linux-user/s390x/signal.c | 1 + linux-user/semihost.c | 3 +-- linux-user/sh4/cpu_loop.c | 1 + linux-user/sh4/signal.c | 1 + linux-user/signal.c | 1 + linux-user/sparc/cpu_loop.c | 1 + linux-user/sparc/signal.c | 1 + linux-user/syscall.c | 1 + linux-user/uname.c | 1 + linux-user/vm86.c | 1 + linux-user/x86_64/cpu_loop.c | 1 + linux-user/x86_64/signal.c | 1 + linux-user/xtensa/cpu_loop.c | 1 + linux-user/xtensa/signal.c | 1 + linux-user/errnos.c.inc | 3 +-- 104 files changed, 104 insertions(+), 4 deletions(-)
Signature · 1 line
2.31.1
PATCH v2 1/2 linux-user: Move the SPDX license identifier to first line
Tools consuming SPDX license identifiers benefit from having the SPDX tag in its own comment, not embedded with the license text. Move the tag to the first line.
--- linux-user/semihost.c | 3 +-- linux-user/errnos.c.inc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
linux-user/semihost.c +1 -2
@@ -1,30 +1,29 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ARM Compatible Semihosting Console Support. * * Copyright (c) 2019 Linaro Ltd * * Currently ARM and RISC-V are unique in having support for * semihosting support in linux-user. So for now we implement the * common console API but just for arm and risc-v linux-user. -* -* SPDX-License-Identifier: GPL-2.0-or-later */ #include "qemu/osdep.h" #include "semihosting/console.h" #include "qemu.h" #include "user-internals.h" #include <termios.h> int qemu_semihosting_console_outs (CPUArchState *env,target_ulong addr) {int len =target_strlen (addr);void *s;if (len <0 ){qemu_log_mask (LOG_GUEST_ERROR ,"%s: passed inaccessible address " TARGET_FMT_lx, __func__, addr);return 0 ; } s =lock_user (VERIFY_READ , addr, (long )(len +1 ),1 );g_assert (s);/* target_strlen has already verified this will work */
linux-user/errnos.c.inc +1 -2
@@ -1,42 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This list is the union of errno values overridden in asm-<arch>/errno.h * minus the errnos that are not actually generic to all archs. * * Please keep this list sorted alphabetically. * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. - * - * SPDX-License-Identifier: GPL-2.0-or-later */ E(EADDRINUSE) E(EADDRNOTAVAIL) E(EADV) E(EAFNOSUPPORT) E(EAGAIN) E(EALREADY) E(EBADE) E(EBADFD) E(EBADMSG) E(EBADR) E(EBADRQC) E(EBADSLT) E(EBFONT) E(ECANCELED) E(ECHRNG) E(ECOMM) E(ECONNABORTED) E(ECONNREFUSED)
Signature · 1 line
2.31.1
Re: [PATCH v2 1/2] linux-user: Move the SPDX license identifier to first line
Quoted 3 lines · Philippe Mathieu-Daudé
Tools consuming SPDX license identifiers benefit from having the SPDX tag in its own comment, not embedded with the license text. Move the tag to the first line.
Do you have an example of such a tool which has problems ?
AFAIK, guidance for adding SPDX tags merely says they should be in a comment near the top of the file.
I wouldn't expect license scanners to care about the acutal comment syntax. Proper tools would be designed to scan for tags in *any* file format, so would be unlikely to be parsing the C code comments at all. Rather scanners would be just looking for the magic string "SPDX-License-Identifier" in the file. Use of comments is merely to stop the C compiler interpreting the tag.
It makes sense to have the SPDX tag as the first thing in the file, but I don't see a compelling need to make it into its own dedicated opened + closed comment, separately from the license header comment.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Re: [PATCH v2 1/2] linux-user: Move the SPDX license identifier to first line
Quoted 22 lines · Daniel P. Berrangé
Quoted 3 lines · Philippe Mathieu-Daudé
Tools consuming SPDX license identifiers benefit from having the SPDX tag in its own comment, not embedded with the license text. Move the tag to the first line.
Do you have an example of such a tool which has problems ?
AFAIK, guidance for adding SPDX tags merely says they should be in a comment near the top of the file.
I wouldn't expect license scanners to care about the acutal comment syntax. Proper tools would be designed to scan for tags in *any* file format, so would be unlikely to be parsing the C code comments at all. Rather scanners would be just looking for the magic string "SPDX-License-Identifier" in the file. Use of comments is merely to stop the C compiler interpreting the tag.
Quoted 4 lines
It makes sense to have the SPDX tag as the first thing in the file, but I don't see a compelling need to make it into its own dedicated opened + closed comment, separately from the license header comment.
The SPDX’s tools don’t require the proposed changes. Nor does the SPDX standard which says that the lines can be anywhere in the file. The reuse.software additions to this standard add additional ways to mark binary files, but otherwise says the same thing.
The FreeBSD project has been marking files with SPDX tags for years and has never once encountered this issue.
Warner
Quoted 8 lines
Regards,
DanielSignature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH v2 2/2 linux-user: Add GPL-2.0-or-later SPDX license identifier
In reply to Philippe Mathieu-DaudéIn order to help license compliance tools (following [1] guidance), use Qualcomm License Identifier tool [*] to classify linux-user/ files per license type, filtering those matching at least 60% the "GPLv2 or later" type, and manually add the GPL-2.0-or-later SPDX comment.
Full, abbreviated, oddly-indented/wrapped license texts are kept unmodified.
Example of the tool output:
$ license-identifier --output_format easy_read \
--threshold 0.6 --input_path linux-user \
| egrep '(Name of the input file|Matched license type is|The found license text has the score of)'
| fgrep -1 GPL-2.0+
Name of the input file: linux-user/cpu_loop-common.h
Matched license type is GPL-2.0+
The found license text has the score of 0.69
--
Name of the input file: linux-user/exit.c
Matched license type is GPL-2.0+
The found license text has the score of 0.685
--
Name of the input file: linux-user/fd-trans.c
Matched license type is GPL-2.0+
The found license text has the score of 0.715
--
Name of the input file: linux-user/fd-trans.h
Matched license type is GPL-2.0+
The found license text has the score of 0.715
--
Name of the input file: linux-user/flatload.c
Matched license type is GPL-2.0+
The found license text has the score of 0.715
--
...[1] https://www.linuxfoundation.org/blog/solving-license-compliance-at-the-source-adding-spdx-license-ids/
[2] Qualcomm Open Source Technology Group License Identifier tool
https://www.codeaurora.org/projects/qualcomm-ostg-lid
https://github.com/quic/lid#usage
--- linux-user/aarch64/target_elf.h | 1 + linux-user/aarch64/target_fcntl.h | 1 + linux-user/alpha/target_elf.h | 1 + linux-user/alpha/target_fcntl.h | 1 + linux-user/arm/target_elf.h | 1 + linux-user/arm/target_fcntl.h | 1 + linux-user/cpu_loop-common.h | 1 + linux-user/cris/target_elf.h | 1 + linux-user/cris/target_fcntl.h | 1 + linux-user/fd-trans.h | 1 + linux-user/hexagon/sockbits.h | 1 + linux-user/hexagon/target_cpu.h | 1 + linux-user/hexagon/target_elf.h | 1 + linux-user/hexagon/target_fcntl.h | 1 + linux-user/hexagon/target_signal.h | 1 + linux-user/hexagon/target_structs.h | 1 + linux-user/hexagon/target_syscall.h | 1 + linux-user/hexagon/termbits.h | 1 + linux-user/hppa/target_elf.h | 1 + linux-user/hppa/target_fcntl.h | 1 + linux-user/i386/target_elf.h | 1 + linux-user/i386/target_fcntl.h | 1 + linux-user/loader.h | 1 + linux-user/m68k/target_elf.h | 1 + linux-user/m68k/target_fcntl.h | 1 + linux-user/microblaze/target_elf.h | 1 + linux-user/microblaze/target_fcntl.h | 1 + linux-user/mips/target_fcntl.h | 1 + linux-user/mips64/target_elf.h | 1 + linux-user/nios2/target_elf.h | 1 + linux-user/nios2/target_fcntl.h | 1 + linux-user/openrisc/target_elf.h | 1 + linux-user/openrisc/target_fcntl.h | 1 + linux-user/ppc/target_elf.h | 1 + linux-user/ppc/target_fcntl.h | 1 + linux-user/riscv/target_elf.h | 1 + linux-user/riscv/target_fcntl.h | 1 + linux-user/s390x/target_cpu.h | 1 + linux-user/s390x/target_elf.h | 1 + linux-user/s390x/target_fcntl.h | 1 + linux-user/safe-syscall.h | 1 + linux-user/sh4/target_elf.h | 1 + linux-user/sh4/target_fcntl.h | 1 + linux-user/signal-common.h | 1 + linux-user/sparc/target_elf.h | 1 + linux-user/sparc/target_fcntl.h | 1 + linux-user/strace.h | 1 + linux-user/user-internals.h | 1 + linux-user/user-mmap.h | 1 + linux-user/x86_64/target_elf.h | 1 + linux-user/x86_64/target_fcntl.h | 1 + linux-user/xtensa/target_elf.h | 1 + linux-user/xtensa/target_fcntl.h | 1 + linux-user/aarch64/cpu_loop.c | 1 + linux-user/aarch64/signal.c | 1 + linux-user/alpha/cpu_loop.c | 1 + linux-user/alpha/signal.c | 1 + linux-user/arm/cpu_loop.c | 1 + linux-user/arm/signal.c | 1 + linux-user/cris/cpu_loop.c | 1 + linux-user/cris/signal.c | 1 + linux-user/exit.c | 1 + linux-user/fd-trans.c | 1 + linux-user/flatload.c | 1 + linux-user/hexagon/cpu_loop.c | 1 + linux-user/hexagon/signal.c | 1 + linux-user/hppa/cpu_loop.c | 1 + linux-user/hppa/signal.c | 1 + linux-user/i386/cpu_loop.c | 1 + linux-user/i386/signal.c | 1 + linux-user/m68k/cpu_loop.c | 1 + linux-user/m68k/signal.c | 1 + linux-user/main.c | 1 + linux-user/microblaze/cpu_loop.c | 1 + linux-user/microblaze/signal.c | 1 + linux-user/mips/cpu_loop.c | 1 + linux-user/mips/signal.c | 1 + linux-user/mips64/cpu_loop.c | 1 + linux-user/mips64/signal.c | 1 + linux-user/mmap.c | 1 + linux-user/nios2/cpu_loop.c | 1 + linux-user/nios2/signal.c | 1 + linux-user/openrisc/cpu_loop.c | 1 + linux-user/openrisc/signal.c | 1 + linux-user/ppc/cpu_loop.c | 1 + linux-user/ppc/signal.c | 1 + linux-user/riscv/cpu_loop.c | 1 + linux-user/riscv/signal.c | 1 + linux-user/s390x/cpu_loop.c | 1 + linux-user/s390x/signal.c | 1 + linux-user/sh4/cpu_loop.c | 1 + linux-user/sh4/signal.c | 1 + linux-user/signal.c | 1 + linux-user/sparc/cpu_loop.c | 1 + linux-user/sparc/signal.c | 1 + linux-user/syscall.c | 1 + linux-user/uname.c | 1 + linux-user/vm86.c | 1 + linux-user/x86_64/cpu_loop.c | 1 + linux-user/x86_64/signal.c | 1 + linux-user/xtensa/cpu_loop.c | 1 + linux-user/xtensa/signal.c | 1 + 102 files changed, 102 insertions(+)
linux-user/aarch64/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef AARCH64_TARGET_ELF_H #define AARCH64_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/aarch64/target_fcntl.h +1 -0
@@ -1,16 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef AARCH64_TARGET_FCNTL_H #define AARCH64_TARGET_FCNTL_H #define TARGET_O_DIRECTORY 040000/* must be a directory */ #define TARGET_O_NOFOLLOW 0100000/* don't follow links */ #define TARGET_O_DIRECT 0200000/* direct disk access hint */ #include "../generic/fcntl.h" #endif
linux-user/alpha/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef ALPHA_TARGET_ELF_H #define ALPHA_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/alpha/target_fcntl.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef ALPHA_TARGET_FCNTL_H #define ALPHA_TARGET_FCNTL_H #define TARGET_O_NONBLOCK 04#define TARGET_O_APPEND 010#define TARGET_O_CREAT 01000/* not fcntl */ #define TARGET_O_TRUNC 02000/* not fcntl */ #define TARGET_O_EXCL 04000/* not fcntl */ #define TARGET_O_NOCTTY 010000/* not fcntl */ #define TARGET_O_DSYNC 040000#define TARGET_O_LARGEFILE 0/* not necessary, always 64-bit */ #define TARGET_O_DIRECTORY 0100000/* must be a directory */ #define TARGET_O_NOFOLLOW 0200000/* don't follow links */
linux-user/arm/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef ARM_TARGET_ELF_H #define ARM_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/arm/target_fcntl.h +1 -0
@@ -1,17 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef ARM_TARGET_FCNTL_H #define ARM_TARGET_FCNTL_H #define TARGET_O_DIRECTORY 040000/* must be a directory */ #define TARGET_O_NOFOLLOW 0100000/* don't follow links */ #define TARGET_O_DIRECT 0200000/* direct disk access hint */ #define TARGET_O_LARGEFILE 0400000#include "../generic/fcntl.h" #endif
linux-user/cpu_loop-common.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef CPU_LOOP_COMMON_H
linux-user/cris/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef CRIS_TARGET_ELF_H #define CRIS_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/cris/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef CRIS_TARGET_FCNTL_H #define CRIS_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/fd-trans.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef FD_TRANS_H #define FD_TRANS_H #include "qemu/lockable.h"
linux-user/hexagon/sockbits.h +1 -0
@@ -1,18 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "../generic/sockbits.h"
linux-user/hexagon/target_cpu.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef HEXAGON_TARGET_CPU_H #define HEXAGON_TARGET_CPU_H
linux-user/hexagon/target_elf.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef HEXAGON_TARGET_ELF_H #define HEXAGON_TARGET_ELF_H
linux-user/hexagon/target_fcntl.h +1 -0
@@ -1,18 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "../generic/fcntl.h"
linux-user/hexagon/target_signal.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef HEXAGON_TARGET_SIGNAL_H #define HEXAGON_TARGET_SIGNAL_H
linux-user/hexagon/target_structs.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ /* * Hexagon specific structures for linux-user */
linux-user/hexagon/target_syscall.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef HEXAGON_TARGET_SYSCALL_H #define HEXAGON_TARGET_SYSCALL_H
linux-user/hexagon/termbits.h +1 -0
@@ -1,18 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "../generic/termbits.h"
linux-user/hppa/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef HPPA_TARGET_ELF_H #define HPPA_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/hppa/target_fcntl.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef HPPA_TARGET_FCNTL_H #define HPPA_TARGET_FCNTL_H #define TARGET_O_NONBLOCK 000200000#define TARGET_O_NONBLOCK_MASK 000200004/* includes old HP-UX NDELAY flag */ #define TARGET_O_APPEND 000000010#define TARGET_O_CREAT 000000400/* not fcntl */ #define TARGET_O_EXCL 000002000/* not fcntl */ #define TARGET_O_NOCTTY 000400000/* not fcntl */ #define TARGET_O_DSYNC 001000000#define TARGET_O_LARGEFILE 000004000#define TARGET_O_DIRECTORY 000010000/* must be a directory */ #define TARGET_O_NOFOLLOW 000000200/* don't follow links */
linux-user/i386/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef I386_TARGET_ELF_H #define I386_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "qemu32" ; }#endif
linux-user/i386/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef I386_TARGET_FCNTL_H #define I386_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/loader.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * loader.h: prototypes for linux-user guest binary loader * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef LINUX_USER_LOADER_H #define LINUX_USER_LOADER_H
linux-user/m68k/target_elf.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef M68K_TARGET_ELF_H #define M68K_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {if (eflags ==0 || (eflags &EF_M68K_M68000 )) {/* 680x0 */ return "m68040" ; }/* Coldfire */ return "any" ; }#endif
linux-user/m68k/target_fcntl.h +1 -0
@@ -1,17 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef M68K_TARGET_FCNTL_H #define M68K_TARGET_FCNTL_H #define TARGET_O_DIRECTORY 040000/* must be a directory */ #define TARGET_O_NOFOLLOW 0100000/* don't follow links */ #define TARGET_O_DIRECT 0200000/* direct disk access hint */ #define TARGET_O_LARGEFILE 0400000#include "../generic/fcntl.h" #endif
linux-user/microblaze/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef MICROBLAZE_TARGET_ELF_H #define MICROBLAZE_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/microblaze/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef MICROBLAZE_TARGET_FCNTL_H #define MICROBLAZE_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/mips/target_fcntl.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef MIPS_TARGET_FCNTL_H #define MIPS_TARGET_FCNTL_H #define TARGET_O_APPEND 0x0008#define TARGET_O_DSYNC 0x0010#define TARGET_O_NONBLOCK 0x0080#define TARGET_O_CREAT 0x0100/* not fcntl */ #define TARGET_O_TRUNC 0x0200/* not fcntl */ #define TARGET_O_EXCL 0x0400/* not fcntl */ #define TARGET_O_NOCTTY 0x0800/* not fcntl */ #define TARGET_FASYNC 0x1000/* fcntl, for BSD compatibility */ #define TARGET_O_LARGEFILE 0x2000/* allow large file opens */ #define TARGET___O_SYNC 0x4000
linux-user/mips64/target_elf.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef MIPS64_TARGET_ELF_H #define MIPS64_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {if ((eflags &EF_MIPS_ARCH ) ==EF_MIPS_ARCH_64R6 ) {return "I6400" ; }if ((eflags &EF_MIPS_MACH ) ==EF_MIPS_MACH_5900 ) {return "R5900" ; }return "5KEf" ; }#endif
linux-user/nios2/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef NIOS2_TARGET_ELF_H #define NIOS2_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/nios2/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef NIOS2_TARGET_FCNTL_H #define NIOS2_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/openrisc/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef OPENRISC_TARGET_ELF_H #define OPENRISC_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "any" ; }#endif
linux-user/openrisc/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef OPENRISC_TARGET_FCNTL_H #define OPENRISC_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/ppc/target_elf.h +1 -0
@@ -1,18 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef PPC_TARGET_ELF_H #define PPC_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {#ifdef TARGET_PPC64 return "POWER9" ;#else return "750" ;#endif }#endif
linux-user/ppc/target_fcntl.h +1 -0
@@ -1,17 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef PPC_TARGET_FCNTL_H #define PPC_TARGET_FCNTL_H #define TARGET_O_DIRECTORY 040000/* must be a directory */ #define TARGET_O_NOFOLLOW 0100000/* don't follow links */ #define TARGET_O_LARGEFILE 0200000#define TARGET_O_DIRECT 0400000/* direct disk access hint */ #include "../generic/fcntl.h" #endif
linux-user/riscv/target_elf.h +1 -0
@@ -1,15 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef RISCV_TARGET_ELF_H #define RISCV_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {/* TYPE_RISCV_CPU_ANY */ return "any" ; }#endif
linux-user/riscv/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef RISCV_TARGET_FCNTL_H #define RISCV_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/s390x/target_cpu.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * S/390 specific CPU ABI and functions for linux-user * * Copyright (c) 2009 Ulrich Hecht * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef S390X_TARGET_CPU_H #define S390X_TARGET_CPU_H
linux-user/s390x/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef S390X_TARGET_ELF_H #define S390X_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "qemu" ; }#endif
linux-user/s390x/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef S390X_TARGET_FCNTL_H #define S390X_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/safe-syscall.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * safe-syscall.h: prototypes for linux-user signal-race-safe syscalls * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef LINUX_USER_SAFE_SYSCALL_H #define LINUX_USER_SAFE_SYSCALL_H
linux-user/sh4/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef SH4_TARGET_ELF_H #define SH4_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "sh7785" ; }#endif
linux-user/sh4/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef SH4_TARGET_FCNTL_H #define SH4_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/signal-common.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef SIGNAL_COMMON_H
linux-user/sparc/target_elf.h +1 -0
@@ -1,18 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef SPARC_TARGET_ELF_H #define SPARC_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {#ifdef TARGET_SPARC64 return "TI UltraSparc II" ;#else return "Fujitsu MB86904" ;#endif }#endif
linux-user/sparc/target_fcntl.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef SPARC_TARGET_FCNTL_H #define SPARC_TARGET_FCNTL_H #define TARGET_O_APPEND 0x0008#define TARGET_FASYNC 0x0040/* fcntl, for BSD compatibility */ #define TARGET_O_CREAT 0x0200/* not fcntl */ #define TARGET_O_TRUNC 0x0400/* not fcntl */ #define TARGET_O_EXCL 0x0800/* not fcntl */ #define TARGET_O_DSYNC 0x2000#define TARGET_O_NONBLOCK 0x4000# ifdef TARGET_SPARC64 # define TARGET_O_NDELAY 0x0004# else
linux-user/strace.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * strace.h: prototypes for linux-user builtin strace handling * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef LINUX_USER_STRACE_H #define LINUX_USER_STRACE_H
linux-user/user-internals.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * user-internals.h: prototypes etc internal to the linux-user implementation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef LINUX_USER_USER_INTERNALS_H #define LINUX_USER_USER_INTERNALS_H
linux-user/user-mmap.h +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * user-mmap.h: prototypes for linux-user guest binary loader * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef LINUX_USER_USER_MMAP_H #define LINUX_USER_USER_MMAP_H
linux-user/x86_64/target_elf.h +1 -0
@@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef X86_64_TARGET_ELF_H #define X86_64_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return "qemu64" ; }#endif
linux-user/x86_64/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef X86_64_TARGET_FCNTL_H #define X86_64_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/xtensa/target_elf.h +1 -0
@@ -1,16 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef XTENSA_TARGET_ELF_H #define XTENSA_TARGET_ELF_H static inline const char *cpu_get_model (uint32_t eflags) {return XTENSA_DEFAULT_CPU_MODEL ; }#endif
linux-user/xtensa/target_fcntl.h +1 -0
@@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ #ifndef XTENSA_TARGET_FCNTL_H #define XTENSA_TARGET_FCNTL_H #include "../generic/fcntl.h" #endif
linux-user/aarch64/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/aarch64/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/alpha/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/alpha/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/arm/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/arm/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/cris/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/cris/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/exit.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * exit support for qemu * * Copyright (c) 2018 Alex Bennée <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "exec/gdbstub.h"
linux-user/fd-trans.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include <sys/signalfd.h> #include <linux/unistd.h> #include <linux/audit.h>
linux-user/flatload.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /****************************************************************************/ /* * QEMU bFLT binary loader. Based on linux/fs/binfmt_flat.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. * * Copyright (C) 2006 CodeSourcery. * Copyright (C) 2000-2003 David McCullough <[email protected]> * Copyright (C) 2002 Greg Ungerer <[email protected]>
linux-user/hexagon/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */
linux-user/hexagon/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/hppa/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/hppa/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/i386/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/i386/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/m68k/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/m68k/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/main.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user main * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/microblaze/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/microblaze/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/mips/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/mips/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/mips64/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "../mips/cpu_loop.c"
linux-user/mips64/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #define MIPS_TARGET_SIGNAL_H /* to only include mips64/target_signal.h */ #include "../mips/signal.c"
linux-user/mmap.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * mmap support for qemu * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "trace.h"
linux-user/nios2/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/nios2/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/openrisc/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/openrisc/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/ppc/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/ppc/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/riscv/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/riscv/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/s390x/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/s390x/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/sh4/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/sh4/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu/bitops.h"
linux-user/sparc/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/sparc/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
linux-user/syscall.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Linux syscalls * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #define _ATFILE_SOURCE#include "qemu/osdep.h"
linux-user/uname.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cpu to uname machine name map * * Copyright (c) 2009 Loïc Minier * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/vm86.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * vm86 linux syscall support * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/x86_64/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "../i386/cpu_loop.c"
linux-user/x86_64/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #define I386_TARGET_SIGNAL_H /* to only include x86_64/target_signal.h */ #include "../i386/signal.c"
linux-user/xtensa/cpu_loop.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * qemu user cpu loop * * Copyright (c) 2003-2008 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
linux-user/xtensa/signal.c +1 -0
@@ -1,20 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Emulation of Linux signals * * Copyright (c) 2003 Fabrice Bellard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "qemu.h"
Signature · 1 line
2.31.1