mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

[Tracking] Missing syscalls to run ltp tests

Open salsal97 opened this issue 3 years ago • 3 comments

Below is a list of syscalls that are not implemented yet, which is blocking some tests in the linux test project (ltp) when using ext2fs. The list of tests that pass due to errors like invalid return code/etc is located here

The LTP code is here

FS=ext2fs
echo "$(cat "$FS"_tests_passed.txt | wc -l) | $(cat "$FS"_tests_unhandled_syscalls.txt | wc -l) | $(cat "$FS"_tests_other_errors.txt | wc -l)"

Current LTP stats:

FILESYSTEM PASSED UNHANDLED_SYSCALLS OTHER_ERRORS
ext2fs 301 261 782
hostfs 323 265 766
ramfs 286 258 801
  • [ ] SYS__sysctl()
  • [ ] SYS_add_key()
  • [ ] SYS_adjtimex()
  • [ ] SYS_capget()
  • [ ] SYS_capset()
  • [ ] SYS_chroot()
  • [ ] SYS_clock_nanosleep()
  • [ ] SYS_copy_file_range()
  • [ ] SYS_delete_module()
  • [ ] SYS_fanotify_init()
  • [ ] SYS_fgetxattr()
  • [ ] SYS_getdents()
  • [ ] SYS_getpriority()
  • [ ] SYS_getrlimit()
  • [ ] SYS_ioperm()
  • [ ] SYS_iopl()
  • [ ] SYS_ioprio_get()
  • [ ] SYS_ioprio_set()
  • [ ] SYS_kcmp()
  • [ ] SYS_keyctl()
  • [ ] SYS_linkat()
  • [ ] SYS_lsetxattr()
  • [ ] SYS_memfd_create()
  • [ ] SYS_mincore()
  • [ ] SYS_mknodat()
  • [ ] SYS_mlock2()
  • [ ] SYS_mlockall()
  • [ ] SYS_mq_notify()
  • [ ] SYS_mq_open()
  • [ ] SYS_mq_unlink()
  • [ ] SYS_msgctl()
  • [ ] SYS_msgget()
  • [ ] SYS_munlock()
  • [ ] SYS_munlockall()
  • [ ] SYS_name_to_handle_at()
  • [x] SYS_pause()
  • [ ] SYS_personality()
  • [ ] SYS_pkey_alloc()
  • [ ] SYS_ppoll()
  • [ ] SYS_process_vm_readv()
  • [ ] SYS_process_vm_writev()
  • [ ] SYS_pselect6()
  • [ ] SYS_ptrace()
  • [ ] SYS_readahead()
  • [ ] SYS_reboot()
  • [ ] SYS_recvmmsg()
  • [ ] SYS_remap_file_pages()
  • [ ] SYS_removexattr()
  • [ ] SYS_renameat2()
  • [ ] SYS_request_key()
  • [ ] SYS_rt_sigqueueinfo()
  • [ ] SYS_rt_sigsuspend()
  • [ ] SYS_rt_sigtimedwait()
  • [ ] SYS_sched_setattr()
  • [ ] SYS_semget()
  • [ ] SYS_semop()
  • [ ] SYS_setdomainname()
  • [ ] SYS_setns()
  • [ ] SYS_setpriority()
  • [ ] SYS_setsid()
  • [ ] SYS_setxattr()
  • [ ] SYS_shmctl()
  • [ ] SYS_shmdt()
  • [ ] SYS_shmget()
  • [ ] SYS_signalfd4()
  • [ ] SYS_splice()
  • [ ] SYS_statx()
  • [ ] SYS_sync()
  • [ ] SYS_sync_file_range()
  • [ ] SYS_sysfs()
  • [ ] SYS_tee()
  • [ ] SYS_timer_create()
  • [ ] SYS_timer_delete()
  • [ ] SYS_timerfd_create()
  • [ ] SYS_unshare()
  • [ ] SYS_userfaultfd()
  • [ ] SYS_ustat()
  • [ ] SYS_vhangup()
  • [ ] SYS_vmsplice()
  • [x] SYS_waitid()

salsal97 avatar Mar 04 '21 04:03 salsal97

create separate issue when working on a syscall and link to this

paulcallen avatar Mar 15 '21 18:03 paulcallen

Please update the list, @salsal97

jxyang avatar Jul 19 '21 21:07 jxyang

Updated. These were the ones that were checked off -

  • [x] SYS_eventfd2()
  • [x] SYS_faccessat()
  • [x] SYS_fchdir()
  • [x] SYS_fchown()
  • [x] SYS_fdatasync()
  • [x] SYS_fork()
  • [x] SYS_futimesat()
  • [x] SYS_getgroups()
  • [x] SYS_getresgid()
  • [x] SYS_getresuid()
  • [x] SYS_lchown()
  • [x] SYS_openat()
  • [x] SYS_prctl()
  • [x] SYS_preadv()
  • [x] SYS_preadv2()
  • [x] SYS_pwritev()
  • [x] SYS_pwritev2()
  • [x] SYS_readlinkat()
  • [x] SYS_sched_setattr()
  • [x] SYS_set_robust_list()
  • [x] SYS_setfsgid()
  • [x] SYS_setfsuid()
  • [x] SYS_setgroups()
  • [x] SYS_setregid()
  • [x] SYS_setresuid()
  • [x] SYS_setreuid()
  • [x] SYS_utimensat()

salsal97 avatar Jul 21 '21 00:07 salsal97