mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* security/selinux/hooks.c:flush_unauthorized_files()
@ 2005-09-26 12:55 Christoph Hellwig
  2005-09-26 14:32 ` security/selinux/hooks.c:flush_unauthorized_files() Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2005-09-26 12:55 UTC (permalink / raw)
  To: sds, jmorris; +Cc: linux-kernel

Folks, what is this code doing in a security module?

The check for unauthorized files should really move into
flush_old_files, removing the horrible devnull hack at the same time.

The tty loop isn't in the right place either, and it seems we might
be missing a call to disassociate_tty if the current process is the
session leader.  I'd suggest moving this code into fs/exec.c aswell,
aksing the security module for the actual permissions through an LSM
hook.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-26 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-26 12:55 security/selinux/hooks.c:flush_unauthorized_files() Christoph Hellwig
2005-09-26 14:32 ` security/selinux/hooks.c:flush_unauthorized_files() Stephen Smalley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®