Add DTYPE_CRYPTO, for userspaace access to the crypto framework,

which wants close-on-exec semantics (in addition to cloning).
This commit is contained in:
jonathan 2003-07-26 23:08:00 +00:00
parent de6bc09ee1
commit 66b119262b
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: file.h,v 1.44 2003/07/08 06:31:30 itojun Exp $ */
/* $NetBSD: file.h,v 1.45 2003/07/26 23:08:00 jonathan Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -68,6 +68,7 @@ struct file {
#define DTYPE_PIPE 3 /* pipe */
#define DTYPE_KQUEUE 4 /* event queue */
#define DTYPE_MISC 5 /* misc file descriptor type */
#define DTYPE_CRYPTO 6 /* crypto */
int f_type; /* descriptor type */
u_int f_count; /* reference count */
u_int f_msgcount; /* references from message queue */