Re: [PATCH 0/9] Devices accessibility control group (v4)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pavel Emelyanov
Date: Thursday, March 6, 2008 - 1:36 am

Greg KH wrote:

Different dev is not suitable, since task may still call mknod to
create device it needs and use it. This is not about comfortable
use, this is about security.

LSM approach was proposed, but that required some API to configure
the permissions. This API done via control groups, so there were no
difference between this approach and that. Except for this one doesn't
create one more level of filtering at the top of kobject lookup and
thus is simpler and faster.


That approach relies on a proper user space setup inside a container, 
but this creates security holes, since container user may ignore all
these "requirements".


Sure we _can_ modify udev, but the problem is that users of virtualisation
solutions often (very often) use old software (e.g. set up some out-dated
distribution inside a container), so trick with modified udev simply won't
work in many cases.


These are not hooks actually. I just made kobj_map-s per-group.


Thanks,
Pavel
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/9] Devices accessibility control group (v4), Pavel Emelyanov, (Wed Mar 5, 10:23 am)
[PATCH 1/9] Avoid magic constants in drivers/base/map.c, Pavel Emelyanov, (Wed Mar 5, 10:25 am)
[PATCH 2/9] Cleanup the get_gendisk() a bit, Pavel Emelyanov, (Wed Mar 5, 10:28 am)
[PATCH 3/9] Add a mode on the struct probe, Pavel Emelyanov, (Wed Mar 5, 10:32 am)
[PATCH 5/9] Make use of permissions, returned by kobj_lookup, Pavel Emelyanov, (Wed Mar 5, 10:37 am)
[PATCH 6/9] Extend the drivers/base/map.c functionality, Pavel Emelyanov, (Wed Mar 5, 10:40 am)
[PATCH 9/9] Devices accessibility control group itself, Pavel Emelyanov, (Wed Mar 5, 10:47 am)
Re: [PATCH 0/9] Devices accessibility control group (v4), Serge E. Hallyn, (Wed Mar 5, 8:15 pm)
Re: [PATCH 0/9] Devices accessibility control group (v4), Pavel Emelyanov, (Thu Mar 6, 1:36 am)
Re: [PATCH 0/9] Devices accessibility control group (v4), Pavel Emelyanov, (Fri Mar 7, 1:54 am)