how to realloc size of array of character (global var) used by create_proc_read_entry
in kernel module,
how to realloc size of array of character (global var) used by create_proc_read_entry
when i use vmalloc to reassign this variable,
it will make linux hang
it seems using another new memory location not allowed
how to base the original memory location to expand the size of array of character?
|