* syslog with syscall3
@ 2005-01-11 12:12 sounak chakraborty
2005-01-11 16:34 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: sounak chakraborty @ 2005-01-11 12:12 UTC (permalink / raw)
To: linux-kernel
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 macro.it is
showing the output
correctly but whenever i am declaring the structures
of sockets it is
showing segmentation fault
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
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: syslog with syscall3
2005-01-11 12:12 syslog with syscall3 sounak chakraborty
@ 2005-01-11 16:34 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2005-01-11 16:34 UTC (permalink / raw)
To: sounak chakraborty; +Cc: linux-kernel
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 macro.it 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?).
TIA.
> 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
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-11 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 12:12 syslog with syscall3 sounak chakraborty
2005-01-11 16:34 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).