1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00

strace: Change implementation to use ptrace()

This commit is contained in:
Itamar 2020-03-28 11:57:46 +03:00 committed by Andreas Kling
parent 6b74d38aab
commit e5ebdb9bca
6 changed files with 177 additions and 38 deletions

View file

@ -45,12 +45,6 @@
extern "C" {
int systrace(pid_t pid)
{
int rc = syscall(SC_systrace, pid);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int chown(const char* pathname, uid_t uid, gid_t gid)
{
if (!pathname) {