pub fn sys_umask(_abi: &mut LinuxRiscv64Abi, trapframe: &mut Trapframe) -> usizeExpand description
Linux sys_umask implementation (stub)
Sets the file mode creation mask (umask) and returns the previous value. This is a stub implementation that simply returns the provided mask without actually storing or using it for file creation permissions.
Arguments:
- abi: LinuxRiscv64Abi context
- trapframe: Trapframe containing syscall arguments
- arg0: mask (new file creation mask)
Returns:
- The provided mask value (simulating the previous umask)