lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 18 Apr 2022 22:04:18 +0100
From:   Phillip Potter <phil@...lpotter.co.uk>
To:     Jens Axboe <axboe@...nel.dk>, Enze Li <lienze@...inos.cn>
Cc:     linux-kernel@...r.kernel.org, linux-block@...r.kernel.org
Subject: Re: [PATCH] cdrom: do not print info list when there is no cdrom
 device

On Mon, Apr 11, 2022 at 10:51:28AM -0600, Jens Axboe wrote:
> >   20  -- Modify sysctl/proc interface. I plan on having one directory per                 
> >   21  drive, with entries for outputing general drive information, and sysctl             
> >   22  based tunable parameters such as whether the tray should auto-close for             
> >   23  that drive. Suggestions (or patches) for this welcome!
> > ================================================
> > I'd like to know if the relevant patches are still welcome?
> > 
> > IIUC, the TODO List says that we need to implement a modification of the
> > following form:
> > ----------------------------------------------------------------------------------------------------------
> > $ tree /proc/sys/dev/cdrom
> > /proc/sys/dev/cdrom
> > |--sr0--autoclose
> > |       |-autoeject
> > |       |-check_media
> > |       |-debug
> > |       |-info
> > |       |-lock
> > |
> > |--sr1--autoclose
> > |       |-autoeject
> > |       |-check_media
> > |       |-debug
> > |       |-info
> > |       |-lock
> > |
> > |--sr2 ...
> > .
> > .
> > .
> > ----------------------------------------------------------------------------------------------------------
> > I would appreciate it if you could give me some advice.
> 
> Let's not do that, this advice is perhaps 20 years old. /proc isn't to
> be used for anything like that these days.
> 
> -- 
> Jens Axboe
>

Hi Both,

I will send a patch alongside others during the next merge window to
remove this TODO section for now. It was part of the initial mainline
git commit (17 years and two days ago), so it (as Jens says) is almost
certainly even older than this.

Regards,
Phil

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ