public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hardened vs desktop
Date: Mon, 13 Nov 2023 07:12:42 -0500	[thread overview]
Message-ID: <e0a2029caa4e3edbe6b929de1763c8d89b4d5c00.camel@gentoo.org> (raw)
In-Reply-To: <a315a667-f04b-4be8-89dc-59305a5553ef@yahoo.com>

On Mon, 2023-11-13 at 11:19 +0100, ralfconn wrote:
> 
> It seems to me easier to add these to the desktop rather the other way 
> round. Any gotcha's I am missing?
> 

There are a few other things in profiles/features/hardened that you
should copy -- particularly the gcc USE flags -- but basically, you're
right. These days the hardened profiles don't add much. The main thing
they "add" is the lack of unnecessary features enabled by default in a
desktop profile.

It's a tedious process, but turning on the features you need one at a
time in package.use will eventually result in a smaller attack surface
than enabling them all at once in the desktop profile's make.defaults.
Of course you could do that the other way around, too, starting from a
desktop profile and disabling them one at a time.



  reply	other threads:[~2023-11-13 12:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a315a667-f04b-4be8-89dc-59305a5553ef.ref@yahoo.com>
2023-11-13 10:19 ` [gentoo-user] hardened vs desktop ralfconn
2023-11-13 12:12   ` Michael Orlitzky [this message]
2023-11-13 13:22   ` Peter Böhm
2023-11-13 16:43     ` ralfconn
2023-11-13 19:03       ` Peter Böhm

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=e0a2029caa4e3edbe6b929de1763c8d89b4d5c00.camel@gentoo.org \
    --to=mjo@gentoo.org \
    --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