Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 12:14:53 +0400
From:      Ilya Bakulin <webmaster@kibab.com>
To:        freebsd-hackers@freebsd.org
Subject:   GSoC: registration of optional kernel features via sysctl: a question to the community
Message-ID:  <20100609121453.095d92b4@kibab.com>

next in thread | raw e-mail | index | archive | help
--Sig_/GjjPT62J.LwN4AqkF9Kd14d
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi hackers!

While discussing my project's implementation details with my mentor,
Alexander Leidinger, we've found that one of the ideas needs to be discusse=
d with community,
to find out possible use cases.
That is, if it should be possible to spoof non-existing features. For
example, if currently running kernel doesn't support FreeBSD 5.0 compat
layer, "kern.features.compat_freebsd5" will be absent when querying=20
features list. The question is -- are there any cases when we want
"kern.features.compat_freebsd5" be present? If some feature is not in
kernel, then presenting its existence to the userland is useless
and may be even harmful, if, for example, some application relies on this f=
eature.
Or there are some scenarios where such cheat is useful?

--=20
Regards,
Ilya Bakulin
http://kibab.com
xmpp://kibab612@jabber.ru

--Sig_/GjjPT62J.LwN4AqkF9Kd14d
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwPTYcACgkQo9vlj1oadwinjACgqlgRxr7FxcbwfuSfauxLSANf
mgsAoJhc97LJcb7TLQMb0oZY49xOVDn/
=ZWP2
-----END PGP SIGNATURE-----

--Sig_/GjjPT62J.LwN4AqkF9Kd14d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100609121453.095d92b4>