Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: kernel

Linux

Selinux: changing root mapping

admin June 6, 2021

I want to control some accesses of root in Linux- fedora, for example, I want to run a process and I want root not to be able to kill it. I use SELinux and I changed root mapping from unconfined to …

kernellinuxselinux Comment on Selinux: changing root mapping
Linux

Allocating memory for array of struct in linux kernel and got strange output od structs ids

admin March 6, 2021

I wrote a program in linux kernel, which should allocate memory for 5 simple structures each of with unique id, so i used static int in a constructor and increment it and in the end i just print …

ckernellinuxstruct
Linux

How does OS kernel get notified when memory is accessed?

admin March 6, 2021

As far as I know, OS kernel maintains the translation from virtual address to physical address, and the userspace program uses virtual address, the CPU uses physical address. Since all machine codes …

kernellinuxmemoryoperating-system
Linux

how to get physical memory including reserved memory from linux kernel?

admin March 26, 2020

From linux’s proc.txt: MemTotal: Total usable ram (i.e. physical ram minus a few reserved But how to get the whole physical ram including reserved memory from linux kernel?

ckernellinuxmemory
Linux

An kdump tool issue with the customized kernel

admin November 7, 2019

when we are using the kdump tool, we need to install the according kernel-debug*.rpm at first. My questions is , the linux I am using is compiled by myself with lots of modifications. When could I …

debuggingkernellinux
Linux

Using spi-bitbang driver

admin September 5, 2019

I am writing a kernel module to read and write to SPI device (CC1200). My linux device does not have native SPI, so I am trying to bit-bang the bus. I found that linux has built-in bitbang code (…

ckernellinuxspi
Linux

What happened my ttyS0 has no irq list in /proc/interrupt

admin January 25, 2019

In this system, it blocks(hang) in the following cases: echo “test” > /dev/ttyS0 cat /dev/ttyS0 #read nothing even scope show the UART data there stty -F /dev/ttyS0 115200 If I set serial …

driverkernellinuxserial-portuart
Linux

How to monitor process creation and statistics using kernel module

admin August 28, 2018

I wrote a kernel module to monitor cpu and memory time series. Additionally to that, I would like to log all process creations (and their meta date like pid, cmdline, …) and also exists with their …

kernellinuxmodulemonitorprocess
Linux

How does linux pick connect the mouse on my display to a driver in /dev/input/mouse*?

admin April 23, 2018

I am currently reading LDD3, and have some question about how Linux actually proesses input from a device in /dev/input/mouse*? When I cat /dev/input/mouse2 (for my logitech mouse) I see input when I …

driverkernellinuxmousesubsystem
Linux

Add syscalls to linux kernel

admin April 5, 2018

I’m new in working with kernel. I want to add a linked list to my kernel, and I try to fix it like this link : Linux Kernel Programming–Linked List here is code’s that I added to sys.c : syscall …

ckernellinked-listlinuxlinux-kernel

Posts navigation

1 2 … 10 Next
Privacy Policy