extern int flock(int fd, int op);
extern pid_t getpgrp(void);
extern int sched_yield(void);
+extern int acct(const char *filename);
+extern int setgroups(size_t size, const gid_t *groups);
+extern int getgroups(int size, gid_t *groups);
+extern int getrlimit(int resource, struct rlimit *rlim);
+extern int setrlimit(int resource, const struct rlimit *rlim);
+extern int setpgid(pid_t pid, pid_t pgrp);
+extern pid_t setsid(void);
+extern pid_t getsid(pid_t pid);
/* asm syscall hooks with C wrappers */
extern int _getdirent(int fd, void *buf, int len);
extern int _uname(struct _uzisysinfoblk *uzib, int len);
extern int _profil(void *samples, uint16_t offset, uint16_t size, int16_t scale);
extern int _lseek(int fd, off_t *offset, int mode);
+extern int _select(int nfd, uint16_t *base);
/* C library provided syscall emulation */
extern int stat(const char *path, struct stat *s);
ASRCS += syscall_flock.s
ASRCS += syscall_getpgrp.s
ASRCS += syscall_yield.s
+ASRCS += syscall_acct.s
+ASRCS += syscall_memalloc.s
+ASRCS += syscall_memfree.s
+ASRCS += syscall__nosys66.s
+ASRCS += syscall__nosys67.s
+ASRCS += syscall__nosys68.s
+ASRCS += syscall__nosys69.s
+ASRCS += syscall__nosys70.s
+ASRCS += syscall__nosys71.s
+ASRCS += syscall__select.s
+ASRCS += syscall_setgroups.s
+ASRCS += syscall_getgroups.s
+ASRCS += syscall_getrlimit.s
+ASRCS += syscall_setrlimit.s
+ASRCS += syscall_setpgid.s
+ASRCS += syscall_setsid.s
+ASRCS += syscall_getsid.s
ASRCALL = $(ASRCS) $(ASYS)