setuid scripts wrapper (RFC, proposal)

lists at sply.org lists at sply.org
Thu Apr 6 19:44:11 UTC 2006


> 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.


More information about the freebsd-hackers mailing list