Skip to contentSkip to conversation

Request for contributor approval: Relicensing rseq selftests to MIT

DISCUSSION Mathieu Desnoyers 2 participants 4 messages Feb 6, 2023

lore
Share & tools
lore
#0 lore raw

Hi,

I would like to get contributor approval to relicense the rseq selftests within the Linux kernel and the librseq project to MIT. This will make it easier to use librseq from statically built applications, and I wish to continue sharing code between the kernel rseq selftests and librseq.

Allowing use of rseq application headers from statically built applications was the intent from the beginning, but it turns out that having the rseq.c initialization code under LGPL2.1 makes it harder than it should be for users.

The current contributor summary commit-wise under
tools/testing/selftests/rseq is:

   269  Mathieu Desnoyers <[email protected]>
     6  Michael Ellerman <[email protected]>
     5  Shuah Khan <[email protected]>
     3  Michael Jeanson <[email protected]>
     3  Peter Oskolkov <[email protected]>
     2  Martin Schwidefsky <[email protected]>
     1  Masahiro Yamada <[email protected]>
     1  Paul Burton <[email protected]>
     1  Sabyasachi Gupta <[email protected]>
     1  Vasily Gorbik <[email protected]>
     1  Vincent Chen <[email protected]>
     1  Will Deacon <[email protected]>
     1  Xingxing Su <[email protected]>

Header files are currently dual-licensed LGPL2.1/MIT, which is somewhat redundant with plain MIT.

rseq.c was licensed under LGPL2.1. Relicencing it to MIT will facilitate its integration into statically built applications.

In order to facilitate eventual code sharing between tests and the
library implementation, I would like to relicense the tests from LGPL2.1 to MIT as well.

Many of the contributions are trivial, but I prefer to kindly ask for approval nevertheless.

Thanks,

Mathieu

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
#1 lore raw
Quoted 7 lines · Mathieu Desnoyers

Hi,

I would like to get contributor approval to relicense the rseq selftests within the Linux kernel and the librseq project to MIT. This will make it easier to use librseq from statically built applications, and I wish to continue sharing code between the kernel rseq selftests and librseq.

I have no issues with this. Let me know if you need anything more formal.

Thanks,
Peter

Quoted 44 lines

Allowing use of rseq application headers from statically built applications was the intent from the beginning, but it turns out that having the rseq.c initialization code under LGPL2.1 makes it harder than it should be for users.

The current contributor summary commit-wise under
tools/testing/selftests/rseq is:

    269  Mathieu Desnoyers <[email protected]>
      6  Michael Ellerman <[email protected]>
      5  Shuah Khan <[email protected]>
      3  Michael Jeanson <[email protected]>
      3  Peter Oskolkov <[email protected]>
      2  Martin Schwidefsky <[email protected]>
      1  Masahiro Yamada <[email protected]>
      1  Paul Burton <[email protected]>
      1  Sabyasachi Gupta <[email protected]>
      1  Vasily Gorbik <[email protected]>
      1  Vincent Chen <[email protected]>
      1  Will Deacon <[email protected]>
      1  Xingxing Su <[email protected]>

Header files are currently dual-licensed LGPL2.1/MIT, which is somewhat redundant with plain MIT.

rseq.c was licensed under LGPL2.1. Relicencing it to MIT will facilitate its integration into statically built applications.

In order to facilitate eventual code sharing between tests and the library implementation, I would like to relicense the tests from LGPL2.1 to MIT as well.

Many of the contributions are trivial, but I prefer to kindly ask for approval nevertheless.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com

#2 lore raw
In reply to Mathieu Desnoyers
Quoted 9 lines · Mathieu Desnoyers

Hi,

I would like to get contributor approval to relicense the rseq selftests within the Linux kernel and the librseq project to MIT. This will make it easier to use librseq from statically built applications, and I wish to continue sharing code between the kernel rseq selftests and librseq.

Allowing use of rseq application headers from statically built applications was the intent from the beginning, but it turns out that having the rseq.c initialization code under LGPL2.1 makes it harder than it should be for users.

The current contributor summary commit-wise under
tools/testing/selftests/rseq is:

Quoted 6 lines

   269  Mathieu Desnoyers <[email protected]> 6  Michael Ellerman <[email protected]>
     5  Shuah Khan <[email protected]>
     3  Michael Jeanson <[email protected]>
     3  Peter Oskolkov <[email protected]>
     2  Martin Schwidefsky <[email protected]>

I am having issues reaching Martin Schwidefsky. In this case it's a one-liner contribution to a header which is going from LGPL2.1 OR MIT to MIT, which is fine because it just removes one of the pre-allowed licenses, thus removing some redundancy.

[ CCing Heiko Carstens ]

Rerefence:

commit 3d4d1f05bc990f240d66b0ffaf7121397e14df19

Author: Martin Schwidefsky <[email protected]>
Date:   Mon Apr 29 11:27:58 2019 -0400

rseq/selftests: s390: use trap4 for RSEQ_SIG

Use trap4 as the guard instruction for the restartable sequence abort handler.

Thanks,

Mathieu

Quoted 22 lines

     1  Masahiro Yamada <[email protected]> 1  Paul Burton <[email protected]> 1  Sabyasachi Gupta <[email protected]> 1  Vasily Gorbik <[email protected]>
     1  Vincent Chen <[email protected]> 1  Will Deacon <[email protected]>
     1  Xingxing Su <[email protected]>

Header files are currently dual-licensed LGPL2.1/MIT, which is somewhat redundant with plain MIT.

rseq.c was licensed under LGPL2.1. Relicencing it to MIT will facilitate its integration into statically built applications.

In order to facilitate eventual code sharing between tests and the
library implementation, I would like to relicense the tests from LGPL2.1 to MIT as well.

Many of the contributions are trivial, but I prefer to kindly ask for approval nevertheless.

Thanks,

Mathieu

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
#3 lore raw
Quoted 17 lines · Mathieu Desnoyers
Quoted 9 lines · Mathieu Desnoyers

Hi,

I would like to get contributor approval to relicense the rseq selftests within the Linux kernel and the librseq project to MIT. This will make it easier to use librseq from statically built applications, and I wish to continue sharing code between the kernel rseq selftests and librseq.

Allowing use of rseq application headers from statically built applications was the intent from the beginning, but it turns out that having the rseq.c initialization code under LGPL2.1 makes it harder than it should be for users.

The current contributor summary commit-wise under
tools/testing/selftests/rseq is:

Quoted 6 lines

    269  Mathieu Desnoyers <[email protected]> 6  Michael Ellerman <[email protected]>
      5  Shuah Khan <[email protected]>
      3  Michael Jeanson <[email protected]>
      3  Peter Oskolkov <[email protected]>
      2  Martin Schwidefsky <[email protected]>

Quoted 6 lines

I am having issues reaching Martin Schwidefsky. In this case it's a one-liner contribution to a header which is going from LGPL2.1 OR MIT to MIT, which is fine because it just removes one of the pre-allowed licenses, thus removing some redundancy.

[ CCing Heiko Carstens ]

Trying with another email address for Heiko Carstens. Adding other s390 maintainers as well.

Thanks,

Mathieu

Quoted 41 lines

Rerefence:

commit 3d4d1f05bc990f240d66b0ffaf7121397e14df19
Author: Martin Schwidefsky <[email protected]> Date:   Mon Apr 29 11:27:58 2019 -0400

    rseq/selftests: s390: use trap4 for RSEQ_SIG
    Use trap4 as the guard instruction for the restartable sequence abort handler.

Thanks,

Mathieu

Quoted 22 lines

      1  Masahiro Yamada <[email protected]> 1  Paul Burton <[email protected]> 1  Sabyasachi Gupta <[email protected]> 1  Vasily Gorbik <[email protected]>
      1  Vincent Chen <[email protected]> 1  Will Deacon <[email protected]>
      1  Xingxing Su <[email protected]>

Header files are currently dual-licensed LGPL2.1/MIT, which is somewhat redundant with plain MIT.

rseq.c was licensed under LGPL2.1. Relicencing it to MIT will facilitate its integration into statically built applications.

In order to facilitate eventual code sharing between tests and the
library implementation, I would like to relicense the tests from LGPL2.1 to MIT as well.

Many of the contributions are trivial, but I prefer to kindly ask for approval nevertheless.

Thanks,

Mathieu

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com