mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
parser: Add warning to capability_table about the need to update the Makefile
The autogenerated capabilities comparison needs to be updated if the capability_table structure changes. Add a note by the structure to make sure the Makefile will get updated if the structure is changed. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/597 Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -178,6 +178,11 @@ int get_rlimit(const char *name)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* WARNING: if the format of the following table is changed then
|
||||
* the Makefile targets, cap_names.h and generated_cap_names.h
|
||||
* must be updated.
|
||||
*/
|
||||
struct capability_table {
|
||||
const char *name;
|
||||
unsigned int cap;
|
||||
|
Reference in New Issue
Block a user