Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 6 Dec 2018 04:46:15 +0800
From: Carter Cheng <cartercheng@...il.com>
To: kernel-hardening@...ts.openwall.com
Subject: dynamically allocating memory in the kernel

Hello,

I was wondering if someone here could help me understand something about
the kernel for a project I am working on tracking dynamically allocated
memory. How many ways are there to dynamically allocate memory in the
kernel presently? I know of 4.

get_free_pages family of functions
kmalloc family (including vmalloc)
slab allocation
mempools.

Are there others? I am trying to track them all down so I have
comprehensively know when all allocations occur and all "frees".

Thanks for your help,

Carter.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.