Thread (9 messages) 9 messages, 2 authors, 2024-06-12

Re: Sashimi of prctl(2)

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-05-26 11:27:44

On Sun, May 26, 2024 at 01:07:24PM GMT, Alejandro Colomar wrote:
Hi!

I'm considering making sashimi of prctl(2), similar to what I did
recently to proc(5).  Another precedent is in ioctl(2).

I'm still unsure about the naming scheme.  I've thought of the following
(using prctl(PR_CAP_AMBIENT, ...) for the example):

-  prctl_cap_ambient(2)
-  prctl_PR_CAP_AMBIENT(2)
-  prctl_CAT_AMBIENT(2)
From these, my favourite is the second one.  Here's another one:

-  PR_CAP_AMBIENT(2)
The upper-/lower-case mix shouldn't be a problem, since man(1) is case-
insensitive (mostly).

Any opinions on this or other aspects of the split?

Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>


-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help