Because Linux allows to exec binaries with 0 argc.
MFC after: 1 week
Paths
| Differential D40148 Authored by dchagin on May 18 2023, 6:42 PM.
Details
Summary Because Linux allows to exec binaries with 0 argc. MFC after: 1 week
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptMay 18 2023, 6:42 PM2023-05-18 18:42:21 (UTC+0) Harbormaster completed remote builds in B51538: Diff 122084.May 18 2023, 6:42 PM2023-05-18 18:42:31 (UTC+0) Comment Actions Are we aware of any actual Linux binary use cases for argc=0? (I don't object to this change, just wondering.) This revision is now accepted and ready to land.May 18 2023, 7:41 PM2023-05-18 19:41:18 (UTC+0) Comment Actions
well, I dont know, I’m not use Linux since 1997:) Closed by commit rG8340b03425cf: linux(4): Add a dedicated linux_exec_copyin_args() (authored by dchagin). · Explain WhyMay 29 2023, 9:19 AM2023-05-29 09:19:08 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 122559 sys/amd64/linux/syscalls.master
sys/amd64/linux32/linux32_machdep.c
sys/amd64/linux32/syscalls.master
sys/arm64/linux/syscalls.master
|