Page MenuHomeFreeBSD

system(3): Unwrap execve()
ClosedPublic

Authored by des on Mar 4 2026, 2:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 4, 10:21 PM
Unknown Object (File)
Fri, Oct 2, 7:32 AM
Unknown Object (File)
Fri, Oct 2, 7:29 AM
Unknown Object (File)
Fri, Oct 2, 6:53 AM
Unknown Object (File)
Thu, Oct 1, 10:19 PM
Unknown Object (File)
Tue, Sep 29, 5:25 PM
Unknown Object (File)
Tue, Sep 29, 3:38 PM
Unknown Object (File)
Mon, Sep 21, 10:30 AM
Subscribers

Details

Summary

There is no need to call execl(), which will allocate an array and copy
our arguments into it, when we can use a static array and call execve()
directly.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable