syslog with syscall3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux