summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscallsubr.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-04-15 09:13:11 +0000
committertrasz <trasz@FreeBSD.org>2015-04-15 09:13:11 +0000
commit009c656eaf7a35bd4206594f302cfce73c8bf0b1 (patch)
tree249a49d65c11cd971a440bb934014ef89449b2c2 /sys/sys/syscallsubr.h
parentb0813ee288f64f677a2cebf7815754b027a8215b (diff)
downloadFreeBSD-src-009c656eaf7a35bd4206594f302cfce73c8bf0b1.zip
FreeBSD-src-009c656eaf7a35bd4206594f302cfce73c8bf0b1.tar.gz
Rewrite linprocfs_domtab() as a wrapper around kern_getfsstat(). This
adds missing jail and MAC checks. Differential Revision: https://reviews.freebsd.org/D2193 Reviewed by: kib@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r--sys/sys/syscallsubr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index cb6d4e3..2c6ae91 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -104,7 +104,7 @@ int kern_futimens(struct thread *td, int fd, struct timespec *tptr,
int kern_getdirentries(struct thread *td, int fd, char *buf, u_int count,
long *basep, ssize_t *residp, enum uio_seg bufseg);
int kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize,
- enum uio_seg bufseg, int flags);
+ size_t *countp, enum uio_seg bufseg, int flags);
int kern_getitimer(struct thread *, u_int, struct itimerval *);
int kern_getppid(struct thread *);
int kern_getpeername(struct thread *td, int fd, struct sockaddr **sa,
OpenPOWER on IntegriCloud