linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can-bus user permissions
@ 2014-06-26 10:19 Hodaszi, Robert
  2014-06-26 17:55 ` Oliver Hartkopp
  0 siblings, 1 reply; 2+ messages in thread
From: Hodaszi, Robert @ 2014-06-26 10:19 UTC (permalink / raw)
  To: linux-can@vger.kernel.org

Hi,

A while ago, only root was able to access the can interfaces, except if
the CONFIG_CAN_RAW_USER or CONFIG_CAN_BCM_USER was defined.

I would need a similar behavior: only some selected users or groups
should access the can interfaces, and nobody else. Is it possible to do
that somehow with the current kernel? Or should I modify it?

(E.g. it would be perfect, if I could use it like in case of IP sockets:
iptables -A OUTPUT -o eth0 -m owner --uid-owner 0 -j ACCEPT
and DROP others, or something like this.)

Thanks!
-- 
Robert Hodaszi



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-26 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 10:19 can-bus user permissions Hodaszi, Robert
2014-06-26 17:55 ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).