]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: define permissions for DCB netlink messages
authorEric Paris <eparis@redhat.com>
Thu, 16 Dec 2010 16:46:51 +0000 (11:46 -0500)
committerEric Paris <eparis@redhat.com>
Thu, 16 Dec 2010 17:50:17 +0000 (12:50 -0500)
commit943e9279aa93a2849c25ea2c81cb4789d9a22e84
tree8b825e93e80367fc55f43641037301abfcca0b17
parentc0a5fe90dc7fd20a5d09c70b3459acfab0407adc
SELinux: define permissions for DCB netlink messages

Commit 12513dde added two new netlink message types to the netlink route
socket.  SELinux has hooks to define if netlink messages are allowed to
be sent or received, but it did not know about these two new message
types.  By default we allow such actions so noone likely noticed.  This
patch adds the proper definitions and thus proper permissions
enforcement.

Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/nlmsgtab.c