Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

need fexecve #88

Closed
gdamore opened this Issue · 3 comments

1 participant

@gdamore
Owner

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/, 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/ 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.

@gdamore
Owner

fixes #88 need fexecve (fix lint)

→ <>


Original Comment By: Garrett D'Amore

@gdamore
Owner

fixes #88 need fexecve (codereview feedback)

→ <>


Original Comment By: Garrett D'Amore

@gdamore
Owner

fixes #88 need fexecve

→ <>


Original Comment By: Garrett D'Amore

@gdamore gdamore closed this
@gdamore gdamore referenced this issue from a commit
@gdamore fixes #88 need fexecve 10f26e9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.