[lkml]   [2003]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectSystem Call Problem
Hello I have a small problem with a new sys call: 

Slackware 8 , Kernel 2.2.19
tring to add a system call i did:


#include <linux/luca.h>
#include <linux/kernel.h>

asmlinkage int sys_luca(void){
printk("my call in the kernel\n");



#ifndef __LINUX_LUCA_H
#define __LINUX_LUCA_H

#include <linux/linkage.h>
#include <linux/unistd.h>




added: #define __NR_luca 191


added: .long SYMBOL_NAME(sys_luca)
changed from 190: .rept NR_syscalls-191

compiled with make dep, make bzImage

The problem is now that when I boot i see the printk messages at the
bottom. around 5 - 7 times.
When I log in I see the printk messages, and dmesg also. I checked many
resources and cant seem too find what I'm doing wrong; why is my funct being
called at boot time and
login ?

thanks alot

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.038 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site