1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Provide 32bit compat for truncate(2) and ftruncate(2).

MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2012-08-15 15:17:56 +00:00
parent 60ee433881
commit 1a5fe89842
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239296

View File

@ -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, \