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

call 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


How to build a Linux kernel module so that it is compatible with all kernel...

I want to build a kernel module that will be compatible with all the kernel’s releases.For example, if I build a kernel module on kernel 3.2.0-29 and try to load it on 3.2.0-86, I get the following...

View Article


unknown symbol set_memory_rw

I am trying to develop a kernel module that hooks the READ system call. for some reason it just doesn't recognize that function.I saw another question of this sort but I didn't really understand the...

View Article

Handling an undefined instruction in the kernel

So I'm playing around with reading system registers in the kernel and I've recently run into a bit of a roadblock.In ARM64, certain system registers (e.g. OSECCR_EL1) are not always implemented. If...

View Article

How to add appArmor to linux distributions

I am trying to add appArrmor to my img.This is the .config file that my device use.I have add...

View Article


Is it possible to map a process into memory without mapping the kernel?

The OSDev wiki says that:It is traditional and generally good to have your kernel mapped in every user processWhy is that though? Can't the process be mapped to memory solely? What are the advantages...

View Article

Kernel panic with exitcode=0x00000004 after /init

I have an embedded ARM system with processor AT91SAM9G45. I try to build linux kernel with initramfs for this system. Kernel version is 4.14.79.After loading kernel and initramfs image at device I have...

View Article

Read/Write the MTD flash via Octeon Simple Executive

Cavium Octeon appliance has mtd0 to 5 flash present. I want to log/dump firmware/Simple Executive crash backtrace to one of the solid state storage/ flash in the appliance. For that I try to initialize...

View Article


Installing with apt failed due to trousers service [closed]

I was learning basics on checking fTPM 2.0 on my device. I was following the basics mentioned here :https://github.com/vchatterji/tpm2-luksWhere after installing tpm2-tss and ran commandsudo useradd...

View Article


How to disable vmwgfx driver without compile a new kernel on Ubuntu?

I know to disable it by compile a kernel without setting CONFIG_DRM_VMWGFX in config.But I don't want build a new kernel,can I achieve it by some configuration?I tried to delete vmwgfx.ko from the...

View Article

Secure removal in Linux Kernel

I try to write little module for secure removal in Linux Kernel. I am using system call interception with kprobes. The idea is this: before calling unlink, I intentionally open the file and write zeros...

View Article

What is the need of having both System.map file and /proc/kallsyms?

I just want to know the difference between System.map file and /proc/kallsyms.I am using Linux 3.16 generic kernel. I know that both are the kernel symbol table.. When I did a compare on this files,...

View Article

Disable Intel HD4000 Graphics on Ubuntu 18 Linux (hardware failure)

So my Samsung Ativ Book 8 laptop has a Radeon 8770m and the integrated HdD4000 built into the intel i7-3635QM Processor. It looks like the HD4000 has some kind of hardware failure. Anytime I boot the...

View Article


Writing a Linux driver for a weird keyboard

I own a keyboard that has an anti-ghosting mode.It is toggled on/off using Fn+ScrollLock. When on, the codes sent are a bit different. The keyboard is still legitimate HID, but, for example, all...

View Article

RHEL 8.1 Custome Lorax-Composer AMI Image Fails to Start

I'm using Lorax-Composer to try and build a custom RHEL 8.1 image for upload to amazon AWS. For testing I am using a generic image built with Lorax and just a baseos install.I've followed the...

View Article


attempting to install new kernel, error modules.order & Makefile Error 2

Attempting to install a new kernel.once it is compiled, I enter:su -c "make modules_install install"this error populates : sed: can't read modules.order: No such file or directorymake[1]: ***...

View Article

Incomplete LSB comment. insserv: missing valid name for `Provides:' please add

recently I installed: Debian x86_64, oracle 11g and OCI8. I'd like to turn automatic the shell script below, but I received the following message error:root@debian:/etc/init.d# uname -aLinux debian...

View Article


Driver taints kernel and can't be unloaded

I have built a kernel module which is causing some problem. Some time after loading it, the driver stops working and at that moment, when I try to use rmmod to unload it, it blocks and I have to...

View Article

How to use wifi on kali linux bootable usb? [closed]

I have recently made my usb bootable and have burnt kali linux os on it.The boot is working pretty fine but I want wifi access since I'm using a laptop.Searched alot on youtube and google but didn't...

View Article

Is there a linux C function to get the file struct from the filename

I am attempting to make a system call that takes the filename as input and edits a tag that I will place the file struct . However, I cannot figure out how to find the file from the filename (it is...

View Article
Browsing all 12241 articles
Browse latest View live


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