Xiang Xiao 032086870d sched/posix_spawn: Don't insert name at the begin of argv
since the standard require the caller pass the name explicitly
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html:
The argument argv is an array of character pointers to null-terminated strings.
The last member of this array shall be a null pointer and is not counted in argc.
These strings constitute the argument list available to the new process image.
The value in argv[0] should point to a filename that is associated with the
process image being started by the posix_spawn() or posix_spawnp() function.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id79ffcc501ae9552dc4e908418ff555f498be7f1
2021-06-14 07:11:53 -06:00
..
2021-03-17 06:46:42 -07:00
2021-02-04 03:33:58 -08:00
2021-04-01 01:24:12 -05:00
2021-04-01 14:54:33 -03:00
2020-04-30 08:46:21 -06:00
2021-02-25 11:30:38 -08:00
2021-03-02 03:44:06 -08:00
2021-03-26 18:04:59 +01:00
2021-01-06 14:23:50 +08:00
2021-05-12 21:08:23 -07:00
2021-05-11 16:40:33 +01:00
2021-04-11 01:50:34 -05:00
2020-07-21 21:48:18 -07:00