RISC-V: Moved syscalls to separate files to fix aliasing problems.
This commit is contained in:
9
libgloss/riscv/sys_chmod.c
Normal file
9
libgloss/riscv/sys_chmod.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <machine/syscall.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Stub. */
|
||||
int
|
||||
_chmod(const char *path, mode_t mode)
|
||||
{
|
||||
return -1;
|
||||
}
|
Reference in New Issue
Block a user