Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 07:40:02 -0800 (PST)
From:      "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/34483: wrong execv() call in amd for ${mount} and ${unmount} if mount type:=program in amd.map
Message-ID:  <200202021540.g12Fe2175061@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/34483; it has been noted by GNATS.

From: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>
To: roam@ringlet.net, timon@memphis.mephi.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/34483: wrong execv() call in amd for ${mount} and ${unmount} if mount type:=program in amd.map
Date: Sat, 2 Feb 2002 18:36:55 +0300 (MSK)

 > From roam@straylight.ringlet.net Sat Feb  2 18:21:17 2002
 > Date: Sat, 2 Feb 2002 17:00:18 +0200
 > From: Peter Pentchev <roam@ringlet.net>
 > To: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>
 > Cc: bug-followup@FreeBSD.org
 > Subject: Re: bin/34483: wrong execv() call in amd for ${mount} and ${unmount} if mount type:=program in amd.map
 >
 > Actually, I now believe Erez to be correct - I no longer think this is a bug.
 > What he is trying to say is that you should provide argv[0] along with
 > the other arguments, *after* the path to the program.  This allows you
 > to execute a program, giving it an argv[0] different from the filename
 > of the executable file - exactly the same way that inetd.conf's syntax
 > allows you to do the same.  This is done to minimize the need for
 > hardlinks, as you say; even without a hardlink, you are able to invoke,
 > say, /sbin/mount as either 'mount' or 'mount_ffs' or 'mount_msdosfs' or
 > whatever else you like.
 Yeah, I found description of this in _info am-utils_... So this pr should be closed, or
 something
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202021540.g12Fe2175061>