From 0647171f083cd3eb4a9a4077c013fe7d069589c7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 19 Jun 2021 13:57:53 +0200 Subject: [PATCH] sigsegv, sigsegv-tests: Assign my contributions to the FSF. * lib/sigsegv.in.h: Change copyright notice: Write "Copyright (C) FSF" instead of "Copyright (C) Bruno Haible". * lib/sigsegv.c: Likewise. * lib/stackvma.h: Likewise. * lib/stackvma.c: Likewise. * m4/sigaltstack.m4: Likewise. * m4/stack-direction.m4: Likewise. * tests/altstack-util.h: Likewise. * tests/mmap-anon-util.h: Likewise. * tests/test-sigsegv-catch-segv1.c: Likewise. * tests/test-sigsegv-catch-segv2.c: Likewise. * tests/test-sigsegv-catch-stackoverflow1.c: Likewise. * tests/test-sigsegv-catch-stackoverflow2.c: Likewise. --- ChangeLog | 17 +++++++++++++++++ lib/sigsegv.c | 4 +++- lib/sigsegv.in.h | 4 +++- lib/stackvma.c | 4 +++- lib/stackvma.h | 4 +++- m4/sigaltstack.m4 | 6 ++++-- m4/stack-direction.m4 | 5 +++-- tests/altstack-util.h | 4 +++- tests/mmap-anon-util.h | 4 +++- tests/test-sigsegv-catch-segv1.c | 4 +++- tests/test-sigsegv-catch-segv2.c | 4 +++- tests/test-sigsegv-catch-stackoverflow1.c | 4 +++- tests/test-sigsegv-catch-stackoverflow2.c | 4 +++- 13 files changed, 54 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b4951cc73..acfdca21a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2021-06-19 Bruno Haible + + sigsegv, sigsegv-tests: Assign my contributions to the FSF. + * lib/sigsegv.in.h: Change copyright notice: Write "Copyright (C) FSF" + instead of "Copyright (C) Bruno Haible". + * lib/sigsegv.c: Likewise. + * lib/stackvma.h: Likewise. + * lib/stackvma.c: Likewise. + * m4/sigaltstack.m4: Likewise. + * m4/stack-direction.m4: Likewise. + * tests/altstack-util.h: Likewise. + * tests/mmap-anon-util.h: Likewise. + * tests/test-sigsegv-catch-segv1.c: Likewise. + * tests/test-sigsegv-catch-segv2.c: Likewise. + * tests/test-sigsegv-catch-stackoverflow1.c: Likewise. + * tests/test-sigsegv-catch-stackoverflow2.c: Likewise. + 2021-06-18 Darren Kenny (tiny change) argp: Avoid possible NULL access in argp_help. diff --git a/lib/sigsegv.c b/lib/sigsegv.c index 865dce0ec6..998c82768c 100644 --- a/lib/sigsegv.c +++ b/lib/sigsegv.c @@ -1,5 +1,5 @@ /* Page fault handling library. - Copyright (C) 1993-2021 Bruno Haible + Copyright (C) 1993-2021 Free Software Foundation, Inc. Copyright (C) 2018 Nylon Chen This program is free software: you can redistribute it and/or modify @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible and Nylon Chen. */ + #include /* Specification. */ diff --git a/lib/sigsegv.in.h b/lib/sigsegv.in.h index 92537666e5..17ad87e716 100644 --- a/lib/sigsegv.in.h +++ b/lib/sigsegv.in.h @@ -1,5 +1,5 @@ /* Page fault handling library. - Copyright (C) 1998-2021 Bruno Haible + Copyright (C) 1998-2021 Free Software Foundation, Inc. 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 @@ -14,6 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible. */ + #ifndef _SIGSEGV_H #define _SIGSEGV_H diff --git a/lib/stackvma.c b/lib/stackvma.c index cc032cf3f9..a810afe145 100644 --- a/lib/stackvma.c +++ b/lib/stackvma.c @@ -1,5 +1,5 @@ /* Determine the virtual memory area of a given address. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. Copyright (C) 2003-2006 Paolo Bonzini This program is free software: you can redistribute it and/or modify @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible and Paolo Bonzini. */ + #include /* On Solaris in 32-bit mode, when gnulib module 'largefile' is in use, diff --git a/lib/stackvma.h b/lib/stackvma.h index 729680148f..1f214a4dca 100644 --- a/lib/stackvma.h +++ b/lib/stackvma.h @@ -1,5 +1,5 @@ /* Determine the virtual memory area of a given address. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. Copyright (C) 2003-2006 Paolo Bonzini This program is free software: you can redistribute it and/or modify @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible and Paolo Bonzini. */ + #ifndef _STACKVMA_H #define _STACKVMA_H diff --git a/m4/sigaltstack.m4 b/m4/sigaltstack.m4 index 47e9000790..f8f4aa524f 100644 --- a/m4/sigaltstack.m4 +++ b/m4/sigaltstack.m4 @@ -1,5 +1,5 @@ -# sigaltstack.m4 serial 14 -dnl Copyright (C) 2002-2021 Bruno Haible +# sigaltstack.m4 serial 15 +dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. dnl Copyright (C) 2008 Eric Blake dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -7,6 +7,8 @@ dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. +dnl Written by Bruno Haible and Eric Blake. + AC_DEFUN([SV_SIGALTSTACK], [ AC_REQUIRE([AC_PROG_CC]) diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 index c7a20a29e2..93287254b1 100644 --- a/m4/stack-direction.m4 +++ b/m4/stack-direction.m4 @@ -1,5 +1,4 @@ -# stack-direction.m4 serial 6 -dnl Copyright (C) 2002-2021 Bruno Haible +# stack-direction.m4 serial 7 dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -7,6 +6,8 @@ dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. +dnl Written by Bruno Haible. + # Determine the stack direction. Define the C macro STACK_DIRECTION. AC_DEFUN([SV_STACK_DIRECTION], [ diff --git a/tests/altstack-util.h b/tests/altstack-util.h index f91072611c..ddbd9e54ef 100644 --- a/tests/altstack-util.h +++ b/tests/altstack-util.h @@ -1,6 +1,6 @@ /* Some auxiliary stuff for defining an alternate stack. + Copyright (C) 2010-2021 Free Software Foundation, Inc. Copyright (C) 2010 Eric Blake - Copyright (C) 2010-2021 Bruno Haible 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 @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Eric Blake and Bruno Haible. */ + #include /* uintptr_t */ #include /* for memset */ diff --git a/tests/mmap-anon-util.h b/tests/mmap-anon-util.h index 6fb82ef032..b526cb64a7 100644 --- a/tests/mmap-anon-util.h +++ b/tests/mmap-anon-util.h @@ -1,5 +1,5 @@ /* Some auxiliary stuff for using mmap & friends. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. 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 @@ -14,6 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible. */ + #if defined _WIN32 && !defined __CYGWIN__ /* ------------------------ Windows ------------------------ */ diff --git a/tests/test-sigsegv-catch-segv1.c b/tests/test-sigsegv-catch-segv1.c index 62eef69c8c..68f65c55c6 100644 --- a/tests/test-sigsegv-catch-segv1.c +++ b/tests/test-sigsegv-catch-segv1.c @@ -1,5 +1,5 @@ /* Test that the handler is called, with the right fault address. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. 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 @@ -14,6 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible. */ + #include /* Specification. */ diff --git a/tests/test-sigsegv-catch-segv2.c b/tests/test-sigsegv-catch-segv2.c index dd28517f9c..b2a4804d09 100644 --- a/tests/test-sigsegv-catch-segv2.c +++ b/tests/test-sigsegv-catch-segv2.c @@ -1,5 +1,5 @@ /* Test that the handler can be exited multiple times. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. 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 @@ -14,6 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible. */ + #include /* Specification. */ diff --git a/tests/test-sigsegv-catch-stackoverflow1.c b/tests/test-sigsegv-catch-stackoverflow1.c index c828ed2828..d5050d7ca8 100644 --- a/tests/test-sigsegv-catch-stackoverflow1.c +++ b/tests/test-sigsegv-catch-stackoverflow1.c @@ -1,5 +1,5 @@ /* Test the stack overflow handler. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. Copyright (C) 2010 Eric Blake This program is free software: you can redistribute it and/or modify @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible and Eric Blake. */ + #include /* Specification. */ diff --git a/tests/test-sigsegv-catch-stackoverflow2.c b/tests/test-sigsegv-catch-stackoverflow2.c index a491fd272f..63c0f39452 100644 --- a/tests/test-sigsegv-catch-stackoverflow2.c +++ b/tests/test-sigsegv-catch-stackoverflow2.c @@ -1,5 +1,5 @@ /* Test that stack overflow and SIGSEGV are correctly distinguished. - Copyright (C) 2002-2021 Bruno Haible + Copyright (C) 2002-2021 Free Software Foundation, Inc. Copyright (C) 2010 Eric Blake This program is free software: you can redistribute it and/or modify @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Written by Bruno Haible and Eric Blake. */ + #include /* Specification. */ -- 2.39.5