summaryrefslogtreecommitdiffstats
path: root/man2/add_key.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/add_key.2')
-rw-r--r--man2/add_key.241
1 files changed, 23 insertions, 18 deletions
diff --git a/man2/add_key.2 b/man2/add_key.2
index 3a706c829..6547905c5 100644
--- a/man2/add_key.2
+++ b/man2/add_key.2
@@ -66,23 +66,28 @@ Alternatively, it may be one of the following special keyring IDs:
.TP
.B KEY_SPEC_THREAD_KEYRING
This specifies the caller's thread-specific keyring
-.RB ( thread\-keyring (7)).
+\%(\c
+.MR thread\-keyring 7 ).
.TP
.B KEY_SPEC_PROCESS_KEYRING
This specifies the caller's process-specific keyring
-.RB ( process\-keyring (7)).
+\%(\c
+.MR process\-keyring 7 ).
.TP
.B KEY_SPEC_SESSION_KEYRING
This specifies the caller's session-specific keyring
-.RB ( session\-keyring (7)).
+\%(\c
+.MR session\-keyring 7 ).
.TP
.B KEY_SPEC_USER_KEYRING
This specifies the caller's UID-specific keyring
-.RB ( user\-keyring (7)).
+\%(\c
+.MR user\-keyring 7 ).
.TP
.B KEY_SPEC_USER_SESSION_KEYRING
This specifies the caller's UID-session keyring
-.RB ( user\-session\-keyring (7)).
+\%(\c
+.MR user\-session\-keyring 7 ).
.SS Key types
The key
.I type
@@ -137,7 +142,7 @@ then it may be stored encrypted in tmpfs
(which can be swapped out) rather than kernel memory.
.P
For further details on these key types, see
-.BR keyrings (7).
+.MR keyrings 7 .
.SH RETURN VALUE
On success,
.BR add_key ()
@@ -273,18 +278,18 @@ main(int argc, char *argv[])
.SH SEE ALSO
.ad l
.nh
-.BR keyctl (1),
-.BR keyctl (2),
-.BR request_key (2),
-.BR keyctl (3),
-.BR keyrings (7),
-.BR keyutils (7),
-.BR persistent\-keyring (7),
-.BR process\-keyring (7),
-.BR session\-keyring (7),
-.BR thread\-keyring (7),
-.BR user\-keyring (7),
-.BR user\-session\-keyring (7)
+.MR keyctl 1 ,
+.MR keyctl 2 ,
+.MR request_key 2 ,
+.MR keyctl 3 ,
+.MR keyrings 7 ,
+.MR keyutils 7 ,
+.MR persistent\-keyring 7 ,
+.MR process\-keyring 7 ,
+.MR session\-keyring 7 ,
+.MR thread\-keyring 7 ,
+.MR user\-keyring 7 ,
+.MR user\-session\-keyring 7
.P
The kernel source files
.I Documentation/security/keys/core.rst