Date: Wed, 11 Jul 2018 20:11:06 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r336212 - in stable/11: contrib/openbsm/bin/praudit etc/mtree usr.sbin/praudit usr.sbin/praudit/tests Message-ID: <201807112011.w6BKB6Dt017827@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Wed Jul 11 20:11:06 2018 New Revision: 336212 URL: https://svnweb.freebsd.org/changeset/base/336212 Log: MFC r335287, r335290 r335287: praudit(1): return 0 on success Cherry pick https://github.com/openbsm/openbsm/commit/ed83bb3 Submitted by: aniketp Reviewed by: rwatson, 0mp Obtained from: OpenBSM Sponsored by: Google, Inc. (GSoC 2018) Pull Request: https://github.com/openbsm/openbsm/pull/32 r335290: praudit(1): add tests Submitted by: aniketp X-MFC-With: 335287 Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15751 Added: stable/11/usr.sbin/praudit/tests/ - copied from r335290, head/usr.sbin/praudit/tests/ Modified: stable/11/contrib/openbsm/bin/praudit/praudit.1 stable/11/contrib/openbsm/bin/praudit/praudit.c stable/11/etc/mtree/BSD.tests.dist stable/11/usr.sbin/praudit/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/contrib/openbsm/bin/praudit/praudit.1 ============================================================================== --- stable/11/contrib/openbsm/bin/praudit/praudit.1 Wed Jul 11 19:48:14 2018 (r336211) +++ stable/11/contrib/openbsm/bin/praudit/praudit.1 Wed Jul 11 20:11:06 2018 (r336212) @@ -25,7 +25,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 4, 2009 +.Dd June 11, 2018 .Dt PRAUDIT 1 .Os .Sh NAME @@ -88,6 +88,8 @@ Events are displayed as per their descriptions given i .Pa /etc/security/audit_event ; UIDs and GIDs are expanded to their names; dates and times are displayed in human-readable format. +.Sh EXIT STATUS +.Ex -std .Sh FILES .Bl -tag -width ".Pa /etc/security/audit_control" -compact .It Pa /etc/security/audit_class Modified: stable/11/contrib/openbsm/bin/praudit/praudit.c ============================================================================== --- stable/11/contrib/openbsm/bin/praudit/praudit.c Wed Jul 11 19:48:14 2018 (r336211) +++ stable/11/contrib/openbsm/bin/praudit/praudit.c Wed Jul 11 20:11:06 2018 (r336212) @@ -169,5 +169,5 @@ main(int argc, char **argv) if (oflags & AU_OFLAG_XML) au_print_xml_footer(stdout); - return (1); + return (0); } Modified: stable/11/etc/mtree/BSD.tests.dist ============================================================================== --- stable/11/etc/mtree/BSD.tests.dist Wed Jul 11 19:48:14 2018 (r336211) +++ stable/11/etc/mtree/BSD.tests.dist Wed Jul 11 20:11:06 2018 (r336212) @@ -746,6 +746,8 @@ .. nmtree .. + praudit + .. pw .. rpcbind Modified: stable/11/usr.sbin/praudit/Makefile ============================================================================== --- stable/11/usr.sbin/praudit/Makefile Wed Jul 11 19:48:14 2018 (r336211) +++ stable/11/usr.sbin/praudit/Makefile Wed Jul 11 20:11:06 2018 (r336212) @@ -12,4 +12,7 @@ WARNS?= 3 LIBADD= bsm +HAS_TESTS= +SUBDIR.${MK_TESTS}+= tests + .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807112011.w6BKB6Dt017827>