[Bug 236857] Fix sysctl check for some sys/audit/process-control tests

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 29 01:03:50 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236857

--- Comment #9 from Enji Cooper <ngie at 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 specified
     feature is present, otherwise it will return 0.  If the feature_present()
     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.

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


More information about the freebsd-testing mailing list