Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 07:28:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 201286] tools/regression/security/open_to_operation/open_to_operation.c:172: bad if test ?
Message-ID:  <bug-201286-32464-Py50EHgLon@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201286-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201286-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201286

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Mon Nov  9 07:28:17 UTC 2015
New revision: 290581
URL: https://svnweb.freebsd.org/changeset/base/290581

Log:
  MFstable/10 r290580:

  MFC r290190,r290251:

  r290190:

  Fix compiler warnings with open_to_operation.c

  Other sidenotes:
  - Remove unused variables with main(..)
  - Convert errx/exit with -1 to errx/exit with 1
  - Fix a bogus test in try_directory_open
    (expected_errno == expected_errno -> errno == expected_errno) [*]
  - Fix some warnings related to discarded qualifiers
  - Remove a bogus else-statement at the end of check_mmap_exec(..) in the
    successful case. mmap(2), POSIX, Linux, etc all don't state what the
    behavior is when mixing O_WRONLY + PROT_EXEC, so assume success for now to
    get the test program to pass again.

  PR: 201286 [*]
  Submitted by: David Binderman <dcb314@hotmail.com>
  Sponsored by: EMC / Isilon Storage Division

  r290251:

  Use nitems(x) instead of sizeof(x)/sizeof(x[0])

  Sponsored by: EMC / Isilon Storage Division

Changes:
_U  stable/9/
_U  stable/9/tools/
_U  stable/9/tools/regression/
  stable/9/tools/regression/security/open_to_operation/Makefile
  stable/9/tools/regression/security/open_to_operation/open_to_operation.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201286-32464-Py50EHgLon>