Page MenuHomeFreeBSD

system(3): Unwrap execve()
ClosedPublic

Authored by des on Mar 4 2026, 2:43 PM.
Tags
None
Referenced Files
F157461019: D55648.id.diff
Thu, May 21, 5:21 PM
Unknown Object (File)
Sat, May 16, 1:51 AM
Unknown Object (File)
Sun, May 10, 4:32 AM
Unknown Object (File)
Sun, May 10, 4:24 AM
Unknown Object (File)
Mon, Apr 27, 9:02 PM
Unknown Object (File)
Apr 19 2026, 4:16 AM
Unknown Object (File)
Apr 19 2026, 4:13 AM
Unknown Object (File)
Apr 16 2026, 1:59 PM
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