diff options
| author | Pavel Emelyanov <[email protected]> | 2008-06-05 22:46:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-06-06 11:29:11 -0700 |
| commit | 7db9cfd380205f6b50afdc3bc3619f876a5eaf0d (patch) | |
| tree | 270b0212f0501b2dcf927e92e7374aba79c909df /include/linux/debugobjects.h | |
| parent | cc9cb219aac24ffc711566c8f372c2b3a3bf840f (diff) | |
devscgroup: check for device permissions at mount time
Currently even if a task sits in an all-denied cgroup it can still mount
any block device in any mode it wants.
Put a proper check in do_open for block device to prevent this.
Signed-off-by: Pavel Emelyanov <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Tested-by: Serge Hallyn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions