Skip to content
Advertisement

Tag: kernel

RT preempt vs RTAI vs Xenomai for real-time linux

What are differences, pros and cons of the three referred real time OS framework, extensions or patches? I want to measure a CPU timestamp counter (TSC), time in nanosecond everytime when a data frame or an ack frame of Wifi is sent or received. And I realized that one of three real time technique is required to increase precision and

How to trap memory reads and writes using sigsegv?

How do I trick linux into thinking a memory read/write was successful? I am writing a C++ library such that all reads/writes are redirected and handled transparently to the end user. Anytime a variable is written or read from, the library will need to catch that request and shoot it off to a hardware simulation which will handle the data

How to limit privileged user access at Linux Kernel level?

I found this answer on learning Linux Kernel Programming and my question is more specific for the security features of the Linux Kernel. I want to know how to limit privileged users or process’s access rights to other processes and files in contrast to full access of root. Until now I found: user and group for Discretionary Access Control (DAC),

Bulk message transfer USB Linux

I am at the very beginning to write my own Linux Driver for a dds generator. I want to write 2 bulk messgages to the generator when der Kernel call the probe function. But I dont know how to call the usb_bulk_msg function. I hope you could me. hsync Answer Kernel is kinda self-explanatory project, so usually you can find

Linux kernel : logging to a specific file

I am trying to edit the linux kernel. I want some information to be written out to a file as a part of the debugging process. I have read about the printk function. But i would like to add text to a particular file (file other from the default files that keep debug logs). To cut it short: I would

System calls : difference between sys_exit(), SYS_exit and exit()

What is the difference between SYS_exit, sys_exit() and exit()? What I understand : The linux kernel provides system calls, which are listed in man 2 syscalls. There are wrapper functions of those syscalls provided by glibc which have mostly similar names as the syscalls. My question : In man 2 syscalls, there is no mention of SYS_exit and sys_exit(), for

undefined reference to system call added to kernel

After adding the system call to kernel I tried to compile the kernel. It ran for 2 hours and at the end threw undefined reference to <system call added by me> Any idea what had happened. Kernel 3.9.3 Steps followed are – Get kernel codes from www.kernel.org. wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.3.1.tar.bz2 Upzip it with command tar xvfj XXX to a folder example

Advertisement