Re: [can-next v2] can: proc: remove pointers from CAN specific proc output
Sebastian Andrzej Siewior <[email protected]>
| Newsgroups | org.kernel.vger.linux-can |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-15 12:34:00 [+0200], Oliver Hartkopp wrote: > The proc content in /proc/net/can/ and /proc/net/can-bcm/ is intended to > check the internal filter lists (af_can, can_raw) and the efficiency and > functionality of can_bcm jobs. While it was ok to leak kernel internal > addresses at time of writing the times have changed and multiple attempts > have been taken to hash or remove such now sensible data. > > This patch removes the disclosure of pointers and instead provides the > function names and sock inode numbers when available. As there's no known > tooling around the CAN specific proc output breaking the ABI with this > rework creates no issue. > > Suggested-by: Sebastian Andrzej Siewior <[email protected]> > Signed-off-by: Oliver Hartkopp <[email protected]> Reviewed-by: Sebastian Andrzej Siewior <[email protected]> Sebastian