Date: Sat, 13 Jan 1996 02:09:39 -0800 From: "Amancio Hasty Jr." <hasty@rah.star-gate.com> To: Gary Palmer <gpalmer@cdrom.com> Cc: hackers@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: abuse and the -stable linux emu. Message-ID: <199601131009.CAA00387@rah.star-gate.com> In-Reply-To: Your message of "Fri, 12 Jan 1996 09:58:58 PST." <14027.821469538@westhill.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <erich@lodgenet.com>
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." <hasty@rah.star-gate.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601131009.CAA00387>
