It was on Mon, 28 Feb 2000, Riley Williams typed in this..
>Hi Shourya.
>
> > What are the reasons the function access_ok (VERIFY_WRITE,
> > unsigned long * d) can return FALSE if I am passing a
> > temporary variable to d (which I assume to be in user
> > space.
>
>While I can't answer the rest of your questions, I can point out
>that temporary variables have a habit of being in stack space,
>not user space...
>
>Best wishes from Riley.
Wopuld that mean that i cannot pass any variable from within a function
(not even main() ) to ptrace (PTRACE_GETREGS,....). See
linux/arch/i386/kernel/ptrace.h .. near the lowr half.
>
> * Copyright (C) 1999, Memory Alpha Systems.
> * All rights and wrongs reserved.
>
>+----------------------------------------------------------------------+
>| There is something frustrating about the quality and speed of Linux |
>| development, ie., the quality is too high and the speed is too high, |
>| in other words, I can implement this XXXX feature, but I bet someone |
>| else has already done so and is just about to release their patch. |
>+----------------------------------------------------------------------+
> * http://www.memalpha.cx/Linux/Kernel/
-- _______________________________________________________________ Shourya Sarcar <sarcar@vsnl.com> <Tel:91-033-4710477> Department of Computer Science and Engineering Jadavpur University Calcutta, India 700 032All the world's a stage.. And I am acting tonight C - the difference : http://www.eskimo.com/~scs/C-faq/top.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:21 EST