00001 /* EXTERN should be extern except for the table file */ 00002 #ifdef _TABLE 00003 #undef EXTERN 00004 #define EXTERN 00005 #endif 00006 00007 /* File System global variables */ 00008 EXTERN struct fproc *fp; /* pointer to caller's fproc struct */ 00009 EXTERN int super_user; /* 1 if caller is super_user, else 0 */ 00010 EXTERN int susp_count; /* number of procs suspended on pipe */ 00011 EXTERN int nr_locks; /* number of locks currently in place */ 00012 EXTERN int reviving; /* number of pipe processes to be revived */ 00013 EXTERN off_t rdahedpos; /* position to read ahead */ 00014 EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */ 00015 EXTERN Dev_t root_dev; /* device number of the root device */ 00016 EXTERN time_t boottime; /* time in seconds at system boot */ 00017 00018 /* The parameters of the call are kept here. */ 00019 EXTERN message m_in; /* the input message itself */ 00020 EXTERN message m_out; /* the output message used for reply */ 00021 EXTERN int who_p, who_e; /* caller's proc number, endpoint */ 00022 EXTERN int call_nr; /* system call number */ 00023 EXTERN char user_path[PATH_MAX];/* storage for user path name */ 00024 00025 /* The following variables are used for returning results to the caller. */ 00026 EXTERN int err_code; /* temporary storage for error number */ 00027 EXTERN int rdwt_err; /* status of last disk i/o request */ 00028 00029 /* Data initialized elsewhere. */ 00030 extern _PROTOTYPE (int (*call_vec[]), (void) ); /* sys call table */ 00031 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */ 00032 extern char dot2[3]; /* meaning to search_dir: no access permission check. */
1.4.6