Hi, is there any possibility to check, if the user space pointer is correct or not? I don''t refer to invalid address error caused by fault-in paging. Thanks. -- This message posted from opensolaris.org
Peter Vrabel wrote:> Hi, > > is there any possibility to check, if the user space pointer is > correct or not? I don''t refer to invalid address error caused by > fault-in paging. Thanks.define "correct pointer". Michael -- Michael Schuster Sun Microsystems, Inc. recursion, n: see ''recursion''
Peter Vrabel writes:> is there any possibility to check, if the user space pointer is correct or not? I don''t refer to invalid address error caused by fault-in paging. Thanks.If you do copyin(9F) or copyout(9F), it''ll check the pointer and transfer range as part of the effort. No separate check is needed. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677