Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2006 23:40:15 +0400
From:      lists@sply.org
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: setuid scripts wrapper (RFC, proposal)
Message-ID:  <web-5280144@inc.ru>
In-Reply-To: <20060406190004.GD700@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> You should be able to get around this by opening the script
> first, using fstatfs() and fstat() and passing the script as /dev/fd/N to
> the interpreter.

Great idea. Thank you very much.


> What I was actually referring to was your use of argv[1], argv[2], argv[3]
> and argv[4] without checking argc or otherwise validating them.

Oops, I did it.



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