[PATCH 1/3] linux: move a shared part of sys/ptrace.h to bits/ptrace-shared.h

Florian Weimer fw@deneb.enyo.de
Fri Dec 29 14:20:00 GMT 2017


* Dmitry V. Levin:

>> > diff --git a/sysdeps/unix/sysv/linux/bits/ptrace-shared.h
>> > b/sysdeps/unix/sysv/linux/bits/ptrace-shared.h
>> > new file mode 100644
>> > index 0000000..98ed335
>> > --- /dev/null
>> > +++ b/sysdeps/unix/sysv/linux/bits/ptrace-shared.h
>> > @@ -0,0 +1,78 @@
>> > +/* `ptrace' debugger support interface.  Linux version,
>> > +   not architecture-specific.
>> > +   Copyright (C) 1996-2017 Free Software Foundation, Inc.
>> 
>> I am not sure if we should retroactively set the copyright for consolidation
>> code (it was not the case for some internal pthread consolidation).
>
> bits/ptrace-shared.h file is essentially a copy of sys/ptrace.h with
> __ptrace_request removed, this way it inherited the copyright notice, too.
>
> Do we reset copyright years in such cases?

I think we should keep the copyright range in this case.  As far as I
can tell,

  <https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices>

does not deal explicitly with this scenario, but it says:

| If you copy a file into the package from some other program, keep
| the copyright years that come with the file.



More information about the Libc-alpha mailing list