mbox series

[v3,0/3] fs/exec: remove current->in_execve flag

Message ID 72da7003-a115-4162-b235-53cd3da8a90e@I-love.SAKURA.ne.jp (mailing list archive)
Headers show
Series fs/exec: remove current->in_execve flag | expand

Message

Tetsuo Handa Feb. 6, 2024, 1:58 p.m. UTC
[This is for Linux 6.8-rc4. Please apply directly, for tomoyo's git tree
 in osdn.net is still down. I'm planning to move tomoyo's tree to github
 or sourceforge.net because there seems to be no plan to recover osdn.net.]

This is a follow up series for removing current->in_execve flag.
https://lkml.kernel.org/r/b5a12ecd-468d-4b50-9f8c-17ae2a2560b4@I-love.SAKURA.ne.jp

[PATCH v3 1/3] LSM: add security_execve_abort() hook
[PATCH v3 2/3] tomoyo: replace current->in_execve flag with security_execve_abort() hook
[PATCH v3 3/3] fs/exec: remove current->in_execve flag

 fs/exec.c                     |    4 +---
 include/linux/lsm_hook_defs.h |    1 +
 include/linux/sched.h         |    3 ---
 include/linux/security.h      |    5 +++++
 security/security.c           |   11 +++++++++++
 security/tomoyo/tomoyo.c      |   22 +++++-----------------
 6 files changed, 23 insertions(+), 23 deletions(-)

Changes in v3:

  Removed excess function parameter description, reported by
  kernel test robot <lkp@intel.com>.

  Added Acked-by: from Serge Hallyn.

Changes in v2:

  Replace security_bprm_aborting_creds(const struct linux_binprm *bprm) with
  security_execve_abort(void), suggested by Eric W. Biederman.