[RESEND PATCH v11 1/3] fs: Add trusted_for(2) syscall implementation and related sysctl

2020-10-19 Thread Mickaël Salaün
From: Mickaël Salaün The trusted_for() syscall enables user space tasks to check that files are trusted to be executed or interpreted by user space. This may allow script interpreters to check execution permission before reading commands from a file, or dynamic linkers to allow shared object

[PATCH v11 1/3] fs: Add trusted_for(2) syscall implementation and related sysctl

2020-10-01 Thread Mickaël Salaün
From: Mickaël Salaün The trusted_for() syscall enables user space tasks to check that files are trusted to be executed or interpreted by user space. This may allow script interpreters to check execution permission before reading commands from a file, or dynamic linkers to allow shared object