1 | /* EXTERN should be extern except for the table file */
|
---|
2 | #ifdef _TABLE
|
---|
3 | #undef EXTERN
|
---|
4 | #define EXTERN
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | /* File System global variables */
|
---|
8 | EXTERN struct fproc *fp; /* pointer to caller's fproc struct */
|
---|
9 | EXTERN int super_user; /* 1 if caller is super_user, else 0 */
|
---|
10 | EXTERN int susp_count; /* number of procs suspended on pipe */
|
---|
11 | EXTERN int nr_locks; /* number of locks currently in place */
|
---|
12 | EXTERN int reviving; /* number of pipe processes to be revived */
|
---|
13 | EXTERN off_t rdahedpos; /* position to read ahead */
|
---|
14 | EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */
|
---|
15 | EXTERN Dev_t root_dev; /* device number of the root device */
|
---|
16 | EXTERN time_t boottime; /* time in seconds at system boot */
|
---|
17 |
|
---|
18 | /* The parameters of the call are kept here. */
|
---|
19 | EXTERN message m_in; /* the input message itself */
|
---|
20 | EXTERN message m_out; /* the output message used for reply */
|
---|
21 | EXTERN int who; /* caller's proc number */
|
---|
22 | EXTERN int call_nr; /* system call number */
|
---|
23 | EXTERN char user_path[PATH_MAX];/* storage for user path name */
|
---|
24 |
|
---|
25 | /* The following variables are used for returning results to the caller. */
|
---|
26 | EXTERN int err_code; /* temporary storage for error number */
|
---|
27 | EXTERN int rdwt_err; /* status of last disk i/o request */
|
---|
28 |
|
---|
29 | /* Data initialized elsewhere. */
|
---|
30 | extern _PROTOTYPE (int (*call_vec[]), (void) ); /* sys call table */
|
---|
31 | extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
|
---|
32 | extern char dot2[3]; /* meaning to search_dir: no access permission check. */
|
---|