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]

Re: loc2c-runtime deref()


> Then can you please educate me/us about how come your macros call
> __get_user_asm, the same routines defined in asm/uaccess.h that are
> used for get_user(), copy_from_user(), and so on?

__get_user_asm is a handy macro that implements the fetch with fault
recovery.  Read the uaccess.h code to see what it does.  It doesn't have
anything to do with checking user-mode pointers per se.  It's just named
that because it's a subroutine of the user-access macros.  I provided
macros that work.  If you want to comment them better or implement them in
ways that don't use identifiers you don't like, feel free.


Thanks,
Roland


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