FreeBSD/sys/net/rss_config.c
/*
 * XXXRW: Confirm that sysctl -a won't dump this keying material, don't want
 * it appearing in debugging output unnecessarily.
 */
Confirm that sysctl -a won't dump this keying material, don't want
it appearing in debugging output unnecessarily.
Confirm that sysctl - a won ' t dump this keying material don ' t want it appearing in debugging output unnecessarily .
static int
sysctl_rss_key(SYSCTL_HANDLER_ARGS)
{
	uint8_t temp_rss_key[RSS_KEYSIZE];
	int error;
	error = priv_check(req->td, PRIV_NETINET_HASHKEY);
	if (error)
		return (error);
	bcopy(rss_key, temp_rss_key, sizeof(temp_rss_key));
	error = sysctl_handle_opaque(oidp, temp_rss_key,
	    sizeof(temp_rss_key), req);
	if (error)
		return (error);
	if (req->newptr != NULL) {
		return (EINVAL);
	}
	return (0);
}
static int sysctl_rss_key ( SYSCTL_HANDLER_ARGS ) { uint8_t temp_rss_key [ RSS_KEYSIZE ] ; int error ; error = priv_check ( req -> td , PRIV_NETINET_HASHKEY ) ; if ( error ) return ( error ) ; bcopy ( rss_key , temp_rss_key , sizeof ( temp_rss_key ) ) ; error = sysctl_handle_opaque ( oidp , temp_rss_key , sizeof ( temp_rss_key ) , req ) ; if ( error ) return ( error ) ; if ( req -> newptr != NULL ) { return ( EINVAL ) ; } return ( 0 ) ; }
XXXRW: Confirm that sysctl -a won't dump this keying material, don't want
 it appearing in debugging output unnecessarily.
XXXRW : Confirm that sysctl - a won ' t dump this keying material don ' t want it appearing in debugging output unnecessarily .
/* XXXRW: Not yet. */