Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dtc
Submodule dtc updated from e54388 to 2cdf93
1 change: 1 addition & 0 deletions linux-user/irix/syscall_nr.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@


/* syssgi(sysconf, cmd, ...) */
#define TARGET_NR_sysconf_argmax (1)
#define TARGET_NR_sysconf_childmax (2)
#define TARGET_NR_sysconf_clktick (3)
#define TARGET_NR_sysconf_openmax (5)
Expand Down
3 changes: 3 additions & 0 deletions linux-user/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -14520,6 +14520,9 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
case TARGET_NR_sysconf_mac:
ret = 0;
break;
case TARGET_NR_sysconf_argmax:
ret = get_errno(sysconf(_SC_ARG_MAX));
break;
default:
gemu_log("qemu: Unsupported syscall: sysconf(%d)\n", (int)arg2);
ret = -TARGET_ENOSYS;
Expand Down