summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscallsubr.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-03-30 14:46:12 +0000
committerkib <kib@FreeBSD.org>2011-03-30 14:46:12 +0000
commit5c02dd1e9add6c29db896cf655430f442997109b (patch)
treef653afa54410b6fb98e6f9a19020b6fd180a3ab9 /sys/sys/syscallsubr.h
parente27ebee43a59badd94d03f57ed93a881ff12a516 (diff)
downloadFreeBSD-src-5c02dd1e9add6c29db896cf655430f442997109b.zip
FreeBSD-src-5c02dd1e9add6c29db896cf655430f442997109b.tar.gz
Provide compat32 shims for kldstat(2).
Requested and tested by: jpaetzel MFC after: 1 week
Diffstat (limited to 'sys/sys/syscallsubr.h')
-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 7524cf5..d400633 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -48,6 +48,7 @@ struct sockaddr;
struct stat;
struct kevent;
struct kevent_copyops;
+struct kld_file_stat;
struct ksiginfo;
struct sendfile_args;
struct thr_param;
@@ -113,6 +114,7 @@ int kern_jail_set(struct thread *td, struct uio *options, int flags);
int kern_kevent(struct thread *td, int fd, int nchanges, int nevents,
struct kevent_copyops *k_ops, const struct timespec *timeout);
int kern_kldload(struct thread *td, const char *file, int *fileid);
+int kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat);
int kern_kldunload(struct thread *td, int fileid, int flags);
int kern_lchown(struct thread *td, char *path, enum uio_seg pathseg,
int uid, int gid);
OpenPOWER on IntegriCloud