Testing on Lunar: ---
The default behavior before the regression is restored/fixed. The modified behaviors are unchanged.
$ lsb_release -cs No LSB modules are available. lunar
Original:
$ uname -rv 6.2.0-27-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 12 22:39:51 UTC 2023
$ cat /proc/cmdline ... root=... ro
$ sudo ./test-loop open: /dev/loop8: No such device or address
...
$ cat /proc/cmdline ... root=... ro max_loop=0
$ sudo ./test-loop $
$ cat /proc/cmdline ... root=... ro max_loop=8
Patched:
$ uname -rv 6.2.0-27-generic #28+lp2015400 SMP PREEMPT_DYNAMIC Mon Jul 24 22:16:20 UTC 2023
Testing on Lunar:
---
The default behavior before the regression is restored/fixed.
The modified behaviors are unchanged.
$ lsb_release -cs
No LSB modules are available.
lunar
Original:
$ uname -rv
6.2.0-27-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 12 22:39:51 UTC 2023
$ cat /proc/cmdline
... root=... ro
$ sudo ./test-loop
open: /dev/loop8: No such device or address
...
$ cat /proc/cmdline
... root=... ro max_loop=0
$ sudo ./test-loop
$
...
$ cat /proc/cmdline
... root=... ro max_loop=8
$ sudo ./test-loop
open: /dev/loop8: No such device or address
Patched:
$ uname -rv
6.2.0-27-generic #28+lp2015400 SMP PREEMPT_DYNAMIC Mon Jul 24 22:16:20 UTC 2023
$ cat /proc/cmdline
... root=... ro
$ sudo ./test-loop
$
...
$ cat /proc/cmdline
... root=... ro max_loop=0
$ sudo ./test-loop
$
...
$ cat /proc/cmdline
... root=... ro max_loop=8
$ sudo ./test-loop
open: /dev/loop8: No such device or address