[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101109.090523.189685701.davem@davemloft.net>
Date: Tue, 09 Nov 2010 09:05:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: urs@...ogud.escape.de, netdev@...r.kernel.org,
drosenberg@...curity.com, security@...nel.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH] Fix CAN info leak/minor heap overflow
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Tue, 09 Nov 2010 08:52:21 +0100
> Once this patch is applied (and the procfs layout is changed anyway), i'd also
> like to send a patch from my backlog that would extend the procfs output for
> can-bcm with an additional drop counter.
I find this kind of discussion extremely disappointing.
All of this stuff you CAN guys do with procfs files and version
strings is completely wrong and bogus.
Once you create a procfs file layout, you're basically stuck and you
can at best only reasonably add new fields at the end, you can't
really change existing fields.
And sysfs would have been a lot more appropriate, you could use
attributes for each value you want to export and then just add new
sysfs attributes when you want to export new values which has very
clear semantics and backwards compatability implications.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists