mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
Remove the old unused ptrace code that snuck in years ago.
It was never used, never supported, and we are doing it differently now. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -120,8 +120,7 @@ static void process_entries(const void *nodep, VISIT value, int __unused level)
|
||||
len = strlen((*t)->from);
|
||||
|
||||
list_for_each(target_list, entry) {
|
||||
if (entry->mode & (AA_SHARED_PERMS & AA_PTRACE_PERMS) ||
|
||||
entry->alias_ignore)
|
||||
if ((entry->mode & AA_SHARED_PERMS) || entry->alias_ignore)
|
||||
continue;
|
||||
if (entry->name && strncmp((*t)->from, entry->name, len) == 0) {
|
||||
char *n = do_alias(*t, entry->name);
|
||||
|
Reference in New Issue
Block a user