svn commit: r218101 - in head/sys: amd64/linux32 i386/linux
Alexander Best
arundel at freebsd.org
Sun Jan 30 20:51:13 UTC 2011
On Sun Jan 30 11, Alexander Best wrote:
> On Sun Jan 30 11, Dmitry Chagin wrote:
> > Author: dchagin
> > Date: Sun Jan 30 20:31:43 2011
> > New Revision: 218101
> > URL: http://svn.freebsd.org/changeset/base/218101
> >
> > Log:
> > Change linux futex syscall definition to match actual linux one.
>
> nice catch. i'll adjust my FUTEX_WAIT_BITSET/FUTEX_WAKE_BITSET patch
> accordingly.
oh...and also you might want to have a look at the LINUX_CTR* occurrences,
where val3 gets output. i think you can turn lots of "%d"s to "%u"s.
>
> cheers.
> alex
>
> >
> > MFC after: 1 Month.
> >
> > Modified:
> > head/sys/amd64/linux32/syscalls.master
> > head/sys/i386/linux/syscalls.master
> >
> > Modified: head/sys/amd64/linux32/syscalls.master
> > ==============================================================================
> > --- head/sys/amd64/linux32/syscalls.master Sun Jan 30 18:17:38 2011 (r218100)
> > +++ head/sys/amd64/linux32/syscalls.master Sun Jan 30 20:31:43 2011 (r218101)
> > @@ -405,8 +405,8 @@
> > 237 AUE_NULL STD { int linux_fremovexattr(void); }
> > 238 AUE_NULL STD { int linux_tkill(int tid, int sig); }
> > 239 AUE_SENDFILE UNIMPL linux_sendfile64
> > -240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, int val, \
> > - struct l_timespec *timeout, void *uaddr2, int val3); }
> > +240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, uint32_t val, \
> > + struct l_timespec *timeout, uint32_t *uaddr2, uint32_t val3); }
> > 241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \
> > l_ulong *user_mask_ptr); }
> > 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \
> >
> > Modified: head/sys/i386/linux/syscalls.master
> > ==============================================================================
> > --- head/sys/i386/linux/syscalls.master Sun Jan 30 18:17:38 2011 (r218100)
> > +++ head/sys/i386/linux/syscalls.master Sun Jan 30 20:31:43 2011 (r218101)
> > @@ -407,8 +407,8 @@
> > 237 AUE_NULL STD { int linux_fremovexattr(void); }
> > 238 AUE_NULL STD { int linux_tkill(int tid, int sig); }
> > 239 AUE_SENDFILE UNIMPL linux_sendfile64
> > -240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, int val, \
> > - struct l_timespec *timeout, void *uaddr2, int val3); }
> > +240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, uint32_t val, \
> > + struct l_timespec *timeout, uint32_t *uaddr2, uint32_t val3); }
> > 241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \
> > l_ulong *user_mask_ptr); }
> > 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \
>
> --
> a13x
--
a13x
More information about the svn-src-head
mailing list