[Midnightbsd-cvs] src [7897] trunk/sys/compat/freebsd32/syscalls.master: compat for truncate and ftruncate

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 14 14:54:25 EDT 2016


Revision: 7897
          http://svnweb.midnightbsd.org/src/?rev=7897
Author:   laffer1
Date:     2016-09-14 14:54:25 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
compat for truncate and ftruncate

Modified Paths:
--------------
    trunk/sys/compat/freebsd32/syscalls.master

Modified: trunk/sys/compat/freebsd32/syscalls.master
===================================================================
--- trunk/sys/compat/freebsd32/syscalls.master	2016-09-14 18:53:28 UTC (rev 7896)
+++ trunk/sys/compat/freebsd32/syscalls.master	2016-09-14 18:54:25 UTC (rev 7897)
@@ -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, \



More information about the Midnightbsd-cvs mailing list