svn commit: r320265 - head/sys/compat/linprocfs

2017-06-23 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Jun 23 10:36:27 2017 New Revision: 320265 URL: https://svnweb.freebsd.org/changeset/base/320265 Log: Fix caveat in new implementation of linprocfs_docpuinfo(): Prevent kernel panic in case that extended-cpuid isn't supported by CPU Reviewed by:

Re: svn commit: r317884 - head/sys/compat/linprocfs

2017-05-06 Thread Mahdi Mokhtari
Also I think it worths saying, I've tested this running on a X86. It was not panic'd and printed data as expected. So you mean it's possible to panic on "some" cases because of CPUID support? -- Best regards, MMokhi. ___ svn-src-all@freebsd.org mailing

Re: svn commit: r317884 - head/sys/compat/linprocfs

2017-05-06 Thread Mahdi Mokhtari
> Executing CPUID instruction on i386 without checking for CPUID support > panics the kernel. Thanks for hint. you mean I should first check if this platform supports 0x8006 CPUID command or not? -- Best regards, MMokhi. ___ svn-src-all@freebsd.org

svn commit: r317884 - head/sys/compat/linprocfs

2017-05-06 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Sat May 6 17:37:01 2017 New Revision: 317884 URL: https://svnweb.freebsd.org/changeset/base/317884 Log: Fix linprocfs_docpuinfo() output regarding to what newer Linux apps expect Reviewed by: trasz Approved by: trasz MFC after:2 weeks Diff

svn commit: r316703 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2017-04-11 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Tue Apr 11 13:42:26 2017 New Revision: 316703 URL: https://svnweb.freebsd.org/changeset/base/316703 Log: MFC 314783: Regenerated Linuxulator syscall tables for r314782 Approved by: trasz Modified: stable/11/sys/amd64/linux/linux_proto.h stab

svn commit: r316701 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-04-11 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Tue Apr 11 12:49:25 2017 New Revision: 316701 URL: https://svnweb.freebsd.org/changeset/base/316701 Log: MFC r314782: Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros.

svn commit: r315481 - stable/10/sys/kern

2017-03-18 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Sat Mar 18 12:39:24 2017 New Revision: 315481 URL: https://svnweb.freebsd.org/changeset/base/315481 Log: MFC r314996: Fix NULL pointer dereference and panic with shm file pread/pwrite. PR: 217429 Approved by: dchagin Modified: stable/

svn commit: r315462 - stable/11/sys/kern

2017-03-17 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Mar 17 21:03:54 2017 New Revision: 315462 URL: https://svnweb.freebsd.org/changeset/base/315462 Log: MFC r314996 Fix NULL pointer dereference and panic with shm file pread/pwrite. Approved by: dchagin Modified: stable/11/sys/kern/sys_generic.

svn commit: r314996 - head/sys/kern

2017-03-10 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Mar 10 10:09:44 2017 New Revision: 314996 URL: https://svnweb.freebsd.org/changeset/base/314996 Log: Fix NULL pointer dereference and panic with shm file pread/pwrite. PR: 217429 Reported by: Tim Newsham Reviewed by: kib Approved

svn commit: r314909 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-03-08 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Wed Mar 8 13:09:12 2017 New Revision: 314909 URL: https://svnweb.freebsd.org/changeset/base/314909 Log: MFC r314219 Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. Approved by: dchagin Modified: stable/11/sys/amd64/linux/linux_du

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

2017-03-06 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Mon Mar 6 18:20:37 2017 New Revision: 314783 URL: https://svnweb.freebsd.org/changeset/base/314783 Log: Regenerated Linuxulator syscall tables for r314782 Approved by: dchagin MFC after:1 month Modified: head/sys/amd64/linux/linux_proto.h

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

2017-03-06 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Mon Mar 6 18:11:38 2017 New Revision: 314782 URL: https://svnweb.freebsd.org/changeset/base/314782 Log: Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros. Reviewed by: d

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

2017-02-24 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 24 20:04:02 2017 New Revision: 314219 URL: https://svnweb.freebsd.org/changeset/base/314219 Log: Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. Reviewed by: dchagin Approved by: dchagin, trasz (src committers) MFC after:

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

2017-02-24 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 24 19:22:17 2017 New Revision: 314217 URL: https://svnweb.freebsd.org/changeset/base/314217 Log: Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. Reviewed by: dchagin Approved by: dchagin, trasz (src committers) MFC after:

svn commit: r313923 - head/include

2017-02-18 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Sat Feb 18 21:08:09 2017 New Revision: 313923 URL: https://svnweb.freebsd.org/changeset/base/313923 Log: Add new catrigl.c (r313761) APIs to include/complex.h Reviewed by: bde, emaste Approved by: bde, emaste (src committers) Differential Revisio

svn commit: r313864 - head/lib/msun/man

2017-02-17 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 17 08:25:48 2017 New Revision: 313864 URL: https://svnweb.freebsd.org/changeset/base/313864 Log: Add documentations related to new APIs of r313761 PR: 216850 216851 216852 216856 216857 216858 Submitted by: s...@troutmask.apl.washin

svn commit: r313863 - in head/lib/msun: . src

2017-02-17 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 17 08:22:32 2017 New Revision: 313863 URL: https://svnweb.freebsd.org/changeset/base/313863 Log: Fix building of r313761 on platforms that `long double` is alias of `double` (MIPS, etc) PR: 216850 216851 216852 216856 216857 216858

svn commit: r313761 - in head/lib/msun: . src

2017-02-15 Thread Mahdi Mokhtari
) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2012 Stephen Montgomery-Smith + * Copyright (c) 2017 Mahdi Mokhtari * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -44,38 +45,53 @@ __FBSDID("$FreeBSD$"); #include #include +#include

svn commit: r313577 - in head: share/misc usr.bin/calendar/calendars

2017-02-10 Thread Mahdi Mokhtari
quot;Martin Wilke\nm...@freebsd.org\n2006/06/04"] mm [label="Martin Matuska\n...@freebsd.org\n2007/04/04"] +mmokhi [label="Mahdi Mokhtari\nmmo...@freebsd.org\n2017/02/09"] mnag [label="Marcus Alves Grando\nm...@freebsd.org\n2005/09/15"] mva [label="Mar