aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2008-04-28 22:54:21 -0700
committerAndrew G. Morgan <morgan@kernel.org>2008-04-28 22:54:21 -0700
commitf3747777bfef0789071edfaf8186f2eb0a42aa96 (patch)
tree1c40e5133cadcedb16016045122ec6604b2490c8
parenta0349b0e7489689d6442f30436c3c22399e94d65 (diff)
downloadlibcap-f3747777bfef0789071edfaf8186f2eb0a42aa96.tar.gz
These two man pages are no longer official
See http://www.kernel.org/pub/linux/docs/man-pages/ for documentation on the kernel system calls. Reported-by: Michael Kerrisk <mtk.manpages@googlemail.com> Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--doc/capget.241
-rw-r--r--doc/capset.21
2 files changed, 0 insertions, 42 deletions
diff --git a/doc/capget.2 b/doc/capget.2
deleted file mode 100644
index 6dd5dc7..0000000
--- a/doc/capget.2
+++ /dev/null
@@ -1,41 +0,0 @@
-.\"
-.\" written by Andrew Morgan <morgan@kernel.org>
-.\"
-.TH CAPGET 2 "17th May 1998" "Linux 2.1" "Linux Programmer's Manual"
-.SH NAME
-capget, capset \- set/get process capabilities
-.SH SYNOPSIS
-.B #undef _POSIX_SOURCE
-.br
-.B #include <sys/capability.h>
-.sp
-.BI "int capget(cap_user_header_t " header ", cap_user_data_t " data );
-.sp
-.BI "int capset(cap_user_header_t " header ", const cap_user_data_t " data );
-.SH DESCRIPTION
-These two functions are the raw kernel interface for getting and
-setting capabilities. The kernel API is likely to change and use of
-these functions (in particular the format of the
-.B cap_user_*_t
-types) is subject to change with each kernel revision.
-.sp
-These system calls are specific to Linux.
-The portable interfaces are
-.IR cap_set_proc (3)
-and
-.IR cap_get_proc (3).
-.SH "RETURN VALUE"
-On success, zero is returned. On error, -1 is returned, and
-.I errno
-is set appropriately.
-.SH ERRORS
-.TP
-.SB EINVAL
-One of the arguments was invalid.
-.TP
-.SB EPERM
-An attempt was made to add a capability to the Permitted set, or to set
-a capability in the Effective or Inheritable sets that is not in the
-Permitted set.
-
-
diff --git a/doc/capset.2 b/doc/capset.2
deleted file mode 100644
index 9e829cb..0000000
--- a/doc/capset.2
+++ /dev/null
@@ -1 +0,0 @@
-.so man2/capget.2