History

landlock: Documentation wording cleanups

Documentation cleanups suggested by Alejandro Colomar, which we have also applied in the man pages.

Günther Noack committed 6 months ago

Commit 6b88ff21 parent 198c4351 file · +4 −4Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/landlock.h+4−4
@@ -315,16 +315,16 @@ struct landlock_net_port_attr { · 314 unmodified lines
315 * :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an315 * :manpage:`connect(2)` as well as calls to :manpage:`sendmsg(2)` with an
316 * explicit recipient address.316 * explicit recipient address.
317 *317 *
318 * This access right only applies to connections to UNIX server sockets which318 * This access right applies only to connections to UNIX server sockets which
319 * were created outside of the newly created Landlock domain (e.g. from within319 * were created outside of the newly created Landlock domain (e.g. from within
320 * a parent domain or from an unrestricted process). Newly created UNIX320 * a parent domain or from an unrestricted process). Newly created UNIX
321 * servers within the same Landlock domain continue to be accessible. In this321 * servers within the same Landlock domain continue to be accessible. In this
322 * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the322 * regard, %LANDLOCK_ACCESS_FS_RESOLVE_UNIX has the same semantics as the
323 * ``LANDLOCK_SCOPE_*`` flags.323 * ``LANDLOCK_SCOPE_*`` flags.
324 *324 *
325 * If a resolve attempt is denied, the operation returns an ``EACCES`` error,325 * If a resolution attempt is denied, the operation returns an ``EACCES``
326 * in line with other filesystem access rights (but different to denials for326 * error, in line with other filesystem access rights (but different to
327 * abstract UNIX domain sockets).327 * denials for abstract UNIX domain sockets).
328 *328 *
329 * This access right is available since the ninth version of the Landlock ABI.329 * This access right is available since the ninth version of the Landlock ABI.
330 *330 *