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:
parent
2c685f34e0
commit
c89aaf7a87
4 changed files with 19 additions and 20 deletions
|
@ -1,5 +1,6 @@
|
||||||
#define NCALLS 114 /* number of system calls allowed */
|
#define NCALLS 114 /* number of system calls allowed */
|
||||||
|
|
||||||
|
/* In case it isn't obvious enough: this list is sorted numerically. */
|
||||||
#define EXIT 1
|
#define EXIT 1
|
||||||
#define FORK 2
|
#define FORK 2
|
||||||
#define READ 3
|
#define READ 3
|
||||||
|
@ -48,6 +49,9 @@
|
||||||
#define SIGNAL 48
|
#define SIGNAL 48
|
||||||
#define RDLNK 49
|
#define RDLNK 49
|
||||||
#define PREV_LSTAT 50
|
#define PREV_LSTAT 50
|
||||||
|
#define STAT 51
|
||||||
|
#define FSTAT 52
|
||||||
|
#define LSTAT 53
|
||||||
#define IOCTL 54
|
#define IOCTL 54
|
||||||
#define FCNTL 55
|
#define FCNTL 55
|
||||||
#define FS_READY 57
|
#define FS_READY 57
|
||||||
|
@ -105,11 +109,6 @@
|
||||||
|
|
||||||
#define GCOV_FLUSH 112 /* flush gcov data from server to gcov files */
|
#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 PM_GETSID 113 /* PM getsid() */
|
||||||
|
|
||||||
#define TASK_REPLY 121 /* to VFS: reply code from drivers, not
|
#define TASK_REPLY 121 /* to VFS: reply code from drivers, not
|
||||||
|
|
|
@ -66,9 +66,9 @@ PUBLIC _PROTOTYPE (int (*call_vec[]), (void) ) = {
|
||||||
no_sys, /* 48 = (signal)*/
|
no_sys, /* 48 = (signal)*/
|
||||||
do_rdlink, /* 49 = readlink*/
|
do_rdlink, /* 49 = readlink*/
|
||||||
do_lstat, /* 50 = lstat (prev)*/
|
do_lstat, /* 50 = lstat (prev)*/
|
||||||
no_sys, /* 51 = (acct) */
|
do_stat, /* 51 = stat */
|
||||||
no_sys, /* 52 = (phys) */
|
do_fstat, /* 52 = fstat */
|
||||||
no_sys, /* 53 = (lock) */
|
do_lstat, /* 53 = lstat */
|
||||||
do_ioctl, /* 54 = ioctl */
|
do_ioctl, /* 54 = ioctl */
|
||||||
do_fcntl, /* 55 = fcntl */
|
do_fcntl, /* 55 = fcntl */
|
||||||
no_sys, /* 56 = (mpx) */
|
no_sys, /* 56 = (mpx) */
|
||||||
|
@ -80,9 +80,9 @@ PUBLIC _PROTOTYPE (int (*call_vec[]), (void) ) = {
|
||||||
no_sys, /* 62 = (setsid)*/
|
no_sys, /* 62 = (setsid)*/
|
||||||
no_sys, /* 63 = (getpgrp)*/
|
no_sys, /* 63 = (getpgrp)*/
|
||||||
no_sys, /* 64 = (itimer)*/
|
no_sys, /* 64 = (itimer)*/
|
||||||
do_stat, /* 65 = stat */
|
do_stat, /* 65 = stat - badly numbered, being phased out */
|
||||||
do_fstat, /* 66 = fstat */
|
do_fstat, /* 66 = fstat - badly numbered, being phased out */
|
||||||
do_lstat, /* 67 = lstat */
|
do_lstat, /* 67 = lstat - badly numbered, being phased out */
|
||||||
no_sys, /* 68 = unused */
|
no_sys, /* 68 = unused */
|
||||||
no_sys, /* 69 = unused */
|
no_sys, /* 69 = unused */
|
||||||
no_sys, /* 70 = unused */
|
no_sys, /* 70 = unused */
|
||||||
|
|
|
@ -62,9 +62,9 @@ _PROTOTYPE (int (*call_vec[]), (void) ) = {
|
||||||
no_sys, /* 48 = (signal)*/
|
no_sys, /* 48 = (signal)*/
|
||||||
no_sys, /* 49 = unused */
|
no_sys, /* 49 = unused */
|
||||||
no_sys, /* 50 = lstat */
|
no_sys, /* 50 = lstat */
|
||||||
no_sys, /* 51 = unused */
|
no_sys, /* 51 = (stat) */
|
||||||
no_sys, /* 52 = unused */
|
no_sys, /* 52 = (fstat) */
|
||||||
no_sys, /* 53 = unused */
|
no_sys, /* 53 = (lstat) */
|
||||||
no_sys, /* 54 = ioctl */
|
no_sys, /* 54 = ioctl */
|
||||||
no_sys, /* 55 = fcntl */
|
no_sys, /* 55 = fcntl */
|
||||||
no_sys, /* 56 = unused */
|
no_sys, /* 56 = unused */
|
||||||
|
|
|
@ -66,9 +66,9 @@ PUBLIC _PROTOTYPE (int (*call_vec[]), (void) ) = {
|
||||||
no_sys, /* 48 = (signal)*/
|
no_sys, /* 48 = (signal)*/
|
||||||
do_rdlink, /* 49 = readlink*/
|
do_rdlink, /* 49 = readlink*/
|
||||||
do_lstat, /* 50 = lstat (prev)*/
|
do_lstat, /* 50 = lstat (prev)*/
|
||||||
no_sys, /* 51 = unused */
|
do_stat, /* 51 = stat */
|
||||||
no_sys, /* 52 = unused */
|
do_fstat, /* 52 = fstat */
|
||||||
no_sys, /* 53 = unused */
|
do_lstat, /* 53 = lstat */
|
||||||
do_ioctl, /* 54 = ioctl */
|
do_ioctl, /* 54 = ioctl */
|
||||||
do_fcntl, /* 55 = fcntl */
|
do_fcntl, /* 55 = fcntl */
|
||||||
no_sys, /* 56 = unused */
|
no_sys, /* 56 = unused */
|
||||||
|
@ -80,9 +80,9 @@ PUBLIC _PROTOTYPE (int (*call_vec[]), (void) ) = {
|
||||||
no_sys, /* 62 = (setsid)*/
|
no_sys, /* 62 = (setsid)*/
|
||||||
no_sys, /* 63 = (getpgrp)*/
|
no_sys, /* 63 = (getpgrp)*/
|
||||||
no_sys, /* 64 = (itimer)*/
|
no_sys, /* 64 = (itimer)*/
|
||||||
do_stat, /* 65 = stat */
|
do_stat, /* 65 = stat - badly numbered, being phased out */
|
||||||
do_fstat, /* 66 = fstat */
|
do_fstat, /* 66 = fstat - badly numbered, being phased out */
|
||||||
do_lstat, /* 67 = lstat */
|
do_lstat, /* 67 = lstat - badly numbered, being phased out */
|
||||||
no_sys, /* 68 = unused */
|
no_sys, /* 68 = unused */
|
||||||
no_sys, /* 69 = unused */
|
no_sys, /* 69 = unused */
|
||||||
no_sys, /* 70 = unused */
|
no_sys, /* 70 = unused */
|
||||||
|
|
Loading…
Reference in a new issue