diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-08-18 10:30:41 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-08-18 10:30:41 +0000 |
commit | 0dac22d8ea6f4213a21bbd610d90267f9afe678d (patch) | |
tree | 338f8a1d5b37bb3fdf78dc9132425ba3c2fa708c /sys/sys/syscallsubr.h | |
parent | 417ffc66faa8edfb813cc38e4873a7fc64cdc2af (diff) | |
download | src-0dac22d8ea6f4213a21bbd610d90267f9afe678d.tar.gz src-0dac22d8ea6f4213a21bbd610d90267f9afe678d.zip |
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
Notes
Notes:
svn path=/head/; revision=254481
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r-- | sys/sys/syscallsubr.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |