Re: Export sys_call_table

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

 



On Sun, 2009-07-12 at 16:40 +0200, Donato Capitella wrote:
> Hi there. I'd like to know if there is a way to export the
> sys_call_table symbol in the kernel 2.6.28.7. i know it's a bad thing to
> do but I need to to this for a didactical purpose. Here follows what
> I've tried.
> 
> First of all, I made the sys_call_table writable modifing the section
> definition in the following assembly file:
> 
> *----- file: arch/x86/kernel/entry_32.S ----*
> -.section .rodata, "a"
> +.section .data, "aw"

What does "w" mean? I have meddled with the sys_call_table symbol and
have changed the
    .section .rodata, "a"
line to
    .section .data, "a"
and it worked.

Razvan


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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