From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id F2EAE1EF6AF; Sat, 20 Jul 2013 04:36:05 -0400 (EDT) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by befuddled.reisers.ca (Postfix) with ESMTPS id 6CCB41EF08B for ; Sat, 20 Jul 2013 04:36:05 -0400 (EDT) Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6K8a2nR012547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 20 Jul 2013 08:36:03 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6K8a2Ys026146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 20 Jul 2013 08:36:02 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6K8a27l026138 for ; Sat, 20 Jul 2013 08:36:02 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 20 Jul 2013 01:36:01 -0700 (PDT) From: Don Raikes Sender: Don Raikes 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> <8761w6wfrv.fsf@mushroom.PK5001Z> In-Reply-To: <8761w6wfrv.fsf@mushroom.PK5001Z> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] 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: Sat, 20 Jul 2013 08:36:06 -0000 Thanks for all the help. Unfortunately my professor has been of limited he= lp in the assignment. So I have posted a message on the kernelnewbies list= . -----Original Message----- From: Chris Brannon [mailto:chris@the-brannons.com]=20 Sent: Friday, July 19, 2013 11:45 AM To: Speakup is a screen review system for Linux. Subject: Re: ot memory allocation question Don Raikes writes: > Chris, > > I gave that code segmentthat I sent a try, and it gives me an error in=20 > the copy_to_user call. It looks like none of the bytes were copied to=20 > 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 m= uch further help. -- Chris _______________________________________________ Speakup mailing list Speakup@linux-speakup.org http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup