[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200902250649.BIF17188.FFOLSVOtJQHOMF@I-love.SAKURA.ne.jp>
Date: Wed, 25 Feb 2009 06:49:22 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: etienne.basset@...ericable.fr
Cc: casey@...aufler-ca.com, paul.moore@...com,
linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH][SMACK] add a socket_post_accept hook to fix netlabel issueswith labeled TCP servers V1
etienne wrote:
> The following patch adds a "post_access" hook to get the client IP and check it against the netlabel list.
Oh, SMACK starts to use security_socket_post_accept() hook?
Then why not move security_socket_post_accept() to before fd_install()?
If file descriptor table is shared between multiple processes,
another process can reach not-yet-labeled-by-security_socket_post_accept()
accept()ed socket.
(Well, I'm happy if security_socket_post_accept() can return error
because TOMOYO wants to implement personal firewall.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists