[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: syslog with syscall3
sounak chakraborty wrote:
> dear sir,
> i am facing some problem when i want to retrieve the
> lines of
> information from the log file i.e from /var/log/messages

> i am using syslog function with syscall3 is
> showing the output
> correctly but whenever i am declaring the structures
> of sockets it is showing segmentation fault

Are there any oops messages in the kernel log?

Please post your source code (it is userspace or in-kernel?).


> how to correctt it
> is it so that my syscall 3 macro changing the program
> to kernel mode
> and all the socket functions are not in or different
> in kernel mode ?
> then what will be the possible solution if i want t
> retrieve the information from logfile and send it to a file.

> thanks in advance
> sounak

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 14:09    [W:0.037 / U:2.644 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site