linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* Can AUDIT_LIST_RULES causes kthreadd-spam?
@ 2023-05-03 21:14 Rinat Gadelshin
  2023-05-03 21:27 ` Paul Moore
  0 siblings, 1 reply; 13+ messages in thread
From: Rinat Gadelshin @ 2023-05-03 21:14 UTC (permalink / raw)
  To: linux-audit

Hello there =)


My name is Rinat.
I'm a newbie here (at Linux kernel developer community).

My current job is to work with audit subsystem on different
versions of Linux (and different kernel versions from 3.10 to the latest)
with and without auditd.

My program works behalf of root account and uses netlink
(unicast or multicast depends of  the kernel's version)
to communicate with audit subsystem of the kernel.

If actual audit rule list has been changed
then my program should restore the configured audit rule list.

To do it the program periodically (with 60 seconds interval)
requests the actual rule list be sending AUDIT_LIST_RULES.

All rules are receiving perfectly.

But I've noticed that there are many (2K+ for 5 minutes test)
kthreadd process have been spawned after that request
(I've stubbed the poll code and compare logs).

Please, can you point me, what can I do to avoid this kthreadd-spam.


Thank you.

Best regards
Rinath

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-05-24 10:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 21:14 Can AUDIT_LIST_RULES causes kthreadd-spam? Rinat Gadelshin
2023-05-03 21:27 ` Paul Moore
2023-05-03 22:12   ` Rinat Gadelshin
2023-05-04  2:50     ` Tetsuo Handa
2023-05-04 18:40       ` Paul Moore
2023-05-04 22:53         ` Tetsuo Handa
2023-05-05 22:12           ` Rinat Gadelshin
2023-05-06  6:50             ` Tetsuo Handa
2023-05-10 12:12               ` Rinat Gadelshin
2023-05-10 13:30                 ` Tetsuo Handa
2023-05-10 13:48                   ` Steve Grubb
2023-05-24 10:38                   ` Rinat Gadelshin
2023-05-24 10:48                     ` Tetsuo Handa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).