Commit 4c2d8599 authored by jD91mZM2's avatar jD91mZM2

Add missing debug definitions

See [strace-redox#ea42589d](redox-os/strace-redox@ea42589d)
parent 6a3825d4
......@@ -81,6 +81,17 @@ pub fn format_call(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize) -
},
d
),
SYS_FCHMOD => format!(
"fchmod({}, {:#o})",
b,
c
),
SYS_FCHOWN => format!(
"fchown({}, {}, {})",
b,
c,
d
),
SYS_FCNTL => format!(
"fcntl({}, {} ({}), {:#X})",
b,
......@@ -113,6 +124,11 @@ pub fn format_call(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize) -
c,
d
),
SYS_FRENAME => format!(
"frename({}, {:?})",
b,
validate_slice(c as *const u8, d).map(ByteStr),
),
SYS_FSTAT => format!(
"fstat({}, {:?})",
b,
......@@ -136,6 +152,14 @@ pub fn format_call(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize) -
b,
c
),
SYS_FUTIMENS => format!(
"futimens({}, {:?})",
b,
validate_slice(
c as *const TimeSpec,
d/mem::size_of::<TimeSpec>()
),
),
SYS_BRK => format!(
"brk({:#X})",
......@@ -200,7 +224,9 @@ pub fn format_call(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize) -
SYS_GETEUID => format!("geteuid()"),
SYS_GETGID => format!("getgid()"),
SYS_GETNS => format!("getns()"),
SYS_GETPGID => format!("getpgid()"),
SYS_GETPID => format!("getpid()"),
SYS_GETPPID => format!("getppid()"),
SYS_GETUID => format!("getuid()"),
SYS_IOPL => format!(
"iopl({})",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment