Thread (80 messages) 80 messages, 12 authors, 2024-08-09

Re: [RFC PATCH v19 0/5] Script execution control (was O_MAYEXEC)

From: Mickaël Salaün <mic@digikod.net>
Date: 2024-07-18 16:21:16
Also in: linux-api, linux-fsdevel, linux-integrity, lkml

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:
quoted
On Tue, 2024-07-16 at 17:57 +0200, Roberto Sassu wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help