svn commit: r239580 - stable/9/sys/compat/freebsd32

Konstantin Belousov kib at FreeBSD.org
Wed Aug 22 19:43:47 UTC 2012


Author: kib
Date: Wed Aug 22 19:43:46 2012
New Revision: 239580
URL: http://svn.freebsd.org/changeset/base/239580

Log:
  MFC r239296:
  Provide 32bit compat for old truncate(2) and ftruncate(2).

Modified:
  stable/9/sys/compat/freebsd32/syscalls.master
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/compat/freebsd32/syscalls.master
==============================================================================
--- stable/9/sys/compat/freebsd32/syscalls.master	Wed Aug 22 19:41:36 2012	(r239579)
+++ stable/9/sys/compat/freebsd32/syscalls.master	Wed Aug 22 19:43:46 2012	(r239580)
@@ -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 svn-src-all mailing list