Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Browsing all 6333 articles
Browse latest View live

How to add the two variations of the open syscall in OS161?

From the man pages of OS161:Synopsis#include <unistd.h>#include <fcntl.h>intopen(const char *filename, int flags);intopen(const char *filename, int flags, mode_t mode);How the standard c...

View Article


Boot problem: What can be the cause of "FAILED Starting the GNOME Display...

I installed new kernel version 5.7 kali linux after removing 5.4 kernel.Updated everything and error on boot after reboot. Error Image attached belowImage of Error

View Article


Should I make my own OS kernel ELF or raw binary?

I have started my journey through OS development. People usually shout that using raw binary instead of ELF (or other structured format) is a common mistake for applications in a custom OS. I can...

View Article

Reset ipython kernel

I was wondering if there is a way to restart the ipython kernel without closing it, like the kernel restart function that exists in the notebook. I tried %reset but that doesn't seem to clear the imports.

View Article

Passing kernel parametes to EFI-Stub in Apple's EFI env [closed]

Good day, everybody.I'm trying to shorten the boot process of an iMac dual-booting OS-X and Ubuntu as much as possible. So far i managed to boot grub (and Ubuntu afterwards) directly by Apple's EFI...

View Article


how to set samsung j1 2016 selinux to permissive

I have a Samsung j1 2016 (j120f), I would like to put my kernel from enforcing to permissive mode. I try to use my boot.img to add in kernel command line androidboot.selinux=permissive with...

View Article

hrtimer timer mode in hrtimer_init() vs expiry mode in hrtimer_start()

I'm struggling to understand why we have two modes for the hrtimer. What effect expiry mode in hrtimer_start() (and related functions) has vs timer mode in hrtimer_init()?

View Article

creating a function for RMSE reconstruction error with KPCA in r

I am trying to get some measure of dissimilarity (reconstruction error) between a single estimated factor of a KPCA and the five variables that are used as inputs into the KPCA procedure. I used...

View Article


Linux Kernel Programming: “Unable to handle kernel NULL pointer dereference...

For a class assignment, we are writing a custom syscall which pulls certain information about the existing process tree. The syscall is working fine for the most part and gets the appropriate...

View Article


'Find_new_reaper function' in linux kernel

I'm a student who studies linux kernel with 'Linux Kernel Development' written by Rovert Love.I'm newbie.In parentless child part of this book, there is a find_new_reap function to find new parent...

View Article

PhpUnit error guessing kernel directory

This is my PhpUnit test class:<?phpnamespace tests\AppBundle\Controller;use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;class SendEmailControllerTest extends WebTestCase{ public function...

View Article

Error Starting Kernel: '_xsrf' argument missing from POST

I don´t know if this error was caused maybe because I deleted one environment from my anaconda navigator, but every time I try starting jupyter lab (from various environments in anaconda or from the...

View Article

crosstool-ng's LD gives "source object a/b/built-in.o has EABI version 5, but...

I just created a gcc11 crosscompiler with crosstool-ng for "arm-unknown-eabi" to compile my kernel (android for msm8974 chipset), but at some point of the linking, the LD gives this error about EABI...

View Article


My newly compiled kernel loses Networking in qemu

I compiled a kernel from source :make defconfigmake kvmconfigmake -j 4After this , i use the resulting bzImage for my qemu command:qemu-system-x86_64 -hda debian.img -kernel bzImage -append...

View Article

joined process cannot write ns_last_pid of the container

A process from a host joined a container's namepsace and is trying to write ns_last_pid file present in /proc/sys/kernel/ns_last_pid. but it is giving an error of Read only file system.whereas i'm able...

View Article


Windbg: find the base module address of a driver object in kernel?

I'm trying to find the base module address of a driver object in kernel mode, its a malicious minifilter driver and the problem is driverentry and major function addresses a seems to be fake(all 0s), I...

View Article

What happens when setting the O_CREAT bit but only providing two parameters...

Here, I was asking about an assignment of implementing the sys_open syscall for OS161 which will be called by the open function.The definition of the open function is as follows:int open(const char...

View Article


Process Control Blocks in Memory [closed]

I want to be able to view the contents of all process control blocks (PCB) in memory. The goal of this is to identify every running process by looking at physical memory alone. I believe that PCBs are...

View Article

Is there a way to step into kernel code with lldb, or otherwise, on the Mac?

Is there a way to see the code that is being called by a syscall instruction with lldb, or otherwise, on the Mac?I am trying to understand what goes behind the hood when a "write" syscall is called. I...

View Article

If i manually load a driver using another driver, will i be able to register...

Lets say for some reason we need to load a kernel driver using another driver manually, meaning we have to basically map it into kernel memory and resolve function addresses and relocations and such....

View Article
Browsing all 6333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>