Re: i386 paging question

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

 



Just curious. Can you access the kernel text from user mode?


On Mon, 19 Apr 2004, Ed L Cashin wrote:

> Steve Young <sdyoung@vt220.org> writes:
>
> ...
> > (gdb) x/t &swapper_pg_dir+0x300 (gdb knows to multiply 0x300 by 4)
>
> Is the ampersand your problem?  Off the top of my head it seems like
> you should be looking at:
>
>   swapper_pg_dir+0x300
>
>
> --
> --Ed L Cashin            |   PGP public key:
>   ecashin@uga.edu        |   http://noserose.net/e/pgp/
>
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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