A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1341 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1341 Category: System Interfaces Type: Error Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: posix_spawn Page Number: 1452 ff. Line Number: 48227 ff. Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2020-05-05 04:53 UTC Last Modified: 2020-05-07 08:18 UTC ====================================================================== Summary: The resolution of https://austingroupbugs.net/view.php?id=1208 as amended by https://austingroupbugs.net/view.php?id=1208#c4830 is incorrect ======================================================================
---------------------------------------------------------------------- (0004867) geoffclare (manager) - 2020-05-07 08:18 https://austingroupbugs.net/view.php?id=1341#c4867 ---------------------------------------------------------------------- Re https://austingroupbugs.net/view.php?id=1341#c4858 "could someone tell me if there is actually an implementation of posix_spawnp() that actually processes the chdir option [...] in the way it is intended here?" Casper Dik reported on the mailing list:<blockquote>The Solaris posix_spawnp() system call implementation does has an action to change chdir and it will actually search the PATH in the kernel. While the kernel has the ability the execute the file actions after the exec as we are still in control, the native syscall posix_spawn implementation uses the exact order as a libc implementation is forced to obey. The PATH being searched is not necessarily the same PATH in the child process but that of the parent.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2020-05-05 04:53 kre New Issue 2020-05-05 04:53 kre Name => Robert Elz 2020-05-05 04:53 kre Section => posix_spawn 2020-05-05 04:53 kre Page Number => 1452 ff. 2020-05-05 04:53 kre Line Number => 48227 ff. 2020-05-05 05:07 kre Note Added: 0004852 2020-05-05 05:09 kre Note Deleted: 0004852 2020-05-05 08:18 geoffclare Note Added: 0004853 2020-05-05 15:28 kre Note Added: 0004858 2020-05-05 15:30 kre Note Edited: 0004858 2020-05-05 17:36 kre Note Edited: 0004858 2020-05-06 08:47 geoffclare Note Added: 0004865 2020-05-07 08:18 geoffclare Note Added: 0004867 ======================================================================
