Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Nov 2001 11:41:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Nov 2001 11:41:04 -0500 Received: from mail.deis.isec.pt ([194.65.52.68]:34274 "EHLO mail.deis.isec.pt") by vger.kernel.org with ESMTP id ; Tue, 20 Nov 2001 11:40:58 -0500 Date: Tue, 20 Nov 2001 16:40:38 +0000 (WET) From: Luis Miguel Correia Henriques To: Subject: copy to suer space Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm trying to implement a kernel module that will be changing a user process' code segment. I tried to user copy_to_user to patch the process's code but, when I tried to read the new code (just to check...), it didn't worked. Why was that? And what is the solution? Thanks Luis Henriques - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/