diff options
-rw-r--r-- | usr.bin/tcfs/tcfs_dbmaint.c | 3 | ||||
-rw-r--r-- | usr.bin/tcfs/tcfs_getfspath.c | 5 | ||||
-rw-r--r-- | usr.bin/tcfs/tcfs_getstatus.c | 5 | ||||
-rw-r--r-- | usr.bin/tcfs/tcfslib.h | 7 |
4 files changed, 15 insertions, 5 deletions
diff --git a/usr.bin/tcfs/tcfs_dbmaint.c b/usr.bin/tcfs/tcfs_dbmaint.c index fd8758ed39f..66a6a4893fa 100644 --- a/usr.bin/tcfs/tcfs_dbmaint.c +++ b/usr.bin/tcfs/tcfs_dbmaint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfs_dbmaint.c,v 1.8 2000/06/19 23:06:24 aaron Exp $ */ +/* $OpenBSD: tcfs_dbmaint.c,v 1.9 2000/06/20 07:09:45 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -25,7 +25,6 @@ #include <miscfs/tcfs/tcfs.h> #include "tcfslib.h" -#include "tcfspwdb.h" #define PERM_SECURE (S_IRUSR|S_IWUSR) diff --git a/usr.bin/tcfs/tcfs_getfspath.c b/usr.bin/tcfs/tcfs_getfspath.c index 045130d860b..e80cd6dc3fb 100644 --- a/usr.bin/tcfs/tcfs_getfspath.c +++ b/usr.bin/tcfs/tcfs_getfspath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfs_getfspath.c,v 1.4 2000/06/19 23:06:24 aaron Exp $ */ +/* $OpenBSD: tcfs_getfspath.c,v 1.5 2000/06/20 07:09:45 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -17,6 +17,9 @@ #include <stdlib.h> #include <fstab.h> +#include <miscfs/tcfs/tcfs.h> +#include "tcfslib.h" + #define WHITESPACE " \t\r\n" int diff --git a/usr.bin/tcfs/tcfs_getstatus.c b/usr.bin/tcfs/tcfs_getstatus.c index 2dfa0af8338..1475392f190 100644 --- a/usr.bin/tcfs/tcfs_getstatus.c +++ b/usr.bin/tcfs/tcfs_getstatus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfs_getstatus.c,v 1.5 2000/06/20 01:29:14 provos Exp $ */ +/* $OpenBSD: tcfs_getstatus.c,v 1.6 2000/06/20 07:09:46 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -23,6 +23,9 @@ #include "tcfsdefines.h" #include <sys/ucred.h> +#include "tcfslib.h" +#include "tcfspwdb.h" + int tcfs_getstatus(char *filesystem, struct tcfs_status *st) diff --git a/usr.bin/tcfs/tcfslib.h b/usr.bin/tcfs/tcfslib.h index 64f25e7942e..2ac4168fb2e 100644 --- a/usr.bin/tcfs/tcfslib.h +++ b/usr.bin/tcfs/tcfslib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfslib.h,v 1.6 2000/06/19 20:35:48 fgsch Exp $ */ +/* $OpenBSD: tcfslib.h,v 1.7 2000/06/20 07:09:46 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -48,3 +48,8 @@ extern tcfspwdb * extern int tcfs_putpwnam __P((char *, tcfspwdb *, int)); extern int unix_auth __P((char **, char **, int)); +extern tcfsgpwdb * + tcfs_ggetpwnam __P((char *, gid_t, tcfsgpwdb **)); +extern int tcfs_gputpwnam __P((char *, tcfsgpwdb *, int)); +extern int tcfs_get_label __P((char *, char *, int *)); +extern int tcfs_verify_fs __P((char *)); |