Thread (1 message) 1 message, 1 author, 2016-03-09

Re: [PATCH] capget.2: capability.h is now in linux uapi + tfix

From: Michael Kerrisk (man-pages) <hidden>
Date: 2016-03-09 00:21:00

Possibly related (same subject, not in this thread)

Hello Arthur,

On 10/12/2015 10:25 PM, Arthur Gautier wrote:
introduced in 607ca46e97a1b6594b29647d98a32d545c24bdff
I don't think this is correct. Yes, the kernel headers were reorganized,
but capget() and friends are still exposed in glibc's sys/capability.h
Did I miss something?

Cheers,

Michael
quoted hunk
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Signed-off-by: Arthur Gautier <redacted>
---
 man2/capget.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man2/capget.2 b/man2/capget.2
index 40b8a4eda595..29f0bdb69514 100644
--- a/man2/capget.2
+++ b/man2/capget.2
@@ -16,7 +16,7 @@
 .SH NAME
 capget, capset \- set/get capabilities of thread(s)
 .SH SYNOPSIS
-.B #include <sys/capability.h>
+.B #include <linux/capability.h>
 .sp
 .BI "int capget(cap_user_header_t " hdrp ", cap_user_data_t " datap );
 .sp

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help