All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Stanislav Brabec <sbrabec@suse.cz>
Cc: util-linux@vger.kernel.org, Ali Abdallah <ali.abdallah@suse.com>
Subject: Re: [PATCH] Whitelist libuuid clock file
Date: Tue, 25 Jan 2022 11:53:00 +0100	[thread overview]
Message-ID: <20220125105300.f3npvhr5emhvzevu@ws.net.home> (raw)
In-Reply-To: <3f08fa1a-8efc-86d6-c492-7703f5b5ef38@suse.cz>

On Tue, Jan 25, 2022 at 11:17:27AM +0100, Stanislav Brabec wrote:
> diff --git a/misc-utils/uuidd.service.in b/misc-utils/uuidd.service.in
> index 065b4a194..e64ca59b5 100644
> --- a/misc-utils/uuidd.service.in
> +++ b/misc-utils/uuidd.service.in
> @@ -8,6 +8,7 @@ ExecStart=@usrsbin_execdir@/uuidd --socket-activation
>  Restart=no
>  User=uuidd
>  Group=uuidd
> +ProtectSystem=strict
>  ProtectHome=yes
>  PrivateDevices=yes
>  PrivateNetwork=yes
> @@ -17,6 +18,7 @@ ProtectKernelModules=yes
>  ProtectControlGroups=yes
>  RestrictAddressFamilies=AF_UNIX
>  MemoryDenyWriteExecute=yes
> +ReadWritePaths=/var/lib/libuuid/

OK, seems better than my solution ;-) Thanks!

   Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


  reply	other threads:[~2022-01-25 10:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 10:17 [PATCH] Whitelist libuuid clock file Stanislav Brabec
2022-01-25 10:53 ` Karel Zak [this message]
2022-01-25 11:37   ` Stanislav Brabec
2022-01-25 14:30     ` Karel Zak
2022-01-26 15:07       ` Stanislav Brabec
2022-01-26 21:24         ` Karel Zak

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=20220125105300.f3npvhr5emhvzevu@ws.net.home \
    --to=kzak@redhat.com \
    --cc=ali.abdallah@suse.com \
    --cc=sbrabec@suse.cz \
    --cc=util-linux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.