From 0dac22d8ea6f4213a21bbd610d90267f9afe678d Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sun, 18 Aug 2013 10:30:41 +0000 Subject: Implement 32bit versions of the cap_ioctls_limit(2) and cap_ioctls_get(2) system calls as unsigned longs have different size on i386 and amd64. Reported by: jilles Sponsored by: The FreeBSD Foundation --- sys/sys/syscallsubr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/sys/syscallsubr.h') diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index e18c7354ca15..17f2b97db9ce 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -71,6 +71,8 @@ int kern_adjtime(struct thread *td, struct timeval *delta, int kern_alternate_path(struct thread *td, const char *prefix, const char *path, enum uio_seg pathseg, char **pathbuf, int create, int dirfd); int kern_bind(struct thread *td, int fd, struct sockaddr *sa); +int kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds, + size_t ncmds); int kern_chdir(struct thread *td, char *path, enum uio_seg pathseg); int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg, int mode); -- cgit v1.2.3