Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/linux32/syscalls.master
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | |||||
183 AUE_GETCWD STD { int linux_getcwd(char *buf, \ | 183 AUE_GETCWD STD { int linux_getcwd(char *buf, \ | ||||
l_ulong bufsize); } | l_ulong bufsize); } | ||||
184 AUE_CAPGET STD { int linux_capget(struct l_user_cap_header *hdrp, \ | 184 AUE_CAPGET STD { int linux_capget(struct l_user_cap_header *hdrp, \ | ||||
struct l_user_cap_data *datap); } | struct l_user_cap_data *datap); } | ||||
185 AUE_CAPSET STD { int linux_capset(struct l_user_cap_header *hdrp, \ | 185 AUE_CAPSET STD { int linux_capset(struct l_user_cap_header *hdrp, \ | ||||
struct l_user_cap_data *datap); } | struct l_user_cap_data *datap); } | ||||
186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \ | 186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \ | ||||
l_stack_t *uoss); } | l_stack_t *uoss); } | ||||
187 AUE_SENDFILE STD { int linux_sendfile(void); } | 187 AUE_SENDFILE STD { int linux_sendfile(l_int out, l_int in, \ | ||||
l_long *offset, l_size_t count); } | |||||
188 AUE_GETPMSG UNIMPL getpmsg | 188 AUE_GETPMSG UNIMPL getpmsg | ||||
189 AUE_PUTPMSG UNIMPL putpmsg | 189 AUE_PUTPMSG UNIMPL putpmsg | ||||
190 AUE_VFORK STD { int linux_vfork(void); } | 190 AUE_VFORK STD { int linux_vfork(void); } | ||||
; 191: ugetrlimit | ; 191: ugetrlimit | ||||
191 AUE_GETRLIMIT STD { int linux_getrlimit(l_uint resource, \ | 191 AUE_GETRLIMIT STD { int linux_getrlimit(l_uint resource, \ | ||||
struct l_rlimit *rlim); } | struct l_rlimit *rlim); } | ||||
192 AUE_MMAP STD { int linux_mmap2(l_ulong addr, l_ulong len, \ | 192 AUE_MMAP STD { int linux_mmap2(l_ulong addr, l_ulong len, \ | ||||
l_ulong prot, l_ulong flags, l_ulong fd, \ | l_ulong prot, l_ulong flags, l_ulong fd, \ | ||||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
231 AUE_NULL STD { int linux_fgetxattr(void); } | 231 AUE_NULL STD { int linux_fgetxattr(void); } | ||||
232 AUE_NULL STD { int linux_listxattr(void); } | 232 AUE_NULL STD { int linux_listxattr(void); } | ||||
233 AUE_NULL STD { int linux_llistxattr(void); } | 233 AUE_NULL STD { int linux_llistxattr(void); } | ||||
234 AUE_NULL STD { int linux_flistxattr(void); } | 234 AUE_NULL STD { int linux_flistxattr(void); } | ||||
235 AUE_NULL STD { int linux_removexattr(void); } | 235 AUE_NULL STD { int linux_removexattr(void); } | ||||
236 AUE_NULL STD { int linux_lremovexattr(void); } | 236 AUE_NULL STD { int linux_lremovexattr(void); } | ||||
237 AUE_NULL STD { int linux_fremovexattr(void); } | 237 AUE_NULL STD { int linux_fremovexattr(void); } | ||||
238 AUE_NULL STD { int linux_tkill(int tid, int sig); } | 238 AUE_NULL STD { int linux_tkill(int tid, int sig); } | ||||
239 AUE_SENDFILE UNIMPL linux_sendfile64 | 239 AUE_SENDFILE STD { int linux_sendfile64(l_int out, l_int in, \ | ||||
brooks: I assume I'm missing something in the linux syscall implementation, but where is this version… | |||||
borako.ozarslan_gmail.comUnsubmitted Done Inline ActionsI left this out to be corrected. I tried this and another version where I tried referencing linux_sendfile for sendfile64 but I can't seem to get it to work. It always crashes. I am open to any direction on how to properly implement the 64 bit version for 32 bit linux. There also shouldn't be any difference between the implementations, hence I tried just referencing linux_sendfile. borako.ozarslan_gmail.com: I left this out to be corrected. I tried this and another version where I tried referencing… | |||||
l_long *offset, l_size_t count); } | |||||
Done Inline Actionsit looks like Linux's definition is sendfile64(..., __off64_t *offset, ...) emaste: it looks like Linux's definition is `sendfile64(..., __off64_t *offset, ...)` | |||||
Done Inline Actionsl_loff_t * is equivalent. It would probably be clearer to define l_off64_t and use that instead, but l_loff_t is what we use elsewhere in this file. markj: l_loff_t * is equivalent. It would probably be clearer to define l_off64_t and use that instead… | |||||
240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, uint32_t val, \ | 240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, uint32_t val, \ | ||||
struct l_timespec *timeout, uint32_t *uaddr2, uint32_t val3); } | struct l_timespec *timeout, uint32_t *uaddr2, uint32_t val3); } | ||||
241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \ | 241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \ | ||||
l_ulong *user_mask_ptr); } | l_ulong *user_mask_ptr); } | ||||
242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \ | 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \ | ||||
l_ulong *user_mask_ptr); } | l_ulong *user_mask_ptr); } | ||||
243 AUE_NULL STD { int linux_set_thread_area(struct l_user_desc *desc); } | 243 AUE_NULL STD { int linux_set_thread_area(struct l_user_desc *desc); } | ||||
244 AUE_NULL UNIMPL linux_get_thread_area | 244 AUE_NULL UNIMPL linux_get_thread_area | ||||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |
I assume I'm missing something in the linux syscall implementation, but where is this version implemented?