Subject: Re: OSF1 netscape on -current
To: None <cgd@netbsd.org>
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
List: port-alpha
Date: 02/04/2000 01:17:25
cgd@netbsd.org (Chris G. Demetriou) wrote:
> Nope. it's just that the emulation for that syscall hasn't been
> written. I expect that it'd be easy, but i didn't try since I didn't
> run into that syscall when making older versions of netscape+libraries
> work.
Attached diff was necessary for me to get netscape and matlab
working. While mapping OSF1's flock() to sys_flock seems OK,
msgrcv() and msgsnd() have a little different API from NetBSD's.
I think just mapping them to NetBSD's native syscalls is sufficient.
> If you provide me with an easy way (i.e. instructions) for how to
> install the new netscape bits, i can give it a go.
Just getting binary tarball from netscape.com would be sufficient
(assuming you have OSF shlibs).
retrieving revision 1.30
diff -u -r1.30 syscalls.master
--- syscalls.master 1999/05/10 05:58:44 1.30
+++ syscalls.master 2000/02/02 01:19:34
@@ -223,7 +223,7 @@
129 STD { int osf1_sys_truncate(const char *path, \
off_t length); }
130 STD { int osf1_sys_ftruncate(int fd, off_t length); }
-131 UNIMPL flock
+131 NOARGS { int sys_flock(int fd, int how); }
132 STD { int osf1_sys_setgid(gid_t gid); }
133 STD { int osf1_sys_sendto(int s, caddr_t buf, size_t len, \
int flags, struct sockaddr *to, int tolen); }
@@ -308,10 +308,15 @@
197 UNIMPL
198 UNIMPL
199 UNIMPL swapon
-200 UNIMPL msgctl
-201 UNIMPL msgget
-202 UNIMPL msgrcv
-203 UNIMPL msgsnd
+200 NOARGS { int compat_14_sys_msgctl(int msqid, int cmd, \
+ struct msqid_ds14 *buf); }
+201 NOARGS { int sys_msgget(key_t key, int msgflg); }
+202 NOARGS { int sys_msgrcv(int msqid, void* msgp, \
+;202 STD { int osf1_sys_msgrcv(int msqid, void* msgp, \
+ size_t msgsz, long msgtyp, int msgflg); }
+203 NOARGS { int sys_msgsnd(int msqid, const void* msgp, \
+;203 STD { int osf1_sys_msgsnd(int msqid, const void* msgp, \
+; size_t msgsz, int msgflg); }
204 UNIMPL semctl
205 UNIMPL semget
206 UNIMPL semop
--
IWAMOTO Toshihiro