mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01: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:
parent
4d802d6835
commit
139fac6062
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue