summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_ipc.h
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1999-02-07 19:35:40 +0000
committerguido <guido@FreeBSD.org>1999-02-07 19:35:40 +0000
commit833655c3079d47321e8d655367fa84bac2cb9027 (patch)
treee2beb7f84fe8b22ff714023839f4f2e2a2f99197 /sys/i386/ibcs2/ibcs2_ipc.h
parent7537d2c54d4775e29dd02308eb7122f0f465f865 (diff)
downloadFreeBSD-src-833655c3079d47321e8d655367fa84bac2cb9027.zip
FreeBSD-src-833655c3079d47321e8d655367fa84bac2cb9027.tar.gz
1) Fix our view of how ibcs2_semid_ds looks. There is no padding int there
(SVR4 does have it so that;s probably the cause of this bug) 2) Add a wrapper function for translation between ibcs2_ipc_perm and ipc_perm as I think we screwed up when defining the ipc_perm struct and mixed up 'normal' and creator [ug]id's 3) Fix IBCS2_IPC_STAT semctl. The FreeBSD version needs a union semun whereas the IBCS2 version gives a struct ibcs2_semid_ds. Apparently this is all fixed in the SVR4 compatibility code. PR: 7729
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_ipc.h')
-rw-r--r--sys/i386/ibcs2/ibcs2_ipc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/ibcs2_ipc.h b/sys/i386/ibcs2/ibcs2_ipc.h
index 1fe2750..296a7f7 100644
--- a/sys/i386/ibcs2/ibcs2_ipc.h
+++ b/sys/i386/ibcs2/ibcs2_ipc.h
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: ibcs2_ipc.h,v 1.3 1997/02/22 09:33:20 peter Exp $
*/
@@ -49,7 +49,6 @@ struct ibcs2_semid_ds {
struct ipc_perm sem_perm;
struct ibcs2_sem *sem_base;
u_short sem_nsems;
- int pad1;
ibcs2_time_t sem_otime;
ibcs2_time_t sem_ctime;
};
OpenPOWER on IntegriCloud