CVS commit: src/sys/compat/linux/common

2020-12-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Dec 4 00:26:16 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_misc_notalpha.c Log Message: Rewrite linux_sys_alarm() to use dogetitimer() / dosetitimer(), rather than fiddling with process timers directly. To

CVS commit: src/sys/compat/linux/common

2020-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 3 22:08:44 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: PR/55780: Bernd Sieker: setsockopt in Linux emulation misses some options To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2020-10-24 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sat Oct 24 09:01:56 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Fix compat with Linux programs that use longer namelen for sockets Linux is less strict than NetBSD and permits namelen to be

CVS commit: src/sys/compat/linux/common

2020-05-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu May 14 08:26:29 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Fix previous; specify lwpid for curlpw in the case of pid == 0. For linux_sys_sched_setaffinity, pid == 0 means the current

CVS commit: src/sys/compat/linux/common

2020-04-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 29 01:55:18 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Fix proc / lwp lookup processing in linux_sys_sched_getaffinity() and linux_sys_sched_setaffinity(). They were incorrect even

CVS commit: src/sys/compat/linux/common

2020-04-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 29 01:55:52 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: Fix proc lookup by distinguishing between the "tgid" and "tid" cases. To generate a diff of this commit: cvs rdiff -u -r1.81

CVS commit: src/sys/compat/linux/common

2018-07-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 15 21:31:00 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: - fix constants and explain limit - use machine32 instead of hard-coded x86 stuff To generate a diff of this commit:

CVS commit: src/sys/compat/linux/common

2018-07-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 9 05:43:35 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: Fix compile error. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96

CVS commit: src/sys/compat/linux/common

2018-07-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 8 17:58:39 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: Enable executing linux go binaries by using a special probe function for them. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/linux/common

2018-04-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Apr 15 03:25:25 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Remove unused variable p from linux_sys_clone() After refactoring by in 2010 (r. 1.63) the p variable is no longer used. As

CVS commit: src/sys/compat/linux/common

2018-01-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 7 21:14:38 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_sigaction.c linux_signal.c Log Message: Ignore signal 64 for now (go uses it) XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2017-11-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 21 10:45:12 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_sg.c Log Message: This should be "linux_sg_version", not "version". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/compat/linux/common

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 02:31:22 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_time.c Log Message: Put suser check in the right function: settimeofday, not gettimeofday. While here, remove wrong comment. Noted by kre@. To

CVS commit: src/sys/compat/linux/common

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:14:59 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_time.c Log Message: Only let the superuser set the compat_linux timezone. Not really keen to invent a new kauth cookie for this useless purpose.

CVS commit: src/sys/compat/linux/common

2017-04-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Apr 9 00:02:30 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: speed limit 80 To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/compat/linux/common/linux_futex.c

CVS commit: src/sys/compat/linux/common

2017-02-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Feb 20 16:30:41 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: KNF; no binary changes To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/common/linux_signal.c

CVS commit: src/sys/compat/linux/common

2017-02-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Feb 20 16:26:30 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: CID 980928: fix NULL pointer dereferece To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

CVS commit: src/sys/compat/linux/common

2017-02-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 9 22:01:48 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socketcall.c linux_socketcall.h Log Message: use proper arg functions, remove bogus ones. To generate a diff of this commit: cvs rdiff -u -r1.47

CVS commit: src/sys/compat/linux/common

2017-02-06 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Feb 6 23:45:49 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: Use ELFOSABI_LINUX instead of a magic number. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94

CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 3 22:29:51 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socketcall.h Log Message: New versions of linux on arm and others have both socketcall and separate syscalls... To generate a diff of this

CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 3 16:57:39 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socket.h linux_socketcall.c linux_socketcall.h Log Message: add sendmmsg and recvmmsg To generate a diff of this

CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 3 13:08:08 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socketcall.c linux_socketcall.h Log Message: handle accept4 for i386 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 3 08:43:02 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Do not compile accept4 on i386, there is no such syscall in Linux. To generate a diff of this commit: cvs rdiff -u -r1.134

CVS commit: src/sys/compat/linux/common

2017-02-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 2 15:36:55 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: implement accept4 To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

CVS commit: src/sys/compat/linux/common

2017-01-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 28 15:01:01 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_file64.c linux_misc.c Log Message: copy the terminating NUL (njoly) To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/compat/linux/common

2017-01-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 13 22:46:44 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_file64.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/compat/linux/common/linux_file64.c Please

CVS commit: src/sys/compat/linux/common

2017-01-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 13 22:45:15 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: no namlen on linux To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/sys/compat/linux/common/linux_misc.c

CVS commit: src/sys/compat/linux/common

2017-01-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 13 20:24:37 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: convert strcpy to a bounded copy to avoid compiler warnings, although the reclen test prevents overflow. To generate a diff

CVS commit: src/sys/compat/linux/common

2017-01-02 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 2 20:10:44 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_signal.h Log Message: Provide a dummy linux_sigset_t for all architectures that do not have any machdep one. This make kdump compile again. To

CVS commit: src/sys/compat/linux/common

2016-08-31 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Wed Aug 31 08:12:44 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_misc.c linux_misc.h Log Message: Teach wait4 about WCONTINUED. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/sys/compat/linux/common

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:20:11 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/compat/linux/common

2016-07-05 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Jul 5 07:55:08 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Fix psref isn't released in a case of IFADDR_EMPTY To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130

CVS commit: src/sys/compat/linux/common

2016-05-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri May 20 13:54:34 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: simplify and fix futex requeuing: don't wake up all the threads being requeued to have them move themselves from one list to

CVS commit: src/sys/compat/linux/common

2015-10-09 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Oct 10 04:28:04 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_mod.c Log Message: Add an additional dependency on compat_sysv To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/compat/linux/common

2015-07-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 3 02:24:28 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: PR/50021: Rin Okuyama: Fix linux affinity syscalls XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.67

CVS commit: src/sys/compat/linux/common

2015-06-10 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Jun 11 02:54:00 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/compat/linux/common

2015-05-24 Thread Tyler R. Retzlaff
Module Name:src Committed By: rtr Date: Sun May 24 17:07:27 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: convert remaining linux_get_sa() users to use linux_get_sa_sb() and pass the pointer to the sockaddr in msghdr.msg_name, while

CVS commit: src/sys/compat/linux/common

2015-03-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Sun Mar 1 13:19:39 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_fcntl.h linux_file.c Log Message: Add Linux specific fcntl(2) commands. Support F_DUPFD_CLOEXEC. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2015-02-28 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Sat Feb 28 13:08:00 UTC 2015 Modified Files: src/sys/compat/linux/common: linux_limit.h Log Message: When converting limits from linux32 (int32_t) to native (uint64_t), cast it to unsigned first to avoid bad side effect for

CVS commit: src/sys/compat/linux/common

2014-11-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Sat Nov 22 15:47:42 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_errno.h Log Message: Do not define LINUX_EDEADLK more than once. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/compat/linux/common

2014-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Nov 21 06:03:04 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Tweak linux_getifhwaddr No functional change. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121

CVS commit: src/sys/compat/linux/common

2014-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 30 16:45:28 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_uselib.c Log Message: Reject non-regular files. Patch from njoly@. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/compat/linux/common

2014-10-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 19 17:33:59 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_uselib.c Log Message: Resource leak. Found by my code scanner. Tested by njoly@; ok njoly@ rmind@ on tech-kern@. To generate a diff of this commit:

CVS commit: src/sys/compat/linux/common

2014-06-25 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Wed Jun 25 16:38:53 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_file.c Log Message: Add support for more open flags that have a native equivalent (O_NONBLOCK, O_DIRECT and O_NOFOLLOW). Translate native EFTYPE error

CVS commit: src/sys/compat/linux/common

2014-05-23 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri May 23 12:28:51 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Add a funtion that translate socket type value from Linux to NetBSD. Use it for socket and socketpair syscalls. To generate a

CVS commit: src/sys/compat/linux/common

2014-05-20 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue May 20 17:31:18 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_uid16.c Log Message: Fix signed vs. unsigned comparison in getgroups16() syscall. Negative gisetsize values now fail with EINVAL as expected. To

CVS commit: src/sys/compat/linux/common

2014-05-06 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue May 6 13:21:50 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_file.c Log Message: linux_off_t - off_t in pwrite() syscall args comment. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110

CVS commit: src/sys/compat/linux/common

2014-05-06 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue May 6 18:17:22 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_fadvise64_64.c Log Message: Fix cp error for the length argument in fadvise64_64. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/compat/linux/common

2014-02-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Feb 11 16:00:13 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: Fix uninitialized variable. Harmless: it does not change the behavior at all. ok rmind@ christos@ To generate a diff of this

CVS commit: src/sys/compat/linux/common

2014-01-27 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Jan 27 13:23:33 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Add SO_SNDLOWAT, SO_RCVLOWAT and SO_ACCEPTCONN support for socket options. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2014-01-27 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Jan 27 19:19:15 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socket.h Log Message: Add basic IPV6 level socket options support (IPV6_V6ONLY). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2014-01-23 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Jan 23 19:18:08 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Fix inverted pid/lid arguments in do_sched_{get,set}param calls. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/compat/linux/common

2013-12-27 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Dec 27 15:10:53 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_ipccall.c linux_ipccall.h linux_socketcall.c linux_socketcall.h Log Message: Rename ipcall/socketcall specific defines to avoid conflict

CVS commit: src/sys/compat/linux/common

2013-12-27 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Dec 27 16:58:50 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_termios.c Log Message: Add easy parts (TCOOFF/TCOON) of the TCXONC linux termios ioctl. To generate a diff of this commit: cvs rdiff -u -r1.36

CVS commit: src/sys/compat/linux/common

2013-12-08 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Sun Dec 8 14:59:43 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_file.c Log Message: Add missing syscall argument fd in comment. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107

CVS commit: src/sys/compat/linux/common

2013-11-10 Thread Sergio Lopez
Module Name:src Committed By: slp Date: Sun Nov 10 12:07:52 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: On linux_sys_getdents, insert d_type at the end of each record. Fixes PR kern/47806. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/compat/linux/common

2013-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 17 21:08:16 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/compat/linux/common

2013-08-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Aug 11 09:07:15 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: Allow to build in envs without USRSTACK (namely, rump kernels on powerpc). TODO: all of the m*() calls are by definition

CVS commit: src/sys/compat/linux/common

2013-07-18 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Jul 18 17:31:02 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: Do not make FUTEX_WAIT wait indefinitely for an invalid timeout (tv_nsec = -1). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2013-06-08 Thread Arnaud Ysmal
Module Name:src Committed By: stacktic Date: Sat Jun 8 12:50:32 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_ioctl.h Log Message: Typo To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/compat/linux/common/linux_ioctl.h Please note

CVS commit: src/sys/compat/linux/common

2013-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 17 14:39:41 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: handle timeouts like before. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/compat/linux/common

2013-04-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 16 23:03:05 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_futex.c linux_futex.h Log Message: Add some more futex gunk and explain why it does not work (yet). Now skype aborts with a futex timeout, instead

CVS commit: src/sys/compat/linux/common

2013-04-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 15 19:24:04 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: alpha uses standard utimes. To generate a diff of this commit: cvs rdiff -u -r1.222 -r1.223

CVS commit: src/sys/compat/linux/common

2013-04-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Apr 9 08:00:20 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: Fix COMPAT_LINUX32. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/sys/compat/linux/common/linux_misc.c

CVS commit: src/sys/compat/linux/common

2013-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 11 02:49:09 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_futex.h Log Message: add the futex PI commands (not implemented yet) PI = Priotity Inheritance To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2012-09-13 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Sep 13 13:59:33 UTC 2012 Modified Files: src/sys/compat/linux/common: linux_misc.h linux_statfs.h Log Message: Rename structure members to make the code compile in environments where linux is #defined. To generate a diff of

CVS commit: src/sys/compat/linux/common

2012-06-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jun 22 08:47:48 UTC 2012 Modified Files: src/sys/compat/linux/common: linux_socketcall.c Log Message: From the parse errors that you just do not see as a human department: build fix. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/linux/common

2012-06-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 21 17:55:16 UTC 2012 Modified Files: src/sys/compat/linux/common: linux_socketcall.c Log Message: fix token pasting. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/compat/linux/common

2012-06-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 20 15:03:18 UTC 2012 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socketcall.c Log Message: print proper ktruser names depending on the emulation. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2011-11-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Nov 18 09:17:09 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_siginfo.h Log Message: Provide linux_siginfo_t for all archs, to unbreak kdump build. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/compat/linux/common

2011-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 18 15:45:47 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: remove incorrect assertions (the len passed is the size of the bsd structure not the linux one) To generate a diff of this

CVS commit: src/sys/compat/linux/common

2011-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 18 17:36:06 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: remove one more kassert To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/sys/compat/linux/common

2011-09-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Sep 25 13:40:07 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_termios.h Log Message: linux_termio c_cc array should be indexed by LINUX_OLD_V* rather than LINUX_V*. fixes array overrun on alpha noticed by gcc 4.5.

CVS commit: src/sys/compat/linux/common

2011-09-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 14 12:28:09 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_futex.c linux_futex.h linux_mod.c Log Message: Can't use RUN_ONCE here to initialize the futex_lock, otherwise we cannot unload the module. To

CVS commit: src/sys/compat/linux/common

2011-09-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Sep 1 12:44:10 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_file64.c Log Message: Make linux_sys_getdents64 fails with ENOTDIR instead of EINVAL, when fd does not refer to a directory. To generate a diff of

CVS commit: src/sys/compat/linux/common

2011-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 18 02:21:02 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_exec.c Log Message: sizeof type - sizeof *var To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

CVS commit: src/sys/compat/linux/common

2011-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 18 02:26:39 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Better debugging. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/compat/linux/common/linux_sched.c

CVS commit: src/sys/compat/linux/common

2011-07-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 17 23:59:55 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: fail early on socket domain+type combinations we don't support To generate a diff of this commit: cvs rdiff -u -r1.109

CVS commit: src/sys/compat/linux/common

2011-07-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jul 4 12:39:36 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_termios.h Log Message: avoid array bounds violation on netbsd/mips when dealing with termio structures. (did linux/mips ever support termio?). the

CVS commit: src/sys/compat/linux/common

2011-05-28 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Sat May 28 23:24:58 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_ipc.c Log Message: Fix typo in a comment. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/compat/linux/common/linux_ipc.c

CVS commit: src/sys/compat/linux/common

2011-04-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 14 00:59:06 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_file.c linux_pipe.c Log Message: move dup3 to a more appropriate place because pipe is special. Gotta love linux. To generate a diff of this

CVS commit: src/sys/compat/linux/common

2011-04-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 10 15:49:56 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_file.c Log Message: We have O_CLOEXEC now To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102

CVS commit: src/sys/compat/linux/common

2011-04-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 10 15:50:34 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_pipe.c Log Message: - implement dup3 and pipe2 - eliminate amd64 ifdef To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

CVS commit: src/sys/compat/linux/common

2010-11-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Nov 2 18:03:00 UTC 2010 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socket.h Log Message: update linux_sys_socket() to understand the flags that are now included in the type parameter. in

CVS commit: src/sys/compat/linux/common

2009-11-16 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 16 08:44:21 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_ipc.c Log Message: Make sure to never leak padding space before copyout or copyin uninitialized fields by explicitly using memset in the conversion

CVS commit: src/sys/compat/linux/common

2009-09-03 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Sep 3 17:15:17 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Use correct sched_setscheduler syscall 3rd argument type. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/compat/linux/common

2009-08-27 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Aug 28 01:39:03 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_uselib.c Log Message: Another one that needs sys/exec_aout.h. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/compat/linux/common

2009-08-18 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Tue Aug 18 11:22:09 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_ipccall.c linux_ipccall.h Log Message: remove some inline from functions which are defined in a .c file but used elsewhere -- gcc-4.4.1 doesn't

CVS commit: src/sys/compat/linux/common

2009-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 18 02:04:14 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_oldmmap.c Log Message: more debugging for mmap To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

CVS commit: src/sys/compat/linux/common

2009-07-21 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Jul 21 18:42:56 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_time.c Log Message: Do reject unknown/invalid linux clockid. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/compat/linux/common

2009-06-18 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Jun 18 20:36:28 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: In linux_sys_sched_getaffinity(), do not leak memory on error. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/compat/linux/common

2009-06-16 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Jun 16 22:56:49 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: For linux cmsg header copyout, use the linux structure size, not the native one. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/compat/linux/common

2009-06-16 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Jun 16 23:17:02 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socket.h Log Message: Add LINUX_CMSG_{SPACE,LEN} macros. Use then when calculating the msg_controllen size, when converting the control

CVS commit: src/sys/compat/linux/common

2009-05-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri May 15 17:02:54 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_file64.c linux_misc.c Log Message: pad - PAD To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/sys/compat/linux/common

2009-04-23 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Apr 23 17:40:58 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_ipc.c Log Message: Add IPC_64 support for all semctl(2)/msgctl(2). Needed, at least on i386 for Linux 2.6 emulation. To generate a diff of this