diff options
Diffstat (limited to 'sys/compat/svr4/svr4_stropts.h')
-rw-r--r-- | sys/compat/svr4/svr4_stropts.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/compat/svr4/svr4_stropts.h b/sys/compat/svr4/svr4_stropts.h index c7847a6..a96c24d 100644 --- a/sys/compat/svr4/svr4_stropts.h +++ b/sys/compat/svr4/svr4_stropts.h @@ -116,12 +116,16 @@ struct svr4_strioctl { * Our internal state for the stream * For now we keep almost nothing... In the future we can keep more * streams state. + * + * Locking key: + * r - Read only field only set during creation + * G - Giant */ struct svr4_strm { - int s_family; /* socket family */ - int s_cmd; /* last getmsg reply or putmsg request */ - int s_afd; /* last accepted fd; [for fd_insert] */ - int s_eventmask; /* state info from I_SETSIG et al */ + int s_family; /* (r) socket family */ + int s_cmd; /* (G) last getmsg reply or putmsg request */ + int s_afd; /* (G) last accepted fd; [for fd_insert] */ + int s_eventmask; /* (G) state info from I_SETSIG et al */ }; /* |