From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 11B091EF6AF; Fri, 19 Jul 2013 14:44:57 -0400 (EDT) Received: from hurricane.the-brannons.com (unknown [IPv6:2001:470:1:41:a800:ff:fe3e:bc77]) by befuddled.reisers.ca (Postfix) with ESMTP id AF56B1EF08B for ; Fri, 19 Jul 2013 14:44:56 -0400 (EDT) Received: from localhost (unknown [IPv6:2602:4b:af3c:ae00:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 3960078701 for ; Fri, 19 Jul 2013 11:46:24 -0700 (PDT) From: Chris Brannon To: "Speakup is a screen review system for Linux." Subject: Re: ot memory allocation question References: <41356f9b-e7c3-4522-b960-142abea1cedd@default> <87fvvawwrj.fsf@mushroom.PK5001Z> <444275b3-63df-4577-835c-04ebc2830eb3@default> Date: Fri, 19 Jul 2013 11:44:52 -0700 In-Reply-To: <444275b3-63df-4577-835c-04ebc2830eb3@default> (Don Raikes's message of "Fri, 19 Jul 2013 09:00:18 -0700 (PDT)") Message-ID: <8761w6wfrv.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 18:44:57 -0000 Don Raikes writes: > Chris, > > I gave that code segmentthat I sent a try, and it gives me an error in > the copy_to_user call. It looks like none of the bytes were copied to > the userspace buffer. To be honest, this is way out of my league. I can give you another pointer to more reading. I had to really dig for this one. http://www.linux.it/kerneldocs/ksys/ Intercepting syscalls isn't (yet) part of my experience, so I can't be of much further help. -- Chris