Bug 216514

Summary: minor typos in cap_to_text manual page
Product: Tools Reporter: Paulo Andrade (pandrade)
Component: libcapAssignee: Andrew G. Morgan (morgan)
Status: RESOLVED CODE_FIX    
Severity: enhancement CC: juliazrobert135, morgan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: any Subsystem:
Regression: No Bisected commit-id:

Description Paulo Andrade 2022-09-22 13:13:43 UTC
char *cap_to_text(cap_t caps, ssize_t * length_p);
...
cap_to_text() converts ... cap_p ...
... he location pointed to by len_p ...

should change either the prototype or the description to use either
cap_p or caps, as well as len_p or length_p.
Comment 1 Andrew G. Morgan 2022-09-22 14:00:03 UTC
Thanks for reporting this!

It should be fixed with:

https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=60ff008d95584cc18701e98ed3cc4fa3d6cef9cb
Comment 3 Andrew G. Morgan 2024-01-10 01:55:33 UTC
That last comment was clearly some location phishing attempt. I'll mark the comment as private.