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  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:	Thu, 7 Jun 2007 21:18:26 -0400 (EDT)
From:	James Morris <jmorris@...ei.org>
To:	Paul Moore <paul.moore@...com>
cc:	netdev@...r.kernel.org, selinux@...ho.nsa.gov
Subject: Re: [PATCH 1/2] NetLabel: consolidate the struct socket/sock handling
 to just struct sock

On Thu, 7 Jun 2007, Paul Moore wrote:

> The current NetLabel code has some redundant APIs which allow both
> "struct socket" and "struct sock" types to be used; this may have made sense at
> some point but it is wasteful now.  Remove the functions that operate on
> sockets and convert the callers.  Not only does this make the code smaller and
> more consistent but it pushes the locking burden up to the caller which can be
> more intelligent about the locks.  Also, perform the same conversion (socket
> to sock) on the SELinux/NetLabel glue code where it make sense.
> 
> Signed-off-by: Paul Moore <paul.moore@...com>

Acked-by: James Morris <jmorris@...ei.org>

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists