i am writing a program which willcopy all the lines from system log file /var/log/messages and put it in a user log file
i am using syslog with syscall3 but when i am using write system cal it is not able to write anything
do i have to add something more
i have added the syscall3 macro for write too
do i have to do it for open system call also
i am little bit confuse with the kernel-user mode switching concept too
could you please help me out
thans
sounak