Re: storing the logs

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

 



On Mon, Jan 31, 2011 at 11:38:30PM -0200, Mauro Romano Trajber wrote:
> Are you sure you're doing it right ? Reading and writing files from within
> the kernel space is bad thing to do.
> Read this good article about that: http://www.linuxjournal.com/article/8110
>  <http://www.linuxjournal.com/article/8110>And if you want to do this
> anyway, there are some pieces of code too ;-)

Yes, but you really don't want to do that.

Seriously.

Don't.

Bad things will happen and no one will be able to help you.

Use a "real" way to get data from the kernel to userspace (netlink,
pseudo-filesystem, device node, etc.)

good luck,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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