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:
parent
6b74d38aab
commit
e5ebdb9bca
6 changed files with 177 additions and 38 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue