[RFC PATCH v19 0/5] Script execution control (was O_MAYEXEC)
Mickaël Salaün
mic at digikod.net
Thu Jul 18 16:21:11 UTC 2024
On Tue, Jul 16, 2024 at 07:31:45PM +0200, Mickaël Salaün wrote:
> On Tue, Jul 16, 2024 at 12:12:49PM -0400, James Bottomley wrote:
> > On Tue, 2024-07-16 at 17:57 +0200, Roberto Sassu wrote:
> > > But the Clip OS 4 patch does not cover the redirection case:
> > >
> > > # ./bash < /root/test.sh
> > > Hello World
> > >
> > > Do you have a more recent patch for that?
>
> Bash was only partially restricted for CLIP OS because it was used for
> administrative tasks (interactive shell).
>
> Python was also restricted for user commands though:
> https://github.com/clipos-archive/clipos4_portage-overlay/blob/master/dev-lang/python/files/python-2.7.9-clip-mayexec.patch
>
> Steve and Christian could help with a better Python implementation.
I'll include a toy interpreter in the next patch series. That should
help for experiments.
More information about the Linux-security-module-archive
mailing list