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:	Fri, 07 Mar 2008 10:32:23 +0530
From:	Arun Raghavan <arunsr@....iitk.ac.in>
To:	linux-kernel@...r.kernel.org
CC:	David Howells <dhowells@...hat.com>,
	Satyam Sharma <ssatyam@....iitk.ac.in>
Subject: [PATCH] keyring: Allow clients to set key perms in key_create_or_update()

Hello,
The key_create_or_update() function provided by the keyring code has a
default set of permissions that are always applied to the key when
created. This might not be desirable to all clients.

Here's a patch that adds a "perm" parameter to the function to address
this, which can be set to KEY_PERM_UNDEF to revert to the current behaviour.

Cheers,
Arun

[please CC me on replies -- I'm not on the LKML)
[sorry if this turns up in your inbox twice]

View attachment "key_create_or_update-with-perms.diff" of type "text/plain" (2615 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ