From 66b119262b862ab3a083434c268ca7cd38108ffb Mon Sep 17 00:00:00 2001 From: jonathan Date: Sat, 26 Jul 2003 23:08:00 +0000 Subject: [PATCH] Add DTYPE_CRYPTO, for userspaace access to the crypto framework, which wants close-on-exec semantics (in addition to cloning). --- sys/sys/file.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/file.h b/sys/sys/file.h index dd90e47a6f4a..7aebee3bddc8 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -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 */