Re: kern/182161: commit references a PR

2013-09-27 Thread dfilter service
The following reply was made to PR kern/182161; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/182161: commit references a PR
Date: Fri, 27 Sep 2013 06:57:06 + (UTC)

 Author: kib
 Date: Fri Sep 27 06:56:58 2013
 New Revision: 255905
 URL: http://svnweb.freebsd.org/changeset/base/255905
 
 Log:
   MFC r255844:
   Ensure that the ERESTART return from the syscall reloads the registers,
   to make the restarted syscall instruction pass the correct arguments.
   
   PR:  kern/182161
 
 Modified:
   stable/9/sys/amd64/amd64/vm_machdep.c
 Directory Properties:
   stable/9/sys/   (props changed)
 
 Modified: stable/9/sys/amd64/amd64/vm_machdep.c
 ==
 --- stable/9/sys/amd64/amd64/vm_machdep.c  Thu Sep 26 22:47:02 2013
(r255904)
 +++ stable/9/sys/amd64/amd64/vm_machdep.c  Fri Sep 27 06:56:58 2013
(r255905)
 @@ -400,9 +400,13 @@ cpu_set_syscall_retval(struct thread *td
 * for the next iteration.
 * %r10 restore is only required for freebsd/amd64 processes,
 * but shall be innocent for any ia32 ABI.
 +   *
 +   * Require full context restore to get the arguments
 +   * in the registers reloaded at return to usermode.
 */
td->td_frame->tf_rip -= td->td_frame->tf_err;
td->td_frame->tf_r10 = td->td_frame->tf_rcx;
 +  set_pcb_flags(td->td_pcb, PCB_FULL_IRET);
break;
  
case EJUSTRETURN:
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/182161: commit references a PR

2013-09-27 Thread dfilter service
The following reply was made to PR kern/182161; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/182161: commit references a PR
Date: Fri, 27 Sep 2013 07:02:56 + (UTC)

 Author: kib
 Date: Fri Sep 27 07:02:48 2013
 New Revision: 255906
 URL: http://svnweb.freebsd.org/changeset/base/255906
 
 Log:
   MFC r255844:
   Ensure that the ERESTART return from the syscall reloads the registers,
   to make the restarted syscall instruction pass the correct arguments.
   
   PR:  kern/182161
 
 Modified:
   stable/8/sys/amd64/amd64/vm_machdep.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/   (props changed)
 
 Modified: stable/8/sys/amd64/amd64/vm_machdep.c
 ==
 --- stable/8/sys/amd64/amd64/vm_machdep.c  Fri Sep 27 06:56:58 2013
(r255905)
 +++ stable/8/sys/amd64/amd64/vm_machdep.c  Fri Sep 27 07:02:48 2013
(r255906)
 @@ -395,9 +395,13 @@ cpu_set_syscall_retval(struct thread *td
 * for the next iteration.
 * %r10 restore is only required for freebsd/amd64 processes,
 * but shall be innocent for any ia32 ABI.
 +   *
 +   * Require full context restore to get the arguments
 +   * in the registers reloaded at return to usermode.
 */
td->td_frame->tf_rip -= td->td_frame->tf_err;
td->td_frame->tf_r10 = td->td_frame->tf_rcx;
 +  set_pcb_flags(td->td_pcb, PCB_FULL_IRET);
break;
  
case EJUSTRETURN:
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/182440: [PATCH] mail/sqlgrey: fix ipv6 whitelisting

2013-09-27 Thread Mark Felder

>Number: 182440
>Category:   misc
>Synopsis:   [PATCH] mail/sqlgrey: fix ipv6 whitelisting
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 27 12:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Mark Felder
>Release:
>Organization:
>Environment:
>Description:
this patch fixes sqlgrey whitelisting for ipv6. Without this patch lots of mail 
from domains with large numbers of ipv6 MTAs such as Google/Gmail end up lost 
because the greylisting process starts over every time a new delivery attempt 
happens. This patch changes the behavior to recognize delivery attempts from 
MTAs within the same /64.

http://sourceforge.net/p/sqlgrey/bugs/27/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===
--- Makefile(revision 328001)
+++ Makefile(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=  sqlgrey
 PORTVERSION=   1.8.0
+PORTREVISION=  1
 CATEGORIES=mail
 MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29
 
Index: files/patch-ipv6
===
--- files/patch-ipv6(revision 0)
+++ files/patch-ipv6(working copy)
@@ -0,0 +1,11 @@
+--- sqlgrey.orig   2013-09-27 06:51:40.913265753 -0500
 sqlgrey2013-09-27 06:51:25.0 -0500
+@@ -1037,7 +1037,7 @@
+ return join(":", (split(/:/, $addr))[0..3]);
+ } else {
+ ## For Non-EUI64 or Non-Global-Unicast return the address
+-return $addr;
++return join(":", (split(/:/, $addr))[0..3]);
+ }
+ }
+ 

Property changes on: files/patch-ipv6
___
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


bin/182442: [regression][patch] 'CC' (clang) binary is invoked in C mode, not C++; breaks devel/cmake

2013-09-27 Thread Jan Beich

>Number: 182442
>Category:   bin
>Synopsis:   [regression][patch] 'CC' (clang) binary is invoked in C mode, 
>not C++; breaks devel/cmake
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 27 12:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release:FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
CC was a hardlink to g++ before r242624 

>Description:

>How-To-Repeat:
$ cat CMakeLists.txt
project(foo)
cmake_minimum_required(VERSION 2.8)
include(CheckCXXSourceCompiles)
CHECK_CXX_SOURCE_COMPILES("
  #include 
  int main() {
std::isnan(5);
return 0;
  }
" STD_ISNAN_ACCEPTS_INTEGER)

$ cmake .
-- The C compiler identification is Clang 3.3.0
-- The CXX compiler identification is Clang 3.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/CC
-- Check for working CXX compiler: /usr/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test STD_ISNAN_ACCEPTS_INTEGER
-- Performing Test STD_ISNAN_ACCEPTS_INTEGER - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /path/to/cwd

>Fix:
--- invoke_in_cxx_mode.diff begins here ---
Index: contrib/llvm/tools/clang/tools/driver/driver.cpp
===
--- contrib/llvm/tools/clang/tools/driver/driver.cpp(revision 255808)
+++ contrib/llvm/tools/clang/tools/driver/driver.cpp(working copy)
@@ -284,11 +284,13 @@ static void ParseProgName(SmallVectorImplRelease-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: ports/182434: New port: net/rsync-bpc Modified rsync that used as part of BackupPC

2013-09-27 Thread linimon
Synopsis: New port: net/rsync-bpc Modified rsync that used as part of BackupPC

Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Sep 27 15:51:29 UTC 2013
Responsible-Changed-Why: 
ports PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=182434
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: ports/182440: [PATCH] mail/sqlgrey: fix ipv6 whitelisting

2013-09-27 Thread linimon
Synopsis: [PATCH] mail/sqlgrey: fix ipv6 whitelisting

Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Sep 27 15:53:42 UTC 2013
Responsible-Changed-Why: 
ports PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=182440
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/182269: commit references a PR

2013-09-27 Thread dfilter service
The following reply was made to PR conf/182269; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: conf/182269: commit references a PR
Date: Fri, 27 Sep 2013 17:42:42 + (UTC)

 Author: sjg
 Date: Fri Sep 27 17:42:23 2013
 New Revision: 255916
 URL: http://svnweb.freebsd.org/changeset/base/255916
 
 Log:
   Fix Fx syntax.
   
   PR: 182269
   Approved by: re@
 
 Modified:
   head/contrib/bmake/make.1
 
 Modified: head/contrib/bmake/make.1
 ==
 --- head/contrib/bmake/make.1  Fri Sep 27 16:02:40 2013(r255915)
 +++ head/contrib/bmake/make.1  Fri Sep 27 17:42:23 2013(r255916)
 @@ -730,7 +730,7 @@ even if the target is not tagged with
  The default is 
  .Ql Pa yes
  for backwards compatability with
 -.Fx 9
 +.Fx 9.0
  and earlier.
  .It Va .MAKE.DEPENDFILE
  Names the makefile (default
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


bin/182448: systat -if have invalid counters with 10Gb/s traffic

2013-09-27 Thread Olivier Cochard-Labbe

>Number: 182448
>Category:   bin
>Synopsis:   systat -if have invalid counters with 10Gb/s traffic
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 27 23:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Olivier Cochard-Labbe
>Release:9.2-RC4
>Organization:
BSD Router Project
>Environment:
FreeBSD bsdrp2.orange.bsdrp.net 9.2-RC4 FreeBSD 9.2-RC4 #0 r255473M: Fri Sep 20 
23:47:45 CEST 2013 
r...@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64
  amd64
>Description:
During a 10Gb/s network load test I found that systat didn't display good 
values with the default 5 seconds refresh (but it's fixed with less than 5 
seconds refresh).

Here is an example with "systat -ifstat" + ":scale gbit" :
/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average   |||

  Interface   Traffic   PeakTotal

ix0  in  2.964 Gb/s  2.964 Gb/s  143.442 TB
 out 0.000 Gb/s  0.000 Gb/s0.566 KB


During the same network load, now with a 1 seconds refresh: "systat -ifstat 1" 
+ ":scale mbit" :

"systat -ifstat" + ":scale mbit" :
/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average   |||

  Interface   Traffic   PeakTotal
ix0  in  9.827 Gb/s  9.830 Gb/s  143.396 TB
 out 0.000 Gb/s  0.000 Gb/s0.566 KB

=> Notice that the bar "Load Average" didn't change with the new refresh time.
>How-To-Repeat:
just start "systat -ifstat" under high usage of 10Gb/s NIC
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"