[Bug 204140] dsl_pool.c and spa_misc.c leak FreeBSD-specific kernel routines into userland libraries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 30 07:17:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204140
Bug ID: 204140
Summary: dsl_pool.c and spa_misc.c leak FreeBSD-specific kernel
routines into userland libraries
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
/scratch/tmp/ngie/svn/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c:
In function 'sysctl_zfs_dirty_data_max_percent':
/scratch/tmp/ngie/svn/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c:179:
warning: implicit declaration of function 'sysctl_handle_int'
/scratch/tmp/ngie/svn/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c:
In function 'sysctl_vfs_zfs_debug_flags':
/scratch/tmp/ngie/svn/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c:267:
warning: implicit declaration of function 'sysctl_handle_int'
Spotted this while running make tinderbox on ref11-amd64.freebsd.org. The
functions probably should only be exposed on FreeBSD and only when !_KERNEL.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list