Le 09/02/2022 à 18:08, Aaron Tomlin a écrit : > No functional change. > > This patch migrates code that allows one to generate a > list of loaded/or linked modules via /proc when procfs > support is enabled into kernel/module/procfs.c. > > Signed-off-by: Aaron Tomlin <atomlin@xxxxxxxxxx> > --- > kernel/module/Makefile | 1 + > kernel/module/internal.h | 1 + > kernel/module/main.c | 131 +----------------------------------- > kernel/module/procfs.c | 142 +++++++++++++++++++++++++++++++++++++++ > 4 files changed, 145 insertions(+), 130 deletions(-) > create mode 100644 kernel/module/procfs.c Checkpatch: total: 0 errors, 2 warnings, 2 checks, 315 lines checked