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

Why does epoll use a combination of the file descriptor number and the open...

In epoll(7):What is the key used to distinguish the file descriptors registered in an interest list?The key is the combination of the file descriptor number and the open file description (also known as...

View Article


Android Linux system call List

Does anyone know where I can find the list of system call that can be used in Android Mobile phones? I guess that looking to the kernel should work, but I cannot find any *.h or *.c with the...

View Article


Get base of DLL in kernel mode

How would I get the base address of a specific dll loaded by a program?PsGetProcessSectionBaseAddress does not work for my situation and I'm not able to use an Image load notifier as I'm working with...

View Article

Mmap a writecombine region to userspace documentation

According to the following documentationhttps://www.kernel.org/doc/html/latest/x86/pat.html,Drivers wanting to export some pages to userspace do it by using mmap interface and a combination...

View Article

C programming: Array of strings only prints capital S [closed]

I'm writing a simple Operating system in assembly and c, but at the moment I'm stuck when implementing interrupts. When calling for example interrupt "int 0x02", the kernel prints the correct interrupt...

View Article


KERNER INSTALL error in VS CODE using ipynb file

I am getting this ERROR or message whenever I am running my commands on my ipynb file. Please HELPenter image description here

View Article

How to run custom program in initramfs

I have built initramfs which I want to use for setting up dm-verity. For testing purposes I don't switch_root and after boot it stays in initramfs. However I need the tool veritysetup. I have it...

View Article

how does Linux get the max_hw_sectors_kb value?

I'm trying to find how the Linux obtains the max_hw_sectors_kb value. I know that it comes from the HW itself but how?

View Article


How to create a mapped device with a specific sector size?

I have implemented my own device mapper target and I am able to create a mapped device with dmsetup create command.The problem is that the sector size for this device becomes the default 512 bytes, and...

View Article


Kernel regression with Bandwidth in R

For a set of 20 bandwidth values, equally spaced between 0.01 and 1, fit a kernel regression to the training points and predict the regression function at the test x points. Evaluate its test error,...

View Article

Linux kernel code how to create shell and use syscalls?

Can I use syscalls in linux kernel code?In general I want to create a new bash shell with specific perms and send it to the user (maybe specific tty?) any suggestions?How can I send variables or...

View Article

Windows Syscall Tracing Using ETW - Value of DesiredAccess

I am trying programmatically to monitor windows system calls in real-time.I've come across a log provider called "Microsoft-Windows-Kernel-Audit-API-Calls".Event data looks like this:<Event...

View Article

How to get input from user with c/c++ (for operating system)

I am writing an operating system with C++ to learn (INCLUDING C) I learned a few functions such as printing to the screen, but I could not learn to receive input from the user and print to the screen....

View Article


Does each process has its own process table or there is just one process...

I am studying unix operating system. And I am having lot confusion regarding process data structure in unix.1> Are there separate process tables per processes or only one that only kernel manipulate...

View Article

Image may be NSFW.
Clik here to view.

Tying together user-virtual, kernel-logical, and kernel-virtual addresses...

After looking at the Linux x86 virtual memory map and reading about the differences between kernel virtual and kernel logical addresses (see 1, 2, 3, 4, 5, etc.), I've come away a little confused. I...

View Article


`net.ipv4.tcp_challenge_ack_limit` parameter is not added in container...

I'm trying to set net.ipv4.tcp_challenge_ack_limit parameter inside container but it gives me error:open /proc/sys/net/ipv4/tcp_challenge_ack_limit: no such file or directory: unknownMy kernel version...

View Article

Changing your kernel in AWS appears to break boot sequence (grub config...

Using Ubuntu 20.04 on AWS, I wanted to change my kernel from AWS to a generic one.This is because Jibri (Jitsi Video Recorder) requires the use of ALSA and to modprobe snd-aloop , but anything that...

View Article


grub2: specify http location for linux kernel and initrd image in grub.cfg

I am trying to configure network boot to install different Linux OS versions. I have an CentOS source machine with httpd, dhcpd and tftp configured. My http server is hosting the extracted files of the...

View Article

How do I know the page cache size of a linux process

Now that I can know the overall cached pages of the system by /proc/meminfo, can I further know for a specific process how many page caches does it consume? My first thought is to add up all the RSSes...

View Article

Image may be NSFW.
Clik here to view.

Linux kernel make ERROR : no rule to make target 'FORCE', needed by...

I'm editing the Linux kernel. But make doesnt work.no rule to make target 'FORCE', needed by './config_data.gz' stopThis error keeps coming out. What's the solution?

View Article
Browsing all 6334 articles
Browse latest View live


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