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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 10 Feb 2015 16:46:38 +0100
From:	José Bollo <jose.bollo@...n.eurogiciel.org>
To:	casey@...aufler-ca.com, linux-security-module@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org
Subject: [PATCH] retrieving smack context of keys

PATCH for kernel 3.14.28

The LSM Smack isn't currently implementing the retrieval 
of the contexts of the keys.

In other words, the LSM Samck doesn't implement the LSM side
part of the system call keyctl for the function KEYCTL_GET_SECURITY.

It is causing difficulties when trying to investigate reasons of some
system failures. For example, it is currently impossible to get the context
of the user session key using the command "keyctl security @s".

This patch (attached) is obvious, it simply implements the missing part of 
the LSM Smack.

I tested and it works fine.

Best regards
José bollo




View attachment "0001-Smack-adding-retrieval-of-key-s-context.patch" of type "text/x-patch" (1953 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ