public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Willie Wong <wwong@Princeton.EDU>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nvidia-kernel p.masked by hardened profile
Date: Wed, 12 Jul 2006 01:04:23 -0400	[thread overview]
Message-ID: <20060712050423.GA22078@princeton.edu> (raw)
In-Reply-To: <7573e9640607111908x36bc0ecev2a9bb52a46925581@mail.gmail.com>

First, thanks for the pointers. See below

On Tue, Jul 11, 2006 at 07:08:52PM -0700, Penguin Lover Richard Fish squawked:
> On 7/11/06, Willie Wong <wwong@princeton.edu> wrote:
> > 2. Is there more information about what "more harm than good" means?
> >   I tried googling but the only thing I found was a commit log on
> >   solar's website with a one-liner about p.masking nvidia-kernel. I
> >   want to know what kind of problems that nvidia drivers incur so I
> >   can decided whether to give up 3D acceleration, the hardened
> >   profile, or ignore solar's advice and unmask the packages.
> 
> Well, see what the hardened handbook has to say about binary drivers and 
> x.org:
> http://www.gentoo.org/proj/en/hardened/hardenedxorg.xml#doc_chap4

Well, that page is rather outdated. I am pretty sure nvidia-glx
supports dlloader since several versions back (at least since summer
of last year): after all, I've been running it. There were some
hiccups early on when I first started using it (several programs I
often use, such as ut2004 and mplayer requires chpax/paxctl to turn
off MPROTECT and RANDEXEC), but it has been running well on my system. 
> 
> I also found this bug:
> http://bugs.gentoo.org/show_bug.cgi?id=139047

The attitude expressed in that bug is also the point made on the
gentoo-hardened mailing list (I did a search on gmane after sending
out my original e-mail). Basically it seems that the devs attitude is
that "the driver is binary, we can't fix it if it is broken, so we
won't support it." And I am completely fine with that. But I remember
one year ago them telling us to use dlloader and to use binary drivers
at our own risk, I am wondering if anyone here knows why the sudden
change in attitude into "I am telling you not to use nvidia binary
drivers", namely, if there is any new found incompatibility of
nvidia-drivers with the hardened profile. 

> There may also be a valid security concern with binary-only kernel
> modules: since they cannot be audited for security, one should assume
> that they are horribly insecure.  Any exploit here could comprimise
> the entire system, so one could argue they are totally inappropriate
> for a 'hardened' system.

Yes, I took on that risk when I started running a hardened desktop
with nvidia binary drivers. What I am most interested is what new
significant flaws (if any) were found in the binary drivers that makes
its use such taboo. 

Furthermore, I thought one of the things that the hardened team were
less happy about is not so much the binary kernel driver, but the
libGL.so nvidia provides... basically any program that uses opengl
that links against the nvidia-glx would need to have certain PAX flags
turned off to run without being killed by the kernel. 

I am beginning to sense the situation is more along the line of the
devs formalizing the policy of not supporting binary drivers and
telling users to stop bothering them with bugs they cannot do anything
about. If that is indeed the case, I'd simply unmask the offending
packages and deal with them myself. 
> 
> > 3. Is this (the fact that I am running a hardened profile) the reason
> >   that if I 'emerge --pretend --update xorg-x11 --verbose', among the
> >   list of VIDEO_CARDS options displayed, I do not see nvidia?
> 
> That is correct.  video_cards_nvidia is in the hardened profile's use.mask.
> 

I looked at man portage, and I am not quite sure about this:

Is it possible to unmask the useflag by, for example, writing to
/etc/portage/use.mask the line "-video_cards_nvidia"? Or must I modify
/etc/make.profile/use.mask?

thx

W
-- 
Sortir en Pantoufles: up 11:25
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-07-12  5:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11 22:48 [gentoo-user] nvidia-kernel p.masked by hardened profile Willie Wong
2006-07-12  2:08 ` Richard Fish
2006-07-12  2:11   ` Richard Fish
2006-07-12  5:04   ` Willie Wong [this message]
2006-07-12  5:59     ` Richard Fish
2006-07-12 14:05       ` Willie Wong
2006-07-12 16:52         ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060712050423.GA22078@princeton.edu \
    --to=wwong@princeton.edu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox