Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 01:03:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 236857] Fix sysctl check for some sys/audit/process-control tests
Message-ID:  <bug-236857-32464-sIsmfWZKcx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236857-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=3D236857

--- Comment #9 from Enji Cooper <ngie@FreeBSD.org> ---
(In reply to Alan Somers from comment #8)

Bingo :)...

$ man feature_present
FEATURE_PRESENT(3)     FreeBSD Library Functions Manual     FEATURE_PRESENT=
(3)

...

DESCRIPTION
     The feature_present() function provides a method for an application to
     determine if a specific kernel feature is present in the currently
     running kernel.  The feature argument specifies the name of the feature
     to check.  The feature_present() function will return 1 if the specifi=
ed
     feature is present, otherwise it will return 0.  If the feature_presen=
t()
     function is not able to determine the presence of feature due to an
     internal error it will return 0.

RETURN VALUES
     If feature is present then 1 is returned; otherwise 0 is returned.

--=20
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-236857-32464-sIsmfWZKcx>