Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 11 Aug 2002 22:56:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 11 Aug 2002 22:56:14 -0400 Received: from rj.sgi.com ([192.82.208.96]:49341 "EHLO rj.sgi.com") by vger.kernel.org with ESMTP id ; Sun, 11 Aug 2002 22:56:13 -0400 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: linux-kernel@vger.kernel.org Subject: Re: Unix-domain sockets - abstract addresses In-reply-to: Your message of "Sun, 11 Aug 2002 21:35:05 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Aug 2002 12:59:53 +1000 Message-ID: <649.1029121193@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 25 On Sun, 11 Aug 2002 21:35:05 -0500 (CDT), Oliver Xymoron wrote: >> > From: Keith Owens >> > Date: Sat, 10 Aug 2002 11:35:04 +1000 >> > >> > af_unix.c is linked into unix.o so we have -DKBUILD_MODNAME=unix. Alas >> > we also have -Dunix=1. __stringify(KBUILD_MODNAME) -> __stringify(unix) -> >> > "1" instead of "unix". > >Might it be simpler to change the overall module name? unix.o is an >especially poor choice of names, compiler defines aside. I prefer that option, expect that it changes the name of a module. Not that we haven't done that before ... A module name of af_unix would be much better, like af_packet. It would require changing the name of af_unix.c (source and conglomerate objects cannot have the same basename) and a change to modutils to map net-pf-1 to af_unix. - 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/