mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
strace: Change implementation to use ptrace()
This commit is contained in:
parent
6b74d38aab
commit
e5ebdb9bca
Notes:
sideshowbarker
2024-07-19 08:05:29 +09:00
Author: https://github.com/itamar8910
Commit: e5ebdb9bca
Pull-request: https://github.com/SerenityOS/serenity/pull/1517
Reviewed-by: https://github.com/awesomekling
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