1 /* EXTERN should be extern except for the table file */
11 #include <minix/vfsif.h>
13 #include <fs/puffs/puffs_msgif.h>
15 EXTERN
struct puffs_usermount
*global_pu
;
17 EXTERN
int is_readonly_fs
;
18 EXTERN
int is_root_fs
;
21 /* Sometimes user can call exit. If we received a message,
22 * report a failure to VFS before exiting. Especially on mount
25 * Either transid of last request or 0.
27 EXTERN
int last_request_transid
;
29 /* The following variables are used for returning results to the caller. */
30 EXTERN
int err_code
; /* temporary storage for error number */
32 /* TODO: it duplicates caller_uid and caller_gid */
33 EXTERN
struct puffs_kcred global_kcred
;
35 extern int(*fs_call_vec
[]) (void);
37 EXTERN message fs_m_in
;
38 EXTERN message fs_m_out
;
39 EXTERN vfs_ucred_t credentials
;
41 EXTERN uid_t caller_uid
;
42 EXTERN gid_t caller_gid
;
46 EXTERN
char user_path
[PATH_MAX
+1]; /* pathname to be processed */
48 EXTERN dev_t fs_dev
; /* The device that is handled by this FS proc
50 EXTERN
char fs_name
[PATH_MAX
+1];
52 EXTERN
int unmountdone
;
53 EXTERN
int exitsignaled
;
55 #endif /* LIBPUFFS_GLO_H */