diff options
author | kib <kib@FreeBSD.org> | 2012-08-15 15:17:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-08-15 15:17:56 +0000 |
commit | b2d9fb2c0795ec04c384c4b7a5db8c55d41f2004 (patch) | |
tree | 6952a1ba999a77507515d55c5f4995ac7837b271 /sys/compat/freebsd32 | |
parent | 069822c9f54b00e31f72a0b4e2054423c94bbfc9 (diff) | |
download | FreeBSD-src-b2d9fb2c0795ec04c384c4b7a5db8c55d41f2004.zip FreeBSD-src-b2d9fb2c0795ec04c384c4b7a5db8c55d41f2004.tar.gz |
Provide 32bit compat for truncate(2) and ftruncate(2).
MFC after: 1 week
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index a095b82..97f09d0 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -257,8 +257,9 @@ 126 AUE_SETREUID NOPROTO { int setreuid(int ruid, int euid); } 127 AUE_SETREGID NOPROTO { int setregid(int rgid, int egid); } 128 AUE_RENAME NOPROTO { int rename(char *from, char *to); } -129 AUE_TRUNCATE OBSOL otruncate -130 AUE_FTRUNCATE OBSOL ftruncate +129 AUE_TRUNCATE COMPAT|NOPROTO { int truncate(char *path, \ + int length); } +130 AUE_FTRUNCATE COMPAT|NOPROTO { int ftruncate(int fd, int length); } 131 AUE_FLOCK NOPROTO { int flock(int fd, int how); } 132 AUE_MKFIFO NOPROTO { int mkfifo(char *path, int mode); } 133 AUE_SENDTO NOPROTO { int sendto(int s, caddr_t buf, \ |