Skip to content

Introduce generic linked list implementation #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Cropi
Copy link
Contributor

@Cropi Cropi commented Jun 24, 2025

I’m wondering if it might be beneficial to have a generic linked list implementation, as proposed in this PR. While I understand that multiple implementations exist to serve specific needs, introducing a shared, flexible version could simplify the codebase.
A quick grep shows the following similar files that could be handled in this fashion:

audisp/audispd-llist.c
audisp/audispd-llist.h
audisp/plugins/ids/nvpair.c
audisp/plugins/ids/nvpair.h
auparse/ellist.c
auparse/ellist.h
auparse/normalize-llist.c
auparse/normalize-llist.h
auparse/nvlist.c
auparse/nvlist.h
src/auditctl-llist.c
src/auditctl-llist.h
src/ausearch-avc.c
src/ausearch-avc.h
src/ausearch-int.c
src/ausearch-int.h
src/ausearch-llist.c
src/ausearch-llist.h
src/ausearch-nvpair.c
src/ausearch-nvpair.h
src/ausearch-string.c
src/ausearch-string.h
tools/aulast/aulast-llist.c
tools/aulast/aulast-llist.h
tools/aulastlog/aulastlog-llist.c
tools/aulastlog/aulastlog-llist.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant