vfs/avfs: renumber stat calls so as to be unique

The old stat call numbers are still supported for a while.
This commit is contained in:
David van Moolenbroek
2012-01-13 00:49:37 +01:00
parent 2c685f34e0
commit c89aaf7a87
4 changed files with 19 additions and 20 deletions

View File

@@ -1,5 +1,6 @@
#define NCALLS 114 /* number of system calls allowed */
/* In case it isn't obvious enough: this list is sorted numerically. */
#define EXIT 1
#define FORK 2
#define READ 3
@@ -48,6 +49,9 @@
#define SIGNAL 48
#define RDLNK 49
#define PREV_LSTAT 50
#define STAT 51
#define FSTAT 52
#define LSTAT 53
#define IOCTL 54
#define FCNTL 55
#define FS_READY 57
@@ -105,11 +109,6 @@
#define GCOV_FLUSH 112 /* flush gcov data from server to gcov files */
/* Numbers reused intentionally */
#define STAT 65
#define FSTAT 66
#define LSTAT 67
#define PM_GETSID 113 /* PM getsid() */
#define TASK_REPLY 121 /* to VFS: reply code from drivers, not