i want to reading kernel memory using meltdown
I want to read data section(ex:init_net) in kernel(Unbuntu 16.04, kernel v4.12) using meltdown. so I turn off kaslr and pti. However, the data section that I am trying to read doesn't seem to be read...
View Articledifference between linux distribution and linux operating system? [closed]
I was going through many posts about Ubuntu and got a simple doubt that whether Ubuntu is a linux distribution or it is an linux OS??OR the linux OS and linux distribution is same thing.Thanks in advance
View ArticleCPU resets execution of custom C kernel when accessing global variable
Hope you are doing well during confinemet.As a brief introduction: I write this question not as Tretorn, but as a member of ASOC, an association of computer science students from Spain. We are trying...
View ArticleHow to properly disable SMAP from a linux module?
I am following a tutorial from here.I have the following code:#include <linux/init.h> // Macros used to mark up functions e.g. __init __exit#include <linux/module.h> // Core header for...
View ArticleSpyder Kernels "module not found" on Ubuntu VM
I am trying to connect a spyder kernel with my remote Ubuntu machine and was following this guide. Installing spyder kernels using sudo pip install spyder-kernels worked fine. However, when trying to...
View Articleend kernel panic - not syncing: attempted to kill init! exitcode = 0x00007f00
enter image description hereI cannot access terminal and recovery mode is also not working. Please, can someone help me?
View ArticleCompile multiple Kernel modules that share code
I whish to compile two Kernel modules (out of tree) that share a common library : module1.c uses functions from library.c and module2.c also uses functions from library.c. But, library.c implements a...
View ArticleC++ STL Containers are unusable without exceptions, what can we do about this?
The supposed ethos of C++ is "what you use, you pay for". However, this can be quite debilitating due to exceptions and their pervasive use in the STL.Before anybody says "just turn exceptions on",...
View ArticleProblems compiling a kernel I have modified
I took Linux kernel version 4.9.30, added a new directory /fsac whose files include headers from other directory (/include/fsac) and that is almost all I changed. Trying to compile I get a lot of...
View Articlefatal error: linux/gpio/machine.h: No such file or directory
I'm trying to write descriptor-based GPIO interface in x86 from linux driver development book by john madieu i came to know " With the descriptor-based interface, prior to allocating and taking the...
View ArticleIs CPU affinity enforced across system calls?
So if I set a process's CPU affinity using:sched_setaffinity()and then perform some other system call using that process, is that system call ALSO guaranteed to execute on the same CPU enforced by...
View ArticleChange kernel config but defconfig already there
My yocto repo already has a kernel config file:defconfigRight now, I want to do more modification on kernel config, can I still usebitbake -c menuconfig virtual/kernelor I need to directly edit on...
View ArticleStuck in Bootup Page Kali Linux in VMWARE [closed]
I am opening my virtual machine after a really long time , and I am stuck in this page and I have no idea how to resolve the error.Any help is appreciated
View ArticleInformation about itimer
I am new to linux kernel, I found that kernel have some trace events as itimer_state & itimer_expire. Can you tell me what is itimer & why it is used?Thanks
View ArticleHow to read the kernel panic report?
{“bug_type":"210","timestamp":"2020-04-12 19:33:01.00 +0200","os_version":"iPhone OS 13.4.1 (17E262)","incident_id":"193753D5-4906-4176-89C4-900C53AE9F57"}{"build" : "iPhone OS 13.4.1...
View ArticleThe kernel appears to have died - libpysal in jupyer notebook
after running the following line my jupyter notebook kernel dies and restarts. It always happens when I try to run this particular cell. I updated libpysal (the module the code is dependent on) as that...
View ArticleLinux operating system ( Ubuntu)
I am tying sudo apt-get install gparted command on terminal but it is not working properly and showing this error. What could be the problem?E: Could not get lock /var/lib/dpkg/lock - open (11:...
View ArticleAddress of gdtr in Linux
I am not clear about the address of gdtr.from the book "Understanding The Linux Kernel". 2.2.2 Segment Descriptor( page 38)"The address of the GDT in main memory is contained in the gdtr processor...
View ArticleMy Linux kernel module failed to request from system keyring
I'm new to the development of kernel module. I want my module to perform a task like signature verification, so I add my own self-signed certificate path to CONFIG_SYSTEM_TRUSTED_KEYS and compile to...
View Articlecall a kernel module function from program at user space
I developed a kernel module and some functions on it. Now i need to develop a program in the user space and call some functions which are in the kernel module.I also need to access some global variable...
View Article