ptrace handling first update, optional finer grained permissions based on request flags