- changed status to resolved
need fexecve
Issue #88
resolved
POSIX 2008 / XPG7 require fexecve(), which provides a file descriptor as its first argument, instead of a path.
Note the following considerations:
- While Linux uses /proc/$$/fd/<fd>, we cannot -- because /proc grabs locks, and attempts to make this work result in deadlock.
- So a syscall looks best
- However, we can write /proc/$$/fd/<fd> in the uarea as the system image. This will facilitate post mortem analysis in the event of a crash.
- We should take care not to exec() the file appears to be in extended attribute space.
Comments (3)
-
reporter -
reporter fixes
#88need fexecve (codereview feedback)→ <<cset 0815dd5c68cc>>
-
reporter fixes
#88need fexecve (fix lint)→ <<cset 20189e4e47ee>>
- Log in to comment
fixes
#88need fexecve→ <<cset 10f26e9354f2>>