0
votes
0answers
18 views

#define SYSCALL_DEFINEx(x, sname, …) [migrated]

In the 3.14 linux kernel there is the following macro : #define SYSCALL_DEFINEx(x, sname, ...) It's located in include/linux/syscalls.h. I added a syscall in the source, I compiled it and I made ...
1
vote
0answers
26 views

CPUFreq Kernel module

I would like to try the CPUFreq module on my board (Marvell Soc based on ARMv7 running a v3.15 linux kernel). My architecture is obviously not supported by the default source code (located in the ...
9
votes
5answers
1k views

What is meant by “a system call” if not the implementation in the programing language?

I would like to understand the term "system call". I am familiar that system calls are used to get kernel services from a userspace application. The part i need clarification with is the difference ...
2
votes
0answers
160 views

How can I compile minix when I make changes in libraries

I am looking for a way to compile minix. The make hdboot command seems to do nothing with the directories under /usr/src/lib. I changed only one .c file in syslib. Do I have to do make world for this ...
5
votes
2answers
342 views

What would I get when sudo a kernel-destructive program?

It suddenly comes to me how easy it will be for a sudoer to crash the kernel, so I tried something like this: #include<stdio.h> int main(){ printf("hello world"); int a; ...
0
votes
1answer
193 views

Understanding a XINU system call - getstk.c [closed]

I am having trouble conceptually understanding what is going on towards the end of this system call, and why. I understand the getstk.c method returns the highest memory address of available space, ...
3
votes
1answer
2k views

What is syscall-template.S?

I've come across a file syscall-template.S more specifically its location is .../sysdeps/unix/syscall-template.S What is this file? Where is it. It is not on my system and I cannot find it in ...
2
votes
1answer
336 views

Unable to access linux/skbuff.h

I am writing a kernel module where I need to access sk_buff variables. But when I write #include <linux/skbuff.h> Netbeans says it can't locate that header file.
3
votes
1answer
1k views

How to capture from instensive pro in Ubuntu, Fedora, CentOS using HDMI interface?

I am trying to use PCI-X1 capture card (intensiy pro) using Ubuntu 10.04 (now) / 11.04 (failed) or Fedora (failed). None of them is yet capturing. I did my best but now i need some backup on this. ...