summaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-12-04 18:56:44 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-12-04 18:56:44 +0000
commitbe2535b0a6e624f275abe9ee405fc19a0b096b6f (patch)
tree40299fa82bab355386690001d49f16571830757e /sys/sys
parentabbf48c558528fff4e967e557e8aebc7463e6fe5 (diff)
downloadsrc-test2-be2535b0a6e624f275abe9ee405fc19a0b096b6f.tar.gz
src-test2-be2535b0a6e624f275abe9ee405fc19a0b096b6f.zip
Add kern_ntp_adjtime(9).
Reviewed by: brooks, cy Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D27471
Notes
Notes: svn path=/head/; revision=368342
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/syscallsubr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index 80383be2d155..e6007b1a4291 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -61,6 +61,7 @@ union semun;
struct sockaddr;
struct stat;
struct thr_param;
+struct timex;
struct uio;
struct vm_map;
struct vmspace;
@@ -215,6 +216,7 @@ int kern_munlock(struct thread *td, uintptr_t addr, size_t size);
int kern_munmap(struct thread *td, uintptr_t addr, size_t size);
int kern_nanosleep(struct thread *td, struct timespec *rqt,
struct timespec *rmt);
+int kern_ntp_adjtime(struct thread *td, struct timex *ntv, int *retvalp);
int kern_ogetdirentries(struct thread *td, struct ogetdirentries_args *uap,
long *ploff);
int kern_openat(struct thread *td, int fd, const char *path,