Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263983AbUCZJNw (ORCPT ); Fri, 26 Mar 2004 04:13:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263977AbUCZJNv (ORCPT ); Fri, 26 Mar 2004 04:13:51 -0500 Received: from 81-2-122-30.bradfords.org.uk ([81.2.122.30]:11648 "EHLO 81-2-122-30.bradfords.org.uk") by vger.kernel.org with ESMTP id S263981AbUCZJNt (ORCPT ); Fri, 26 Mar 2004 04:13:49 -0500 Date: Fri, 26 Mar 2004 09:12:39 GMT From: John Bradford Message-Id: <200403260912.i2Q9CdLU000531@81-2-122-30.bradfords.org.uk> To: Stefan Smietanowski , GOTO Masanori Cc: Matthew Wilcox , Jeff Garzik , Adrian Bunk , 239952@bugs.debian.org, debian-devel@lists.debian.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <4063EFA5.5070001@stesmi.com> References: <20040325082949.GA3376@gondor.apana.org.au> <20040325220803.GZ16746@fs.tum.de> <40635DD9.8090809@pobox.com> <20040326003339.GD25059@parcelfarce.linux.theplanet.co.uk> <81ptb0wh45.wl@omega.webmasters.gr.jp> <4063EFA5.5070001@stesmi.com> Subject: Re: Binary-only firmware covered by the GPL? Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 22 > > But think about: why can we distribute assembler only code in linux > > kernel? It's near to binary form (objdump -d is your friend). > > It's not. The difference is that we can always insert another asm > statement anywhere (of course changing the way the function works) > and still have it assemble and unless we goofed up it'll still run. > mov ax,ax for instance won't do a thing. We can insert that > anywhere we wish without changing anything. The assembler will take > care of any relative jumps and pointers but with a binary firmware, > try to insert a byte into it (not CHANGE one, INSERT one), even > if you know just insert a NOP somewhere - and see what happens. Then why didn't the original programmer leave a patch space to allow for such modifications? Surely that could be considered part of the 'preferred form'. John. - 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/