Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Thanks @Giles - you did a lot of research with Jailshell - even looking though the source. I appreciate that. Commented Jun 4, 2013 at 0:33
  • @Giles - can you point me to documentation on execvl because jaikit uses execv and I am having a hard time finding execvl - did you mean execl ? Commented Jun 4, 2013 at 4:11
  • @cwd Yes, I meant execl, sorry. Commented Jun 4, 2013 at 8:31
  • @Gilles Does the same method apply to other executables, as in the case of symlink /sbin/reboot -> /bin/systemctl ? Is this the only way an executable can detect its invocation ? Commented Jan 28, 2019 at 20:27
  • 1
    @SergiyKolodyazhnyy 1. Yes. 2. Yes, in the sense that this information is only conveyed through argv[0] (a program could in principle find argv[0] in a different way, but that would still be the information passed by the invoking process in argv[0]). Commented Jan 28, 2019 at 20:44