svn commit: r319052 - in head/sys/modules: linux linux64

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 07:37:40 2017 New Revision: 319052 URL: https://svnweb.freebsd.org/changeset/base/319052 Log: Strip _binary_linux_locore_o_size from ${VDSO}.so as it is a low absolute symbol, and this breaks symbol lookup in ddb. Requested by: bde@ MFC after:1 we

svn commit: r319053 - in head/sys: compat/linux conf modules/linux modules/linux64

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 07:40:09 2017 New Revision: 319053 URL: https://svnweb.freebsd.org/changeset/base/319053 Log: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. Also fix getrandom() if Linuxulator mod

svn commit: r319057 - head/sys/amd64/linux

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 08:46:57 2017 New Revision: 319057 URL: https://svnweb.freebsd.org/changeset/base/319057 Log: In r246085 some bits that are MI movied out into headers in compat/linux, but I missed that when I commited x86_64 Linuxulator. So remove the duplicates. MFC aft

svn commit: r319570 - in head/sys: compat/linux conf modules/linux modules/linux64

2017-06-04 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 4 18:24:41 2017 New Revision: 319570 URL: https://svnweb.freebsd.org/changeset/base/319570 Log: Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never mat

svn commit: r319571 - head/sys/compat/linux

2017-06-04 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 4 18:35:30 2017 New Revision: 319571 URL: https://svnweb.freebsd.org/changeset/base/319571 Log: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by: Ma

svn commit: r319849 - head/sys/compat/linux

2017-06-12 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 12 07:35:59 2017 New Revision: 319849 URL: https://svnweb.freebsd.org/changeset/base/319849 Log: Since r318735 (ino64 project) the size of the native struct dirent is equal or greater than the size of Linux struct dirent or struct dirent64. So, remove LINUX_RECL

svn commit: r319851 - head/sys/compat/linux

2017-06-12 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 12 07:48:51 2017 New Revision: 319851 URL: https://svnweb.freebsd.org/changeset/base/319851 Log: Remove the outdated definition. MFC after:1 week Modified: head/sys/compat/linux/linux_file.c Modified: head/sys/compat/linux/linux_file.c =

svn commit: r320329 - head/sys/fs/pseudofs

2017-06-25 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 25 15:21:51 2017 New Revision: 320329 URL: https://svnweb.freebsd.org/changeset/base/320329 Log: PFS_DELEN is the sum of the permanent part of the struct dirent and fixed size for the name buffer PFS_NAMELEN. As r318736 was commited (ino64 project) the size of t

svn commit: r320595 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-07-03 Thread Dmitry Chagin
Author: dchagin Date: Mon Jul 3 10:24:49 2017 New Revision: 320595 URL: https://svnweb.freebsd.org/changeset/base/320595 Log: Add support for musl consumers to the Linuxulator. PR: 213809 Submitted by: Yonas Yanfa Reported by: Yonas Yanfa MFC after:1 week Relnotes:

svn commit: r320814 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:02:40 2017 New Revision: 320814 URL: https://svnweb.freebsd.org/changeset/base/320814 Log: Style(9). Add blank line aftr {. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/sys/fs/fdescfs/fdesc_vfsops.c ===

svn commit: r320815 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:04:09 2017 New Revision: 320815 URL: https://svnweb.freebsd.org/changeset/base/320815 Log: Remove init from declaration. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/sys/fs/fdescfs/fdesc_vfsops.c ==

svn commit: r320816 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:05:28 2017 New Revision: 320816 URL: https://svnweb.freebsd.org/changeset/base/320816 Log: Remove init from declaration, collapse two int vars declarations into single. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/

svn commit: r320817 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:08:22 2017 New Revision: 320817 URL: https://svnweb.freebsd.org/changeset/base/320817 Log: Don't take a lock around atomic operation. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/sys/fs/fdescfs/fdesc_vfsops.c =

svn commit: r320818 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:12:00 2017 New Revision: 320818 URL: https://svnweb.freebsd.org/changeset/base/320818 Log: Eliminate the bogus cast. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/sys/fs/fdescfs/fdesc_vfsops.c ==

svn commit: r320819 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:13:25 2017 New Revision: 320819 URL: https://svnweb.freebsd.org/changeset/base/320819 Log: Eliminate the bogus cast. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vfsops.c Modified: head/sys/fs/fdescfs/fdesc_vfsops.c ==

svn commit: r320820 - head/sys/fs/fdescfs

2017-07-08 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 8 21:15:46 2017 New Revision: 320820 URL: https://svnweb.freebsd.org/changeset/base/320820 Log: Don't initialize error in declaration. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vnops.c Modified: head/sys/fs/fdescfs/fdesc_vnops.c ===

svn commit: r320836 - head/sys/fs/fdescfs

2017-07-09 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 9 14:15:51 2017 New Revision: 320836 URL: https://svnweb.freebsd.org/changeset/base/320836 Log: Eliminate the bogus casts. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vnops.c Modified: head/sys/fs/fdescfs/fdesc_vnops.c ===

svn commit: r320837 - head/sys/fs/fdescfs

2017-07-09 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 9 14:18:22 2017 New Revision: 320837 URL: https://svnweb.freebsd.org/changeset/base/320837 Log: Style(9). Whitespace. MFC after:3 weeks Modified: head/sys/fs/fdescfs/fdesc_vnops.c Modified: head/sys/fs/fdescfs/fdesc_vnops.c

svn commit: r346603 - in head/sys: amd64/linux32 i386/linux

2019-09-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 23 18:10:46 2019 New Revision: 346603 URL: https://svnweb.freebsd.org/changeset/base/346603 Log: Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master. MFC a

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-09-03 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and the

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2019-05-27 Thread Dmitry Chagin
сб, 19 мая 2018 г. в 10:31, Matthew Macy : > r333874 > > > Hi, is it possible to merge r333425, r333874, r333813, r334118 and related revs to the stable/11? ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-hea

svn commit: r348418 - head/sys/compat/linux

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 14:21:51 2019 New Revision: 348418 URL: https://svnweb.freebsd.org/changeset/base/348418 Log: Linux does not support MSG_OOB for unix(4) or non-stream oriented socket, return EOPNOTSUPP as a Linux does. Reviewed by: tijl MFC after:1 week Different

svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 14:24:26 2019 New Revision: 348419 URL: https://svnweb.freebsd.org/changeset/base/348419 Log: Complete LOCAL_PEERCRED support. Cache pid of the remote process in the struct xucred. Do not bump XUCRED_VERSION as struct layout is not changed. PR: 2

svn commit: r348434 - head/sys/kern

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 16:11:20 2019 New Revision: 348434 URL: https://svnweb.freebsd.org/changeset/base/348434 Log: Remove wrong inline keyword. Reported by: markj MFC after:1 week Modified: head/sys/kern/kern_prot.c Modified: head/sys/kern/kern_prot.c

svn commit: r348847 - head/sys/sys

2019-06-09 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 10 05:28:03 2019 New Revision: 348847 URL: https://svnweb.freebsd.org/changeset/base/348847 Log: Use C11 anonymous unions. PR: 215202 Reported by: glebius MFC after:2 weeks Modified: head/sys/sys/ucred.h Modified: head/sys/sys/ucred.h ===

Re: svn commit: r348847 - head/sys/sys

2019-06-13 Thread Dmitry Chagin
Hi, All! thanks for reply, I will be back in a week and fix it, I am rafting in Eastern Siberia)) чт, 13 июня 2019 г. в 11:43, Tijl Coosemans : > On Wed, 12 Jun 2019 16:51:03 -0600 Warner Losh wrote: > > On Wed, Jun 12, 2019 at 4:49 PM Gleb Smirnoff > wrote: > >> On Mon, Jun 10, 2019 at 11:09

Re: svn commit: r356241 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-31 Thread Dmitry Chagin
Hi, HNY! What about vdso? ср, 1 янв. 2020 г. в 01:01, Edward Tomasz Napierala : > Author: trasz > Date: Tue Dec 31 22:01:08 2019 > New Revision: 356241 > URL: https://svnweb.freebsd.org/changeset/base/356241 > > Log: > Add basic getcpu(2) support to linuxulator. The purpose of this > syscall

svn commit: r357491 - head/sys/compat/linux

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:23:34 2020 New Revision: 357491 URL: https://svnweb.freebsd.org/changeset/base/357491 Log: linux_to_native_clockid() properly initializes nwhich variable (or return error), so don't initialize nwhich in declaration and remove stale comment from r161304.

svn commit: r357492 - in head/sys: kern sys

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:25:51 2020 New Revision: 357492 URL: https://svnweb.freebsd.org/changeset/base/357492 Log: For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to . As both functions become a public interface ad

svn commit: r357493 - head/sys/compat/linux

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:27:05 2020 New Revision: 357493 URL: https://svnweb.freebsd.org/changeset/base/357493 Log: Fix clock_gettime() and clock_getres() for cpu clocks: - handle the CLOCK_{PROCESS,THREAD}_CPUTIME_ID specified directly; - fix thread id calculation as in the Linux

Re: svn commit: r357530 - head/sys/kern

2020-02-04 Thread Dmitry Chagin
ср, 5 февр. 2020 г. в 00:02, Konstantin Belousov : > Author: kib > Date: Tue Feb 4 21:02:08 2020 > New Revision: 357530 > URL: https://svnweb.freebsd.org/changeset/base/357530 > > Log: > Remove unneeded assert for curproc. Simplify. > > Reported by: syzkaller by markj > Sponsored by: The

svn commit: r219041 - head/sys/kern

2011-02-25 Thread Dmitry Chagin
Author: dchagin Date: Fri Feb 25 22:03:28 2011 New Revision: 219041 URL: http://svn.freebsd.org/changeset/base/219041 Log: ktrace_resize_pool() locking slightly reworked: 1) do not take a lock around the single atomic operation. 2) do not lose the invariant of lock by dropping/acquiring

svn commit: r219042 - in head/sys: kern sys

2011-02-25 Thread Dmitry Chagin
Author: dchagin Date: Fri Feb 25 22:05:33 2011 New Revision: 219042 URL: http://svn.freebsd.org/changeset/base/219042 Log: Introduce preliminary support of the show description of the ABI of traced process by adding two new events which records value of process sv_flags to the trace file at

svn commit: r219043 - in head/usr.bin: kdump ktrace

2011-02-25 Thread Dmitry Chagin
Author: dchagin Date: Fri Feb 25 22:07:23 2011 New Revision: 219043 URL: http://svn.freebsd.org/changeset/base/219043 Log: Teach kdump to understand sv_flags records in the trace files. MFC after:1 Month. Modified: head/usr.bin/kdump/kdump.c head/usr.bin/ktrace/ktrace.c head/usr.

svn commit: r219044 - head/usr.bin/kdump

2011-02-25 Thread Dmitry Chagin
Author: dchagin Date: Fri Feb 25 22:14:12 2011 New Revision: 219044 URL: http://svn.freebsd.org/changeset/base/219044 Log: Update manual page to reflect latest changes of ABI description support. MFC after:1 Month. Modified: head/usr.bin/kdump/kdump.1 Modified: head/usr.bin/kdump/kd

svn commit: r219138 - head/usr.bin/kdump

2011-03-01 Thread Dmitry Chagin
Author: dchagin Date: Tue Mar 1 16:42:28 2011 New Revision: 219138 URL: http://svn.freebsd.org/changeset/base/219138 Log: Teach kdump to decode linux syscalls names too. Fix bug introduced in my previous commit: the kernel always dump native signal numbers, so no need to check the ABI in

svn commit: r219240 - head/sys/compat/linux

2011-03-03 Thread Dmitry Chagin
Author: dchagin Date: Thu Mar 3 18:19:10 2011 New Revision: 219240 URL: http://svn.freebsd.org/changeset/base/219240 Log: Switch PROCESS_SHARE to AUTO_SHARE (as umtx do). Even for SHARED, if page mapped MAP_ANON linux uses private algorithm too. Disscussed with: jhb MFC after:

svn commit: r219242 - head/sys/compat/linux

2011-03-03 Thread Dmitry Chagin
Author: dchagin Date: Thu Mar 3 18:29:55 2011 New Revision: 219242 URL: http://svn.freebsd.org/changeset/base/219242 Log: Print out shared flag for debug purpose. MFC after:1 Week Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/linux_futex.c ==

svn commit: r219311 - head/sys/kern

2011-03-05 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 5 20:36:42 2011 New Revision: 219311 URL: http://svn.freebsd.org/changeset/base/219311 Log: Partially reworked r219042. The reason for this is a bug at ktrops() where process dereferenced without having a lock. This might cause a panic if ktrace was runned wi

svn commit: r219312 - head/sys/kern

2011-03-05 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 5 20:54:17 2011 New Revision: 219312 URL: http://svn.freebsd.org/changeset/base/219312 Log: Style(9) fix. Fix indentation in comment, double ';' in variable declaration. MFC after:1 Week Modified: head/sys/kern/kern_ktrace.c Modified: head/sys/kern/k

svn commit: r219364 - head/sys/amd64/linux32

2011-03-07 Thread Dmitry Chagin
Author: dchagin Date: Mon Mar 7 08:12:07 2011 New Revision: 219364 URL: http://svn.freebsd.org/changeset/base/219364 Log: Remove dead code. MFC after:1 Week Modified: head/sys/amd64/linux32/linux32_genassym.c Modified: head/sys/amd64/linux32/linux32_genassym.c =

svn commit: r219405 - in head/sys: amd64/amd64 amd64/linux32 arm/arm compat/ia32 compat/linux compat/svr4 i386/i386 i386/ibcs2 i386/linux ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sys

2011-03-08 Thread Dmitry Chagin
Author: dchagin Date: Tue Mar 8 19:01:45 2011 New Revision: 219405 URL: http://svn.freebsd.org/changeset/base/219405 Log: Extend struct sysvec with new method sv_schedtail, which is used for an explicit process at fork trampoline path instead of eventhadler(schedtail) invocation for each ch

svn commit: r219406 - head/sys/sys

2011-03-08 Thread Dmitry Chagin
Author: dchagin Date: Tue Mar 8 19:05:14 2011 New Revision: 219406 URL: http://svn.freebsd.org/changeset/base/219406 Log: Bump __FreeBSD_version for struct sysvec (sv_schedtail) changes. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

svn commit: r219421 - head/sys/compat/linux

2011-03-08 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 9 05:59:33 2011 New Revision: 219421 URL: http://svn.freebsd.org/changeset/base/219421 Log: Indeed, remove bogus since r219405 check of the Linux ABI. Pointed out: jhb MFC after:2 Week Modified: head/sys/compat/linux/linux_emul.c Modified: head/s

svn commit: r219558 - head/sys/compat/linux

2011-03-11 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 12 07:47:05 2011 New Revision: 219558 URL: http://svn.freebsd.org/changeset/base/219558 Log: Style(9) fixes. No functional changes. MFC after:2 Week Modified: head/sys/compat/linux/linux_ipc.c Modified: head/sys/compat/linux/linux_ipc.c

svn commit: r219609 - in head/sys: amd64/linux32 i386/linux

2011-03-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 13 14:58:02 2011 New Revision: 219609 URL: http://svn.freebsd.org/changeset/base/219609 Log: Enable shared page use for amd64/linux32 and i386/linux binaries. Move signal trampoline code from the top of the stack to the shared page. MFC after:2 Weeks Mod

svn commit: r219638 - head/usr.bin/calendar/calendars

2011-03-14 Thread Dmitry Chagin
Diomidis D. Spinellis born in Athens, Greece, 1967 02/02 Michael W Lucas born in Detroit, Michigan, United States, 1967 02/02 Yoichi Nakayama born in Tsu, Mie, Japan, 1976 +02/02 Dmitry Chagin born in Stalingrad, USSR, 1976 02/05 Frank Laszlo born in Howell, Michigan, United States, 1983 02

svn commit: r219776 - head/sys/net

2011-03-19 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 19 16:52:06 2011 New Revision: 219776 URL: http://svn.freebsd.org/changeset/base/219776 Log: Remove a now unused variable. MFC after:1 Week Modified: head/sys/net/route.c Modified: head/sys/net/route.c ===

svn commit: r219783 - head/sys/net

2011-03-19 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 19 19:50:36 2011 New Revision: 219783 URL: http://svn.freebsd.org/changeset/base/219783 Log: A bit rearranged rtalloc1_fib() code. Initialize a variable when it is really needed. To avoid code duplication move the miss label to line up and jump on it. MFC a

svn commit: r219786 - head/sys/net

2011-03-19 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 19 21:10:57 2011 New Revision: 219786 URL: http://svn.freebsd.org/changeset/base/219786 Log: ouch, newrt is used on the return path, my fault. Partialy revert the previous change. MFC after:1 Week. Modified: head/sys/net/route.c Modified: head/sys/net

svn commit: r219791 - head/sys/net

2011-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 08:35:00 2011 New Revision: 219791 URL: http://svn.freebsd.org/changeset/base/219791 Log: Remove dead code. MFC after:1 Week Modified: head/sys/net/route.h Modified: head/sys/net/route.h ===

svn commit: r220026 - in head/sys: amd64/linux32 i386/linux

2011-03-26 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 26 09:25:35 2011 New Revision: 220026 URL: http://svn.freebsd.org/changeset/base/220026 Log: Export the correct AT_PLATFORM value. Since signal trampolines are copied to the shared page do not need to leave place on the stack for it. Forgotten in the previous co

svn commit: r220730 - head/sys/kern

2011-04-16 Thread Dmitry Chagin
Author: dchagin Date: Sat Apr 16 16:20:51 2011 New Revision: 220730 URL: http://svn.freebsd.org/changeset/base/220730 Log: Remove malloc(9) return value checks when M_WAITOK is used. MFC after:2 Week Modified: head/sys/kern/link_elf.c head/sys/kern/link_elf_obj.c Modified: head/sy

svn commit: r221784 - head/sys/amd64/amd64

2011-05-11 Thread Dmitry Chagin
Author: dchagin Date: Wed May 11 17:57:15 2011 New Revision: 221784 URL: http://svn.freebsd.org/changeset/base/221784 Log: Remove wrong comment. MFC after:1 week. Modified: head/sys/amd64/amd64/machdep.c Modified: head/sys/amd64/amd64/machdep.c ==

svn commit: r222768 - head/usr.bin/kdump

2011-06-06 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 6 19:00:38 2011 New Revision: 222768 URL: http://svn.freebsd.org/changeset/base/222768 Log: Fix regex for ptraceopname(). PR: bin/157663 Submitted by: jason wright MFC after:10 days Modified: head/usr.bin/kdump/mksubr Modified: head/usr.

svn commit: r217725 - head/sys/conf

2011-01-22 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 22 20:53:27 2011 New Revision: 217725 URL: http://svn.freebsd.org/changeset/base/217725 Log: Option USB_HOST_ALIGN declared twice. Approved by: kib(mentor) Modified: head/sys/conf/options Modified: head/sys/conf/options

svn commit: r217743 - head/sys/compat/linux

2011-01-23 Thread Dmitry Chagin
Author: dchagin Date: Sun Jan 23 09:50:39 2011 New Revision: 217743 URL: http://svn.freebsd.org/changeset/base/217743 Log: Style(9) fix. Approved by: kib(mentor) MFC after:1 month Modified: head/sys/compat/linux/linux_signal.c Modified: head/sys/compat/linux/linux_signal.c ==

svn commit: r217873 - head/usr.bin/ktrdump

2011-01-25 Thread Dmitry Chagin
Author: dchagin Date: Wed Jan 26 06:36:14 2011 New Revision: 217873 URL: http://svn.freebsd.org/changeset/base/217873 Log: Add -H flag to print thread id. Modified: head/usr.bin/ktrdump/ktrdump.8 head/usr.bin/ktrdump/ktrdump.c Modified: head/usr.bin/ktrdump/ktrdump.8 ==

svn commit: r217896 - in head/sys: amd64/amd64 amd64/linux32 compat/linprocfs fs/procfs i386/linux kern powerpc/aim powerpc/powerpc sys

2011-01-26 Thread Dmitry Chagin
Author: dchagin Date: Wed Jan 26 20:03:58 2011 New Revision: 217896 URL: http://svn.freebsd.org/changeset/base/217896 Log: Add macro to test the sv_flags of any process. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures. MFC af

svn commit: r218005 - head/sys/compat/linux

2011-01-27 Thread Dmitry Chagin
Author: dchagin Date: Fri Jan 28 05:42:14 2011 New Revision: 218005 URL: http://svn.freebsd.org/changeset/base/218005 Log: Style(9) fix. MFC after:1 month. Modified: head/sys/compat/linux/linux_misc.c Modified: head/sys/compat/linux/linux_misc.c =

svn commit: r218028 - head/sys/amd64/linux32

2011-01-28 Thread Dmitry Chagin
Author: dchagin Date: Fri Jan 28 18:28:06 2011 New Revision: 218028 URL: http://svn.freebsd.org/changeset/base/218028 Log: To avoid excessive code duplication move struct rusage translation to a separate function. MFC after:1 Month. Modified: head/sys/amd64/linux32/linux32_machdep.

svn commit: r218030 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-01-28 Thread Dmitry Chagin
Author: dchagin Date: Fri Jan 28 18:47:07 2011 New Revision: 218030 URL: http://svn.freebsd.org/changeset/base/218030 Log: Implement a variation of the linux_common_wait() which should be used by linuxolator itself. Move linux_wait4() to MD path as it requires native struct rusage trans

svn commit: r218031 - head/sys/compat/linux

2011-01-28 Thread Dmitry Chagin
Author: dchagin Date: Fri Jan 28 19:04:15 2011 New Revision: 218031 URL: http://svn.freebsd.org/changeset/base/218031 Log: Style(9) fixes. MFC after:1 Month. Modified: head/sys/compat/linux/linux_misc.c Modified: head/sys/compat/linux/linux_misc.c ===

svn commit: r218059 - head/sys/amd64/linux32

2011-01-28 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 29 07:22:33 2011 New Revision: 218059 URL: http://svn.freebsd.org/changeset/base/218059 Log: My style(9) bug. Pointed out by: kib MFC after:1 Month. Modified: head/sys/amd64/linux32/linux32_machdep.c Modified: head/sys/amd64/linux32/linux32_m

svn commit: r218100 - in head/sys: amd64/linux32 i386/linux

2011-01-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jan 30 18:17:38 2011 New Revision: 218100 URL: http://svn.freebsd.org/changeset/base/218100 Log: The kern_wait() code already removes the SIGCHLD signal for the waited process. Removing other SIGCHLD signals is not needed and may cause problems. Pointed out by:

svn commit: r218101 - in head/sys: amd64/linux32 i386/linux

2011-01-30 Thread Dmitry Chagin
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. MFC after:1 Month. Modified: head/sys/amd64/linux32/syscalls.master head/sys/i386/linux/syscal

svn commit: r218103 - in head/sys: amd64/linux32 i386/linux

2011-01-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jan 30 20:38:26 2011 New Revision: 218103 URL: http://svn.freebsd.org/changeset/base/218103 Log: Regen for r218101. MFC after:1 Month. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/i386/linux/linux_proto.h Modified: head/sys/amd64/linux32/linu

svn commit: r218117 - head/sys/compat/linux

2011-01-30 Thread Dmitry Chagin
Author: dchagin Date: Mon Jan 31 05:59:05 2011 New Revision: 218117 URL: http://svn.freebsd.org/changeset/base/218117 Log: Implement a futex BITSET op. Submitted by: arundel MFC after:1 month. Modified: head/sys/compat/linux/linux_futex.c head/sys/compat/linux/linux_futex.h Modi

svn commit: r218118 - head/sys/compat/linux

2011-01-30 Thread Dmitry Chagin
Author: dchagin Date: Mon Jan 31 06:06:23 2011 New Revision: 218118 URL: http://svn.freebsd.org/changeset/base/218118 Log: Yet another unimplemented futex operation, print out about. Submitted by: arundel MFC after:1 month. Modified: head/sys/compat/linux/linux_futex.c head/sys/c

svn commit: r218609 - head/sys/sys

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 15:24:52 2011 New Revision: 218609 URL: http://svn.freebsd.org/changeset/base/218609 Log: Remove unused since r134586 thr_exit1() declaration. Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h

svn commit: r218610 - in head/sys: amd64/linux32 i386/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 15:33:25 2011 New Revision: 218610 URL: http://svn.freebsd.org/changeset/base/218610 Log: The fourth argument of linux_clone is a pointer to the TLS. Change clone syscall definition to match actual linux one. Modified: head/sys/amd64/linux32/syscalls.master

svn commit: r218611 - in head/sys: amd64/linux32 i386/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 15:36:25 2011 New Revision: 218611 URL: http://svn.freebsd.org/changeset/base/218611 Log: Regen for r218610. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_sysent.c head/sys/i386/l

svn commit: r218612 - in head/sys: amd64/linux32 i386/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 15:50:21 2011 New Revision: 218612 URL: http://svn.freebsd.org/changeset/base/218612 Log: In preparation for moving linux_clone () to a MI path move the TLS code in a separate function. Use function parameter instead of direct using register. Modified:

svn commit: r218613 - in head/sys: amd64/linux32 i386/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 16:33:00 2011 New Revision: 218613 URL: http://svn.freebsd.org/changeset/base/218613 Log: In preparation for moving linux_clone() to a MI path introduce linux_set_upcall_kse(). Modified: head/sys/amd64/linux32/linux.h head/sys/amd64/linux32/linux32_machdep

svn commit: r218616 - in head/sys: amd64/linux32 compat/linux conf i386/linux modules/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 18:17:12 2011 New Revision: 218616 URL: http://svn.freebsd.org/changeset/base/218616 Log: Move linux_clone(), linux_fork(), linux_vfork() to a MI path. Added: head/sys/compat/linux/linux_fork.c (contents, props changed) Modified: head/sys/amd64/linux32/lin

svn commit: r218617 - head/sys/compat/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 19:14:57 2011 New Revision: 218617 URL: http://svn.freebsd.org/changeset/base/218617 Log: Remove bogus include Modified: head/sys/compat/linux/linux_fork.c Modified: head/sys/compat/linux/linux_fork.c =

svn commit: r218618 - head/sys/compat/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 20:16:25 2011 New Revision: 218618 URL: http://svn.freebsd.org/changeset/base/218618 Log: Slightly rewrite linux_fork: 1) Remove bogus error checking. 2) A new process exit from kernel through fork_trampoline(), so remove bogus check. Modified: hea

svn commit: r218621 - head/sys/compat/linux

2011-02-12 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 12 20:58:59 2011 New Revision: 218621 URL: http://svn.freebsd.org/changeset/base/218621 Log: Rename used_requeue and use it as bitwise field to store more flags. Reimplement used_requeue logic with LINUX_XDEPR_REQUEUEOP flag. Modified: head/sys/compat/linux/lin

svn commit: r218646 - head/sys/compat/linux

2011-02-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 13 17:56:22 2011 New Revision: 218646 URL: http://svn.freebsd.org/changeset/base/218646 Log: The bitset field of freshly created futex should be initialized explicity. Otherwise, REQUEUE operations fails. Modified: head/sys/compat/linux/linux_futex.c Modified:

svn commit: r218654 - head/sys/compat/linux

2011-02-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 13 18:41:40 2011 New Revision: 218654 URL: http://svn.freebsd.org/changeset/base/218654 Log: Stop printing the LOR, as this is expected behavior. Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/linux_futex.c

svn commit: r218655 - head/sys/compat/linux

2011-02-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 13 18:46:34 2011 New Revision: 218655 URL: http://svn.freebsd.org/changeset/base/218655 Log: Remove comment about 'ftlk' LOR. Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/linux_futex.c

svn commit: r218658 - in head/sys: amd64/linux32 i386/linux

2011-02-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 13 19:07:48 2011 New Revision: 218658 URL: http://svn.freebsd.org/changeset/base/218658 Log: Sort include files in the alphabetical order. Modified: head/sys/amd64/linux32/linux32_sysvec.c head/sys/i386/linux/linux_sysvec.c Modified: head/sys/amd64/linux32/lin

svn commit: r218668 - head/sys/compat/linux

2011-02-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 13 20:07:48 2011 New Revision: 218668 URL: http://svn.freebsd.org/changeset/base/218668 Log: Sort include files in the alphabetical order. Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/linux_futex.c ===

svn commit: r218686 - head/sys/compat/linux

2011-02-14 Thread Dmitry Chagin
Author: dchagin Date: Mon Feb 14 17:24:58 2011 New Revision: 218686 URL: http://svn.freebsd.org/changeset/base/218686 Log: Style(9) fix. Do not initialize variables in the declarations. Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/linux_futex.c ==

svn commit: r218717 - head/sys/compat/linux

2011-02-15 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 15 21:22:09 2011 New Revision: 218717 URL: http://svn.freebsd.org/changeset/base/218717 Log: Put the macro declaration in the relevant include file for future use. Modified: head/sys/compat/linux/linux_misc.c head/sys/compat/linux/linux_signal.h Modified: head

svn commit: r218718 - head/sys/compat/linux

2011-02-15 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 15 21:24:50 2011 New Revision: 218718 URL: http://svn.freebsd.org/changeset/base/218718 Log: Style(9) fix. Wrap long lines in linux_rt_sigtimedwait(). Modified: head/sys/compat/linux/linux_signal.c Modified: head/sys/compat/linux/linux_signal.c =

svn commit: r218719 - head/sys/compat/linux

2011-02-15 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 15 21:42:48 2011 New Revision: 218719 URL: http://svn.freebsd.org/changeset/base/218719 Log: Make a linux_rt_sigtimedwait() system call is actually working. 1) Translate the native signal number in the appropriate Linux signal. 2) Remove bogus code, which can

svn commit: r218720 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-02-15 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 15 21:46:36 2011 New Revision: 218720 URL: http://svn.freebsd.org/changeset/base/218720 Log: For realtime signals fill the sigval value. Modified: head/sys/amd64/linux32/linux.h head/sys/compat/linux/linux_signal.c head/sys/i386/linux/linux.h Modified: head/

svn commit: r218744 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-02-16 Thread Dmitry Chagin
Author: dchagin Date: Wed Feb 16 17:50:21 2011 New Revision: 218744 URL: http://svn.freebsd.org/changeset/base/218744 Log: To avoid excessive code duplication create wrapper for fill regs from stack frame. Change the trap() code to use newly created function instead of explicit regs assignme

svn commit: r218879 - head/sys/compat/linux

2011-02-19 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 20 07:58:30 2011 New Revision: 218879 URL: http://svn.freebsd.org/changeset/base/218879 Log: Do not clobber %rdx. Before calling vfork() syscall the linux user-space stores the current PID in the %rdx and restore it when the parent process will leave the kernel.

svn commit: r345468 - head/sys/amd64/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:02:57 2019 New Revision: 345468 URL: https://svnweb.freebsd.org/changeset/base/345468 Log: Revert r313993. AMD64_SET_**BASE expects a pointer to a pointer, we just passing in the pointer value itself. Set PCB_FULL_IRET for doreti to restore %fs, %gs an

svn commit: r345472 - in head/sys: amd64/linux amd64/linux32 i386/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:51:17 2019 New Revision: 345472 URL: https://svnweb.freebsd.org/changeset/base/345472 Log: Regen from r345471. MFC after:1 month Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscal

svn commit: r345473 - head/sys/compat/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 15:08:30 2019 New Revision: 345473 URL: https://svnweb.freebsd.org/changeset/base/345473 Log: Whitespace cleanup (annoying). MFC after:1 month Modified: head/sys/compat/linux/linux_fork.c Modified: head/sys/compat/linux/linux_fork.c =

svn commit: r345469 - in head/sys: amd64/linux32 compat/linux i386/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:44:35 2019 New Revision: 345469 URL: https://svnweb.freebsd.org/changeset/base/345469 Log: Linux between 4.18 and 5.0 split IPC system calls. In preparation for doing this in the Linuxulator modify our linux_shmat() to match actual Linux shmat() system cal

svn commit: r345470 - in head/sys: amd64/linux32 i386/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:46:07 2019 New Revision: 345470 URL: https://svnweb.freebsd.org/changeset/base/345470 Log: Regen for r345469 (shmat()). MFC after:1 month Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_systrace_args.c head/sys/i

svn commit: r345471 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:50:02 2019 New Revision: 345471 URL: https://svnweb.freebsd.org/changeset/base/345471 Log: Update syscall.master to 5.0. For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API. Starting in Linux 4.18, direct syscalls ar

svn commit: r346603 - in head/sys: amd64/linux32 i386/linux

2019-04-23 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 23 18:10:46 2019 New Revision: 346603 URL: https://svnweb.freebsd.org/changeset/base/346603 Log: Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master. MFC a

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-04-24 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and the

svn commit: r346965 - head/sys/compat/linux

2019-04-30 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 30 17:18:05 2019 New Revision: 346965 URL: https://svnweb.freebsd.org/changeset/base/346965 Log: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383. MFC after:1 week M

svn commit: r347016 - head/sys/compat/linsysfs

2019-05-02 Thread Dmitry Chagin
Author: dchagin Date: Thu May 2 09:00:36 2019 New Revision: 347016 URL: https://svnweb.freebsd.org/changeset/base/347016 Log: Remove unneeded includes. MFC after:2 week Modified: head/sys/compat/linsysfs/linsysfs.c Modified: head/sys/compat/linsysfs/linsysfs.c =

  1   2   3   4   >