landlock: Documentation wording cleanups
Subsystems (3)
PATCH 1/1 landlock: Documentation wording cleanups
Documentation cleanups suggested by Alejandro Colomar, which we have also applied in the man pages.
--- include/uapi/linux/landlock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/uapi/linux/landlock.h +4 -4
@@ -255,16 +255,16 @@ struct landlock_net_port_attr {* :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an * explicit recipient address. * -* This access right only applies to connections to UNIX server sockets which +* This access right applies only to connections to UNIX server sockets which * were created outside of the newly created Landlock domain (e.g. from within * a parent domain or from an unrestricted process). Newly created UNIX * servers within the same Landlock domain continue to be accessible. In this * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the * ``LANDLOCK_SCOPE_*`` flags. * -* If a resolve attempt is denied, the operation returns an ``EACCES`` error, -* in line with other filesystem access rights (but different to denials for -* abstract UNIX domain sockets). +* If a resolution attempt is denied, the operation returns an ``EACCES`` +* error, in line with other filesystem access rights (but different to +* denials for abstract UNIX domain sockets). * * This access right is available since the ninth version of the Landlock ABI. *
Signature · 1 line
2.54.0
Hi Günther,
Quoted 1 line
Cc Alejandro Colomar <[email protected]>
I don't use that address anymore. (The gmail account still exists, but I'll eventually remove it.)
Quoted 15 lines · Günther Noack
Documentation cleanups suggested by Alejandro Colomar, which we have also applied in the man pages.
Suggested-by Alejandro Colomar <[email protected]>Signed-off-by Günther Noack <[email protected]>--- include/uapi/linux/landlock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)include/uapi/linux/landlock.h +0
-0
include/uapi/linux/landlock.h struct landlock_net_port_attr { · line 258
Quoted 5 lines
include/uapi/linux/landlock.h +1
-1@@ -255,16 +255,16 @@ struct landlock_net_port_attr {* :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an * explicit recipient address. * -* This access right only applies to connections to UNIX server sockets which +* This access right applies only to connections to UNIX server sockets which
Yup. As a reminder, 'only' applies to whatever comes immediately after it.
include/uapi/linux/landlock.h struct landlock_net_port_attr { · line 267
Quoted 12 lines
include/uapi/linux/landlock.h +3
-3* were created outside of the newly created Landlock domain (e.g. from within * a parent domain or from an unrestricted process). Newly created UNIX * servers within the same Landlock domain continue to be accessible. In this * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the * ``LANDLOCK_SCOPE_*`` flags. * -* If a resolve attempt is denied, the operation returns an ``EACCES`` error, -* in line with other filesystem access rights (but different to denials for -* abstract UNIX domain sockets). +* If a resolution attempt is denied, the operation returns an ``EACCES`` +* error, in line with other filesystem access rights (but different to +* denials for abstract UNIX domain sockets).
I.e.: s/resolve/resolution/
I miss semantic newlines! :)
Have a lovely day!
Alex
Quoted 6 lines
include/uapi/linux/landlock.h +0
-0* * This access right is available since the ninth version of the Landlock ABI. * Signature · 1 line
2.54.0
Signature · 1 line
<https://www.alejandro-colomar.es>
Günther Noack
reviewerQuoted 38 lines · Günther Noack
Documentation cleanups suggested by Alejandro Colomar, which we have also applied in the man pages.
Suggested-by Alejandro Colomar <[email protected]>Signed-off-by Günther Noack <[email protected]>--- include/uapi/linux/landlock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)include/uapi/linux/landlock.h +4
-4@@ -255,16 +255,16 @@ struct landlock_net_port_attr {* :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an * explicit recipient address. * -* This access right only applies to connections to UNIX server sockets which +* This access right applies only to connections to UNIX server sockets which * were created outside of the newly created Landlock domain (e.g. from within * a parent domain or from an unrestricted process). Newly created UNIX * servers within the same Landlock domain continue to be accessible. In this * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the * ``LANDLOCK_SCOPE_*`` flags. * -* If a resolve attempt is denied, the operation returns an ``EACCES`` error, -* in line with other filesystem access rights (but different to denials for -* abstract UNIX domain sockets). +* If a resolution attempt is denied, the operation returns an ``EACCES`` +* error, in line with other filesystem access rights (but different to +* denials for abstract UNIX domain sockets). * * This access right is available since the ninth version of the Landlock ABI. * Signature · 1 line
2.54.0
Friendly ping, Mickaël!
This is only a minor change, but keeps the man pages and kernel docs wording in line.
—Günther
Thanks, applied!
Quoted 39 lines · Günther Noack
Documentation cleanups suggested by Alejandro Colomar, which we have also applied in the man pages.
Suggested-by Alejandro Colomar <[email protected]>Signed-off-by Günther Noack <[email protected]>--- include/uapi/linux/landlock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)include/uapi/linux/landlock.h +4
-4@@ -255,16 +255,16 @@ struct landlock_net_port_attr {* :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an * explicit recipient address. * -* This access right only applies to connections to UNIX server sockets which +* This access right applies only to connections to UNIX server sockets which * were created outside of the newly created Landlock domain (e.g. from within * a parent domain or from an unrestricted process). Newly created UNIX * servers within the same Landlock domain continue to be accessible. In this * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the * ``LANDLOCK_SCOPE_*`` flags. * -* If a resolve attempt is denied, the operation returns an ``EACCES`` error, -* in line with other filesystem access rights (but different to denials for -* abstract UNIX domain sockets). +* If a resolution attempt is denied, the operation returns an ``EACCES`` +* error, in line with other filesystem access rights (but different to +* denials for abstract UNIX domain sockets). * * This access right is available since the ninth version of the Landlock ABI. * Signature · 1 line
2.54.0