diff options
author | Kees Cook <keescook@chromium.org> | 2012-08-13 15:36:23 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-08-13 15:36:23 -0400 |
commit | a37ec7c8cddf7656e2d8bf0b56594f08624974ae (patch) | |
tree | 767716e0cc985f68c94f62e6cb8ead98c44d5a5e /doc | |
parent | d47bf13ac18c5336f3efd84b84036cbe399c4337 (diff) | |
download | libseccomp-a37ec7c8cddf7656e2d8bf0b56594f08624974ae.tar.gz |
doc: add linking note to manpage synopsis
To match other manpages that require libraries at link time, add a
single line naming the required library.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/man3/seccomp_attr_set.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_export_bpf.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_init.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_load.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_release.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_rule_add.3 | 2 | ||||
-rw-r--r-- | doc/man/man3/seccomp_syscall_priority.3 | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/doc/man/man3/seccomp_attr_set.3 b/doc/man/man3/seccomp_attr_set.3 index d024227..bb98fab 100644 --- a/doc/man/man3/seccomp_attr_set.3 +++ b/doc/man/man3/seccomp_attr_set.3 @@ -16,6 +16,8 @@ seccomp_attr_set, seccomp_attr_get \- Manage the seccomp filter attributes .BI " enum scmp_filter_attr " attr ", uint32_t " value ");" .BI "int seccomp_attr_get(scmp_filter_ctx " ctx "," .BI " enum scmp_filter_attr " attr ", uint32_t *" value ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_export_bpf.3 b/doc/man/man3/seccomp_export_bpf.3 index 926b638..c5c0704 100644 --- a/doc/man/man3/seccomp_export_bpf.3 +++ b/doc/man/man3/seccomp_export_bpf.3 @@ -13,6 +13,8 @@ seccomp_export_bpf, seccomp_export_pfc \- Export the seccomp filter .sp .BI "int seccomp_export_bpf(const scmp_filter_ctx " ctx ", int " fd ");" .BI "int seccomp_export_pfc(const scmp_filter_ctx " ctx ", int " fd ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_init.3 b/doc/man/man3/seccomp_init.3 index 067c042..6bce134 100644 --- a/doc/man/man3/seccomp_init.3 +++ b/doc/man/man3/seccomp_init.3 @@ -13,6 +13,8 @@ seccomp_init, seccomp_reset \- Initialize the seccomp filter state .sp .BI "scmp_filter_ctx seccomp_init(uint32_t " def_action ");" .BI "int seccomp_reset(scmp_filter_ctx " ctx ", uint32_t " def_action ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_load.3 b/doc/man/man3/seccomp_load.3 index 78944a2..0a483a0 100644 --- a/doc/man/man3/seccomp_load.3 +++ b/doc/man/man3/seccomp_load.3 @@ -12,6 +12,8 @@ seccomp_load \- Load the current seccomp filter into the kernel .B typedef void * scmp_filter_ctx; .sp .BI "int seccomp_load(scmp_filter_ctx " ctx ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_release.3 b/doc/man/man3/seccomp_release.3 index 08a0a0b..4313a43 100644 --- a/doc/man/man3/seccomp_release.3 +++ b/doc/man/man3/seccomp_release.3 @@ -12,6 +12,8 @@ seccomp_release \- Release the seccomp filter state .B typedef void * scmp_filter_ctx; .sp .BI "void seccomp_release(scmp_filter_ctx " ctx ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_rule_add.3 b/doc/man/man3/seccomp_rule_add.3 index 77c64a0..de5b1af 100644 --- a/doc/man/man3/seccomp_rule_add.3 +++ b/doc/man/man3/seccomp_rule_add.3 @@ -26,6 +26,8 @@ seccomp_rule_add, seccomp_rule_add_exact \- Add a seccomp filter rule .BI " int " syscall ", unsigned int " arg_cnt ", " ... ");" .BI "int seccomp_rule_add_exact(scmp_filter_ctx " ctx ", uint32_t " action "," .BI " int " syscall ", unsigned int " arg_cnt ", " ... ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION diff --git a/doc/man/man3/seccomp_syscall_priority.3 b/doc/man/man3/seccomp_syscall_priority.3 index eb86069..42056f9 100644 --- a/doc/man/man3/seccomp_syscall_priority.3 +++ b/doc/man/man3/seccomp_syscall_priority.3 @@ -15,6 +15,8 @@ seccomp_syscall_priority \- Prioritize syscalls in the seccomp filter .sp .BI "int seccomp_syscall_priority(scmp_filter_ctx " ctx "," .BI " int " syscall ", uint8_t " priority ");" +.sp +Link with \fI\-lseccomp\fP. .fi .\" ////////////////////////////////////////////////////////////////////////// .SH DESCRIPTION |