summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/file.h
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2017-07-18 20:34:09 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2017-07-20 22:31:24 +0000
commitc9254ee5521e8eeed03d6346a57472e239fce71a (patch)
tree99a430069009eb912cfe458835014be1f0b8efd3 /usr/src/uts/common/sys/file.h
parentb09f56270cc4cc33835a844b694a499dad9a5fea (diff)
downloadillumos-joyent-c9254ee5521e8eeed03d6346a57472e239fce71a.tar.gz
OS-6116 epoll should better detect fd reassignment
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/file.h')
-rw-r--r--usr/src/uts/common/sys/file.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/src/uts/common/sys/file.h b/usr/src/uts/common/sys/file.h
index 146987ff55..eb1328f38d 100644
--- a/usr/src/uts/common/sys/file.h
+++ b/usr/src/uts/common/sys/file.h
@@ -122,11 +122,6 @@ typedef struct fpollinfo {
#ifdef _KERNEL
/*
- * This is a flag that is set on f_flag2, but is never user-visible
- */
-#define FEPOLLED 0x8000
-
-/*
* Fake flags for driver ioctl calls to inform them of the originating
* process' model. See <sys/model.h>
*
@@ -199,6 +194,7 @@ struct vnodeops;
struct vattr;
extern file_t *getf(int);
+extern file_t *getf_gen(int, uf_entry_gen_t *);
extern void releasef(int);
extern void areleasef(int, uf_info_t *);
#ifndef _BOOT