[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1423583198.1890.49.camel@open.eurogiciel.org>
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