summaryrefslogtreecommitdiff
path: root/include/linux/prctl.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2004-10-18 17:58:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 17:58:51 -0700
commite4262f594a9e36cf93a8789fc7e02e9ff0d1f564 (patch)
treef5265fb6090dc67eb231c3554b88320e9bfeeb26 /include/linux/prctl.h
parent322f317d1f560b90d8fe79d77fb248c98af92305 (diff)
[PATCH] implement in-kernel keys & keyring management
The feature set the patch includes: - Key attributes: - Key type - Description (by which a key of a particular type can be selected) - Payload - UID, GID and permissions mask - Expiry time - Keyrings (just a type of key that holds links to other keys) - User-defined keys - Key revokation - Access controls - Per user key-count and key-memory consumption quota - Three std keyrings per task: per-thread, per-process, session - Two std keyrings per user: per-user and default-user-session - prctl() functions for key and keyring creation and management - Kernel interfaces for filesystem, blockdev, net stack access - JIT key creation by usermode helper There are also two utility programs available: (*) http://people.redhat.com/~dhowells/keys/keyctl.c A comprehensive key management tool, permitting all the interfaces available to userspace to be exercised. (*) http://people.redhat.com/~dhowells/keys/request-key An example shell script (to be installed in /sbin) for instantiating a key. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/prctl.h')
-rw-r--r--include/linux/prctl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h
index 54333c98e532..edb036b43597 100644
--- a/include/linux/prctl.h
+++ b/include/linux/prctl.h
@@ -49,7 +49,6 @@
# define PR_TIMING_TIMESTAMP 1 /* Accurate timestamp based
process timing */
-
#define PR_SET_NAME 15 /* Set process name */
#endif /* _LINUX_PRCTL_H */