Re: read a byte from memory

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

 



On Tue, Jul 09, 2002 at 10:28:15PM +0200, R!SC wrote:
> no , i want for examble read a one byte at address current->mm->start_code;
>  how have to do?

char byte = (char *) current->mm->start_code; ??

Of course, if start_code is in userspace, as I expect it is, use
copy_from_user() instead.


-- 
http://www.wirex.com/

Attachment: pgp00119.pgp
Description: PGP signature


[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