Skip to content
Browse files

darwintrace: posix_spawn_t is now unused, remove it.

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 10, 2014
1 parent 7aa2869 commit 8886b15f3261ceabf0502525ed99279634f9bbf7
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/darwintracelib1.0/proc.c
@@ -292,14 +292,6 @@ int _dt_execve(const char *path, char *const argv[], char *const envp[]) {
DARWINTRACE_INTERPOSE(_dt_execve, execve);

#if defined(HAVE_SPAWN_H) && defined(HAVE_POSIX_SPAWN)
// Let's save some typing work...
typedef int (*posix_spawn_t)(
pid_t *restrict,
const char *restrict,
const posix_spawn_file_actions_t *,
const posix_spawnattr_t *restrict,
char *const *restrict,
char *const *restrict);
* Wrapper for \c posix_spawn(2). Denies access and simulates the file does not
* exist, if it's outside the sandbox. Also checks for potential interpreters

0 comments on commit 8886b15

Please sign in to comment.
You can’t perform that action at this time.