linux-mips-fnet
[Top] [All Lists]

mount() problem triggered by busybox mount

To: <andersen@lineo.com>, <linux-mips@fnet.fr>
Subject: mount() problem triggered by busybox mount
From: "Jay Carlson" <nop@nop.com>
Date: Sat, 22 Apr 2000 16:31:11 -0400
I don't know whether you think this is a kernel bug or a busybox bug.

mount() on Linux/MIPS doesn't like stack-allocated arguments, bombing with
EFAULT.  I suspect this is the fault of fs/super.c:copy_mount_options, but
I'm not sure.

This is fixable in busybox by adding strdup()s to specialfile, dir,
filesystemtype, string_flags in mount.c:do_mount before the status=mount()
line.

Jay

<Prev in Thread] Current Thread [Next in Thread>