Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/syscallsubr.h
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
int kern_clock_getres(struct thread *td, clockid_t clock_id, | int kern_clock_getres(struct thread *td, clockid_t clock_id, | ||||
struct timespec *ts); | struct timespec *ts); | ||||
int kern_clock_gettime(struct thread *td, clockid_t clock_id, | int kern_clock_gettime(struct thread *td, clockid_t clock_id, | ||||
struct timespec *ats); | struct timespec *ats); | ||||
int kern_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, | int kern_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, | ||||
const struct timespec *rqtp, struct timespec *rmtp); | const struct timespec *rqtp, struct timespec *rmtp); | ||||
int kern_clock_settime(struct thread *td, clockid_t clock_id, | int kern_clock_settime(struct thread *td, clockid_t clock_id, | ||||
struct timespec *ats); | struct timespec *ats); | ||||
int kern_close_range(struct thread *td, u_int lowfd, u_int highfd); | |||||
int kern_close(struct thread *td, int fd); | int kern_close(struct thread *td, int fd); | ||||
int kern_connectat(struct thread *td, int dirfd, int fd, | int kern_connectat(struct thread *td, int dirfd, int fd, | ||||
struct sockaddr *sa); | struct sockaddr *sa); | ||||
int kern_copy_file_range(struct thread *td, int infd, off_t *inoffp, | int kern_copy_file_range(struct thread *td, int infd, off_t *inoffp, | ||||
int outfd, off_t *outoffp, size_t len, unsigned int flags); | int outfd, off_t *outoffp, size_t len, unsigned int flags); | ||||
int kern_cpuset_getaffinity(struct thread *td, cpulevel_t level, | int kern_cpuset_getaffinity(struct thread *td, cpulevel_t level, | ||||
cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *maskp); | cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *maskp); | ||||
int kern_cpuset_setaffinity(struct thread *td, cpulevel_t level, | int kern_cpuset_setaffinity(struct thread *td, cpulevel_t level, | ||||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | |||||
int kern_socketpair(struct thread *td, int domain, int type, int protocol, | int kern_socketpair(struct thread *td, int domain, int type, int protocol, | ||||
int *rsv); | int *rsv); | ||||
/* flags for kern_sigaction */ | /* flags for kern_sigaction */ | ||||
#define KSA_OSIGSET 0x0001 /* uses osigact_t */ | #define KSA_OSIGSET 0x0001 /* uses osigact_t */ | ||||
#define KSA_FREEBSD4 0x0002 /* uses ucontext4 */ | #define KSA_FREEBSD4 0x0002 /* uses ucontext4 */ | ||||
struct freebsd11_dirent; | struct freebsd11_dirent; | ||||
kevans: The internal kern_close_range definition is likely going to change to take u_int fds, so this… | |||||
int freebsd11_kern_getdirentries(struct thread *td, int fd, char *ubuf, u_int | int freebsd11_kern_getdirentries(struct thread *td, int fd, char *ubuf, u_int | ||||
count, long *basep, void (*func)(struct freebsd11_dirent *)); | count, long *basep, void (*func)(struct freebsd11_dirent *)); | ||||
#endif /* !_SYS_SYSCALLSUBR_H_ */ | #endif /* !_SYS_SYSCALLSUBR_H_ */ |
The internal kern_close_range definition is likely going to change to take u_int fds, so this will change to ~0U... is it worth keeping the definition around at that point, just to formalize it?