lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ