]> asedeno.scripts.mit.edu Git - linux.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)
commit67e306fdbed71ab0a6e0d5985e088a49061c523f
treec07c29404d0d8bd861e3c85a1f955e66edb15503
parent488e5b30d384ec0b9e3151dee69f4a65c548fe34
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