QuarkContainer / Quark

A secure container runtime with CRI/OCI interface
Apache License 2.0
313 stars 47 forks source link

sys_setfsuid and sys_setfsgid not implemented #1233

Open shrik3 opened 3 months ago

shrik3 commented 3 months ago

The newest ubuntu container images fail to launch because of this.

   setfsuid - set user identity used for filesystem checks
[INFO] [1/45400e0000|0] (1/1)------get call id sys_setfsuid arg0:0
[ERROR] [1/45400e0000|0] NotImplementSyscall syscall SyscallArguments { arg0: 0, arg1: 2ab1d6ac68dd, arg2: 0, arg3: ffffffff, arg4: 73, arg5: 0 }
[Print] [1/45400e0000|0] get panic : Some(Sycall not implement syscall is sys_setfsuid)
[Print] [1/45400e0000|0] panic occurred in file 'src/syscalls/syscalls.rs' at line 119

However this thing seems to be deprecated .. perhaps mark it as ENOSYS and let the userspace deal with it, instead of panicking.

shrik3 commented 3 months ago

currently set to SysNoSys.