Skip to content

exec handler probably shouldn't allow native exec #2718

@sporksmith

Description

@sporksmith

We noticed that the exec syscall handler allows the syscall to execute natively. I think this was from when we were using ptrace, and were ptrace-attached before we exec'd the managed process.

I don't think it'll necessarily work correctly in the current state of the code, after the shim has already been loaded and initialized etc. We should probably have it just fail (ENOSYS) until we're able to support it properly.

Metadata

Metadata

Assignees

Labels

Type: BugError or flaw producing unexpected results

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions