summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authormeem <none@none>2006-10-31 23:06:05 -0800
committermeem <none@none>2006-10-31 23:06:05 -0800
commit9aa9fab90ce3f906a8a5591b744a385ed10a510e (patch)
tree459b4575766e219c55da5d0bf88eef79d7505c08 /usr/src
parent4c8a46c19290e68300bde1e62329c3ff413a21b7 (diff)
downloadillumos-joyent-9aa9fab90ce3f906a8a5591b744a385ed10a510e.tar.gz
6488124 sd_tail breaks stdata_t binary compatibility
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/sys/strsubr.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/strsubr.h b/usr/src/uts/common/sys/strsubr.h
index 4f424e96e1..6301848676 100644
--- a/usr/src/uts/common/sys/strsubr.h
+++ b/usr/src/uts/common/sys/strsubr.h
@@ -168,6 +168,11 @@ typedef struct ciputctrl_str {
/*
* Header for a stream: interface to rest of system.
+ *
+ * NOTE: While this is a consolidation-private structure, some unbundled and
+ * third-party products inappropriately make use of some of the fields.
+ * As such, please take care to not gratuitously change any offsets of
+ * existing members.
*/
typedef struct stdata {
struct queue *sd_wrq; /* write queue */
@@ -178,10 +183,8 @@ typedef struct stdata {
uint_t sd_iocid; /* ioctl id */
struct pid *sd_sidp; /* controlling session info */
struct pid *sd_pgidp; /* controlling process group info */
- ushort_t sd_unused; /* UNUSED, retained for binary */
- /* compatibility */
- ushort_t sd_wroff; /* write offset */
ushort_t sd_tail; /* reserved space in written mblks */
+ ushort_t sd_wroff; /* write offset */
int sd_rerror; /* error to return on read ops */
int sd_werror; /* error to return on write ops */
int sd_pushcnt; /* number of pushes done on stream */