[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setuid programs
From: |
Gábor Boskovits |
Subject: |
Re: Setuid programs |
Date: |
Thu, 17 Sep 2020 02:27:59 +0200 |
Hello,
Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2020. szept. 16., Sze, 15:25):
>
> Hi,
>
> Gábor Boskovits <boskovits@gmail.com> skribis:
>
> > I have two reasons for that: backwards compatibility is really
> > important, so we should not break it, and I believe this would not be
> > hard to do.
> > On the other hand it would be nice to have a more integrated backend,
> > and move as many things into the services infrastructure as practical,
> > and I think this is a good candidate for that. Wdyt?
>
> There’s already ‘setuid-program-service-type’. I think the way forward
> would be to:
>
> 1. Define the <setuid-program> record type you propose.
>
> 2. Have ‘setuid-program-service-type’ accept that through its
> extensions. When it receives something else, it should
> transparently turn it into a <setuid-program> record, for backward
> compatibility, and emit a deprecation warning.
>
> 3. Document the OS ‘setuid-programs’ field as taking a list of such
> records.
>
> How does that sound?
Sounds good to me. I will have a look.
>
> Thanks,
> Ludo’.
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21