diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-06-17 17:16:08 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-06-17 17:16:08 +0000 |
commit | 883d8fd44467302c3565033377329596ff584353 (patch) | |
tree | 6a4fab996854c794c5bbb82961a34807efb5bdb0 /sys/miscfs/tcfs/tcfs_mount.h | |
parent | e5891f818a179b348802443c30c18b6ab4adfed8 (diff) |
initial import of tcfs.
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_mount.h')
-rw-r--r-- | sys/miscfs/tcfs/tcfs_mount.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys/miscfs/tcfs/tcfs_mount.h b/sys/miscfs/tcfs/tcfs_mount.h new file mode 100644 index 00000000000..59e863f3482 --- /dev/null +++ b/sys/miscfs/tcfs/tcfs_mount.h @@ -0,0 +1,39 @@ +#ifndef _TCFS_KEYTAB_H_ +#include "tcfs_keytab.h" +#endif +#define _TCFS_MOUNT_H_ + +#ifndef _TCFS_VERSION_H_ +#include "tcfs_version.h" +#endif + +#define MaxCipherNameLen 8 +struct tcfs_status { + int status; + int n_ukey; + int n_gkey; + int tcfs_version; + char cipher_desc[MaxCipherNameLen]; + int cipher_keysize; + int cipher_version; + }; +struct tcfs_args { + char *target; /* Target of loopback */ + char *tcfs_key; /* chiave */ + int cipher_num; + int cmd; /* direttiva */ + uid_t user; /* utente */ + pid_t proc; /* processo */ + gid_t group; /* gruppo */ + int treshold; /* soglia grpkey */ + struct tcfs_status st; +}; + +struct tcfs_mount { + struct mount *tcfsm_vfs; + struct vnode *tcfsm_rootvp; /* Reference to root tcfs_node */ + void* ks; + tcfs_keytab *tcfs_uid_kt; + tcfs_keytab *tcfs_gid_kt; + int tcfs_cipher_num; +}; |