]> git.baikalelectronics.ru Git - kernel.git/commit
device_cgroup: add DEVCG_ prefix to ACC_* and DEV_* constants
authorRoman Gushchin <guro@fb.com>
Sun, 5 Nov 2017 13:15:30 +0000 (08:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 14:26:51 +0000 (23:26 +0900)
commitb58800fdc261df80e28ab4b8542bc13d415a2c83
treec07c29404d0d8bd861e3c85a1f955e66edb15503
parent1b2bfe0e243461fbbc293b9ba39daf12e0633015
device_cgroup: add DEVCG_ prefix to ACC_* and DEV_* constants

Rename device type and access type constants defined in
security/device_cgroup.c by adding the DEVCG_ prefix.

The reason behind this renaming is to make them global namespace
friendly, as they will be moved to the corresponding header file
by following patches.

Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/device_cgroup.c