execve

Koblinger Egmont (egmont@fazekas.hu)
Mon, 27 Jul 1998 12:11:31 +0200 (CEST)


Hi there!

The execve() call allows to execute a process with no arguments at all,
so argc==0, argv[0]==NULL. Most of the programs, even setuid ones such as
sendmail, suidperl etc. behave very strange way if they are called with no
arguments since their programmer except that argc>=1. Usually they exit
with segmentation fault.

Does anyone need this feature (or bug) ? I think disabling this would
increase security.

bye
Egmont Koblinger
egmont@fazekas.hu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html