Rodrigo Rosenfeld Rosas wrote: > Hi Jan, > > Is there a way of knowing what was the src_addr or pptr data passed to > rtdm_mmap_to_user without using the vm_private_data struct? I mean, can I > obtain those information directly in the vma struct passed to the close > handler? If so, I could pass a more generic struct to vm_private and use > those information,making my life a bit easier... :) >
I do not see a clean, official way right now. It would definitely be something you have to obtain via vma_area_struct or something that's contained in it. The information is likely there - somewhere. But I doubt that obtaining it would make your code very portable across different kernel versions. Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core