/openbmc/linux/security/apparmor/ |
H A D | procattr.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | audit.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | file.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | policy.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | domain.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | apparmorfs.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | lsm.c | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
/openbmc/linux/security/apparmor/include/ |
H A D | file.h | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | audit.h | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | policy.h | 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char *
Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync.
Signed-off-by: John Johansen <john.johansen@canonical.com> 47f6e5cc Mon Jan 16 02:43:01 CST 2017 John Johansen <john.johansen@canonical.com> apparmor: change op from int to const char * Having ops be an integer that is an index into an op name table is awkward and brittle. Every op change requires an edit for both the op constant and a string in the table. Instead switch to using const strings directly, eliminating the need for the table that needs to be kept in sync. Signed-off-by: John Johansen <john.johansen@canonical.com>
|