Skip to content

Commit 1f22d50

Browse files
committed
delete getifaddrs
1 parent 3746f49 commit 1f22d50

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/RawPOSIX/src/safeposix/dispatcher.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1031,15 +1031,6 @@ pub fn lind_syscall_api(
10311031
cage.gethostname_syscall(name, len as isize)
10321032
}
10331033

1034-
GETIFADDRS_SYSCALL => {
1035-
let count = arg2 as usize;
1036-
let cage = interface::cagetable_getref(cageid);
1037-
// Convert user space buffer address to physical address
1038-
let buf = translate_vmmap_addr(&cage, arg1).unwrap() as *mut u8;
1039-
// Perform getifaddrs operation through cage implementation
1040-
cage.getifaddrs_syscall(buf, count)
1041-
}
1042-
10431034
KILL_SYSCALL => {
10441035
let cage_id = arg1 as i32;
10451036
let sig = arg2 as i32;

0 commit comments

Comments
 (0)