Page MenuHomeFreeBSD

system(3): Unwrap execve()
ClosedPublic

Authored by des on Mar 4 2026, 2:43 PM.
Tags
None
Referenced Files
F162635777: D55648.diff
Wed, Jul 15, 7:11 AM
F162635776: D55648.diff
Wed, Jul 15, 7:11 AM
F162622319: D55648.diff
Wed, Jul 15, 4:31 AM
Unknown Object (File)
Mon, Jul 13, 4:29 AM
Unknown Object (File)
Sat, Jul 11, 4:01 AM
Unknown Object (File)
Thu, Jul 9, 4:19 AM
Unknown Object (File)
Tue, Jul 7, 1:54 AM
Unknown Object (File)
Sun, Jul 5, 6:40 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