[Bug libc/17405] New: Implement posix_spawn_file_actions_addchdir_np, posix_spawn_file_actions_addfchdir_np

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed Sep 17 17:39:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=17405

            Bug ID: 17405
           Summary: Implement posix_spawn_file_actions_addchdir_np,
                    posix_spawn_file_actions_addfchdir_np
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com

Currently, changing the initial current directory of the child process created
by posix_spawn is only possible with a small helper wrapper which changes the
directory as desired, and then execve's the actual program.  It would be nice
if glibc could provide this functionality directly.

Changing the current directory affects pathname resolution, that's why I think
this should be added as file actions, and not as spawn attributes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list