LWSS / Cartographer

Linux Kernel Module to spoof /proc maps
66 stars 8 forks source link

additional information for debian/ubuntu/linux mint users #6

Open feskolech opened 4 years ago

feskolech commented 4 years ago

linux mint 19.3 kernel 5.5.7-050507-generic `./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’

define asm_inline asm __inline`

it worked after this: sudo add-apt-repository ppa:jonathonf/gcc-9.0 sudo apt update sudo apt install gcc-9 sudo apt install g++-9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9

Add it to system requirements pls

LWSS commented 4 years ago

not sure I want to recommend some random dude's gcc build, what version was your distro

feskolech commented 4 years ago

$ cat /etc/os-release NAME="Linux Mint" VERSION="19.3 (Tricia)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 19.3" VERSION_ID="19.3"

$ uname -r 5.5.8-050508-generic

there's no gcc/g++ 9.0 in ubuntu 18.04, maybe in 18.10 repos too

daxx-linux commented 4 years ago

hi, thank you for your effort. I have a question about how to read or print the memory maps of a task_struct directly in linux kernel. Is anyone konw how to do it?