Thread (20 messages) 20 messages, 6 authors, 2019-10-02

Re: [PATCH v2] tomoyo: Don't check open/getattr permission on sockets.

From: Eric Biggers <ebiggers@kernel.org>
Date: 2019-08-22 07:01:37
Also in: linux-fsdevel, lkml

On Thu, Aug 22, 2019 at 03:55:31PM +0900, Tetsuo Handa wrote:
Eric Biggers wrote:
quoted
What happened to this patch?
I have to learn how to manage a git tree for sending
pull requests, but I can't find time to try.
quoted
Also, isn't the same bug in other places too?:

	- tomoyo_path_chmod()
	- tomoyo_path_chown()
	- smack_inode_getsecurity()
	- smack_inode_setsecurity()
What's the bug? The file descriptor returned by open(O_PATH) cannot be
passed to read(2), write(2), fchmod(2), fchown(2), fgetxattr(2), mmap(2) etc.
chmod(2), chown(2), getxattr(2), and setxattr(2) take a path, not a fd.

- Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help