From owner-freebsd-stable Sat Jan 13 02:09:59 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA17382 for stable-outgoing; Sat, 13 Jan 1996 02:09:59 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA17377 Sat, 13 Jan 1996 02:09:55 -0800 (PST) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id CAA00387; Sat, 13 Jan 1996 02:09:40 -0800 Message-Id: <199601131009.CAA00387@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Gary Palmer cc: hackers@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: abuse and the -stable linux emu. In-reply-to: Your message of "Fri, 12 Jan 1996 09:58:58 PST." <14027.821469538@westhill.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 13 Jan 1996 02:09:39 -0800 From: "Amancio Hasty Jr." Sender: owner-stable@FreeBSD.ORG Precedence: bulk Here is an old mail which I posted to my multimedia mailing which allows abuse to run: Return-Path: multimedia-owner Received: (from root@localhost) by rah.star-gate.com (8.6.12/8.6.9) id MAA00368 for multimedia-outgoing; Wed, 15 Nov 1995 12:59:52 -0800 Received: from rah.star-gate.com (localhost [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.9) with ESMTP id MAA00360; Wed, 15 Nov 1995 12:59:41 -0800 Message-Id: <199511152059.MAA00360@rah.star-gate.com> X-Mailer: exmh version 1.6.2 7/18/95 To: "Eric L. Hernes" cc: multimedia@star-gate.com Subject: Re: linux' mknod and named pipes. In-reply-to: Your message of "Wed, 15 Nov 1995 14:03:40 CST." <199511152003.OAA06387@jake.lodgenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Nov 1995 12:59:40 -0800 From: "Amancio Hasty Jr." Sender: owner-multimedia@star-gate.com Precedence: bulk This is a quick and dirty trick for linux mknod problem in freebsd. How quick? I just literally slap this on the code... I stuck this on linux_files.c int linux_mknod(struct proc *p, struct linux_creat_args *args, int *retval) { struct { char *path; int flags; int mode; } bsd_open_args; bsd_open_args.path = args->path; bsd_open_args.mode = args->mode; return mkfifo(p, &bsd_open_args, retval); } ---- and in linux_sysent.c extern int linux_mknod(); and change the mknod call to linux_mknod : linux_sysent.c: 3, mknod, /* 14 */ to linux_sysent.c: 3, linux_mknod, /* 14 */ --- Have fun, Amancio