[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54205] [PATCH Shepherd] Factor out a public CALL-IN-FORK.
From: |
Attila Lendvai |
Subject: |
[bug#54205] [PATCH Shepherd] Factor out a public CALL-IN-FORK. |
Date: |
Thu, 03 Mar 2022 08:04:53 +0000 |
> > Support for other rlimits can be added on an as-needed basis.
> >
> > Alternatively, the argument could be generalised to a more general
> > 'rlimit' argument:
> >
> > #:rlimits
> > `((,RLIMIT_AS ,SOFT ,HARD)
> > (,RLIMIT_NPROC ,SOFT ,HARD)
> > (,RLIMIT_NOFILE ,SOFT ,HARD))
> >
> > WDYT?
>
> This interface brings more flexibility, I’m all for it.
FTR, i've filed this as a patch (with a test!).
https://issues.guix.gnu.org/54215
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“It is a miracle that curiosity survives formal education. It is a very grave
mistake to think that the enjoyment of seeing and searching can be promoted by
means of coercion and a sense of duty.”
— Albert Einstein (1879–1955), 'Autobiographical Notes' (1949),
slightly paraphrased
[bug#54205] [PATCH Shepherd] Factor out a public CALL-IN-FORK., Maxime Devos, 2022/03/01