This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 1/3] linux: move a shared part of sys/ptrace.h to bits/ptrace-shared.h
* 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
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.