This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

prevent module unloading


Hi,

i am interested in protecting some modules unloading via SystemTap. I
have contemplated modifying the name_user argument but i see it is
passed as const. So does that mean that the pointer is pointing to a
read only memory location in which case i have no way of modifying it?
I wanted to change it to some non-existing module name which would
result in an error...Or maybe there is a way to cast the const away
and modify the name....?

Ideas?


Thanks,
-Daniel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]