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

Intercept Process Access using a Windows MiniFilter Driver

I am developing a security application which should monitor activity by any process. I successfully managed to intercept file access by installing a MiniFilter driver, thanks to the MiniFilter sample...

View Article


Even python3 environment is activated, JupyterLab cannot be launched properly

When I activate my ipykernel_py3 environment and try to launch Jupyter Lab in terminal, I get the repeated error messages as follows: Macintosh-8:~ yuenfannie$ source activate ipykernel_py3...

View Article


Driver debugging on a local machine

Why there is no GUI kernel debugger like SoftICE, which allows to debug kernel driver on a local machine nowadays? Why remote machine is obligatory for driver debugging in Windows 7 and higher?

View Article

What is the relationship between global_allocator and exchange_malloc?

In a no_std environment, you can define the global heap allocator via #[global_allocator]. However language items such as exchange_malloc and box_free also exist as described in this answer here. What...

View Article

O_PATH equivalent in Linux kernel before 2.6.39?

In latest kernel I use the following code to operate the inode of a symlink file: file = filp_open(filename, O_PATH | O_NOFOLLOW, 0); If I don't add O_PATH, filp_open would fail with -ELOOP. On Linux...

View Article


Looking for books or tutorials for network socket, protocol stack and Kernel...

Now I want to study on some topics like network socket, protocols and their actual mechanisms in hardware level of the computer. There is no such a class in our university. Could anyone recommend me...

View Article

Issues using kernel framework in Xcode

I try to use the kernel framework to modify the MSR-register within my system. The issue is that the linker does not find some headers which are in the framework itself. I'm using Xcode 11.1 and the...

View Article

Vfs_write returning EINVAL?

I'm trying to write a driver with a Linux kernel module. I created a special file, with mknod, called "newfile". I'm executed chmod on that file to enable writing permission, and I put 777. I'm trying...

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...

View Article


Write data from kernel to file

I know that we should avoid writing into a file from the kernel. But out of curiosity, I'm still trying to write data but the kernel is crashing. int file_write(char *filename, unsigned long long...

View Article

mmap failure after changing kernel start address

I'm using Linux 32bit v4.1.8 on PowerPC p4080DS CPU and external GPU. Until now with "regular" (some pre-defined settings and device tree) I managed to create a shared memory region between the CPU...

View Article

insmod: ERROR: could not insert module hello.ko: Required key not available

I'm having trouble loading my own module to the linux kernel. Once I execute: $ sudo ./insmod hello.ko I get the error: insmod: ERROR: could not insert module hello.ko: Required key not available. The...

View Article

Is it necessary for a kernel function to have a corresponding feature map?

I have read about linear kernels, polynomial kernels, etc. Then I wondered whether if it's needed to for a kernel function to have a feature map.

View Article


How to implement class and method in C? (e.g. Linux Kernel) [duplicate]

This question already has an answer here: What does dot (.) mean in a struct initializer? 3 answers I am watching Linux kernel code, and found some C codes that behaves like classes in objected...

View Article

Interrupt on one core and tasklet schedule on different core [duplicate]

This question is an exact duplicate of: How tasklet can be attached on other core which is not getting interrupt? I am not able to address the below issue: Suppose, i am getting interrupt on core-1...

View Article


ls reading directory invalid argument

I've got mounted remote location on linux used command for this $ sudo mount.cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share and it successful, but when i'm displaying...

View Article

Computer Architecture and Design

if ax+b *c / g is input from the keyboard;trace the path of execution from the keyboard to the final output onto the printer which uses bidirectional I/O interface, using your knowledge in computer...

View Article


NMI watchdog messages, ie. 'Shutting down hard lockup detector on all cpus'

When NMI watchdog has been "disabled" it is still chatty. Does anyone know where the docs for these messages live? I'd like to see what is actually happening. For example, verified that it is...

View Article

Why linux disables kernel preemption after the kernel code holds a spinlock?

I am new to Linux and am reading Linux device drivers book by Rubini & Corbet. I am confused at one statement related to spinlocks; the book states If a nonpreemptive uniprocessor system ever went...

View Article

Choosing bandwidth and size window for gaussian kernel smoother

I want to calculate the derivative dY/dt but for that I need to smooth my input data (Y(t)) to get a coherent derivative. I use the Gaussian kernel smoother because from what I have read for what I am...

View Article
Browsing all 6334 articles
Browse latest View live


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