25 #include <linux/capability.h>
29 #include <linux/sched.h>
30 #include <linux/slab.h>
32 #include <linux/utsname.h>
36 #include <asm/errno.h>
37 #include <asm/pgalloc.h>
38 #include <asm/uaccess.h>
78 #define _SC_CPU_VERSION 10001
79 #define _SC_OPEN_MAX 4
80 #define CPU_PA_RISC1_1 0x210
145 memset(&tmp,0,
sizeof(tmp));
184 memset(&buf, 0,
sizeof(buf));
206 error = do_statfs_hpux(&st, buf);
215 error = do_statfs_hpux(&st, buf);
266 error = error ? -
EFAULT : 0;
354 utsname()->sysname[len] = 0;
381 utsname()->release[len] = 0;
402 nlen =
strlen(utsname()->domainname) + 1;
462 if ( !
strcmp(fsname,
"hfs") ) {
480 static const char *
const syscall_names[] = {
820 "sched_setscheduler",
821 "sched_getscheduler",
823 "sched_get_priority_max",
824 "sched_get_priority_min",
825 "sched_rr_get_interval",
891 "lwp_mutex_lock_sys",
895 "lwp_cond_broadcast",
936 static const int syscall_names_max = 453;
940 unsigned long arg4,
unsigned long arg5,
unsigned long arg6,
941 unsigned long arg7,
unsigned long sc_num)
946 const char *name =
NULL;
947 if ( sc_num <= syscall_names_max && sc_num >= 0 ) {
948 name = syscall_names[sc_num];
952 printk(
KERN_DEBUG "Unimplemented HP-UX syscall emulation. Syscall #%lu (%s)\n",
955 printk(
KERN_DEBUG "Unimplemented unknown HP-UX syscall emulation. Syscall #%lu\n",
960 arg1, arg2, arg3, arg4, arg5, arg6, arg7);