Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 6 Jan 2003 03:57:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 6 Jan 2003 03:57:11 -0500 Received: from f175.sea1.hotmail.com ([207.68.163.175]:45072 "EHLO hotmail.com") by vger.kernel.org with ESMTP id ; Mon, 6 Jan 2003 03:57:10 -0500 X-Originating-IP: [196.44.34.77] From: "Dirk Bull" To: linux-kernel@vger.kernel.org Subject: shmat problem Date: Mon, 06 Jan 2003 09:05:37 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 06 Jan 2003 09:05:38.0114 (UTC) FILETIME=[C7ABC220:01C2B562] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 24 Hi all I have a problem with the shmat() function. It works correctly when one doesn't specify an address where the segment should be attached, but fails when one does. To specify an address it must be alligned and I did by using __attribute__ (aligned()). Still the function fails. What is the most effective way for a solution to this problem. Thanks Dirk _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - 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/