mirror of https://github.com/proot-me/proot.git
Add: faccess2(2) syscall
This commit is contained in:
parent
99a8417521
commit
f23459ee66
|
@ -419,6 +419,7 @@ int translate_syscall_enter(Tracee *tracee)
|
|||
|
||||
case PR_fchmodat:
|
||||
case PR_faccessat:
|
||||
case PR_faccessat2:
|
||||
case PR_futimesat:
|
||||
case PR_mknodat:
|
||||
dirfd = peek_reg(tracee, CURRENT, SYSARG_1);
|
||||
|
|
|
@ -392,6 +392,7 @@ static FilteredSysnum proot_sysnums[] = {
|
|||
{ PR_socketcall, FILTER_SYSEXIT },
|
||||
{ PR_stat, 0 },
|
||||
{ PR_statx, 0 },
|
||||
{ PR_faccessat2, 0 },
|
||||
{ PR_stat64, 0 },
|
||||
{ PR_statfs, 0 },
|
||||
{ PR_statfs64, 0 },
|
||||
|
|
|
@ -277,6 +277,7 @@ static const Sysnum sysnums_x32[] = {
|
|||
[ 315 ] = PR_sched_getattr,
|
||||
[ 316 ] = PR_renameat2,
|
||||
[ 332 ] = PR_statx,
|
||||
[ 439 ] = PR_faccessat2,
|
||||
[ 512 ] = PR_rt_sigaction,
|
||||
[ 513 ] = PR_rt_sigreturn,
|
||||
[ 514 ] = PR_ioctl,
|
||||
|
|
|
@ -319,4 +319,5 @@ static const Sysnum sysnums_x86_64[] = {
|
|||
[ 315 ] = PR_sched_getattr,
|
||||
[ 316 ] = PR_renameat2,
|
||||
[ 332 ] = PR_statx,
|
||||
[ 439 ] = PR_faccessat2,
|
||||
};
|
||||
|
|
|
@ -59,6 +59,7 @@ SYSNUM(execve)
|
|||
SYSNUM(exit)
|
||||
SYSNUM(exit_group)
|
||||
SYSNUM(faccessat)
|
||||
SYSNUM(faccessat2)
|
||||
SYSNUM(fadvise64)
|
||||
SYSNUM(fadvise64_64)
|
||||
SYSNUM(fallocate)
|
||||
|
|
Loading…
Reference in New Issue