lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240821155736.64d0350c@kernel.org>
Date: Wed, 21 Aug 2024 15:57:36 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Alexander Aring <aahringo@...hat.com>
Cc: teigland@...hat.com, gfs2@...ts.linux.dev, song@...nel.org,
 yukuai3@...wei.com, agruenba@...hat.com, mark@...heh.com,
 jlbec@...lplan.org, joseph.qi@...ux.alibaba.com,
 gregkh@...uxfoundation.org, rafael@...nel.org, akpm@...ux-foundation.org,
 linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org,
 ocfs2-devel@...ts.linux.dev, netdev@...r.kernel.org,
 vvidic@...entin-vidic.from.hr, heming.zhao@...e.com, lucien.xin@...il.com
Subject: Re: [PATCH dlm/next 11/12] dlm: add nldlm net-namespace aware UAPI

On Wed, 21 Aug 2024 09:13:21 -0400 Alexander Aring wrote:
> > Did you consider using the YAML spec stuff to code gen the policies
> > and make user space easier?
> 
> I will try to take a look into that and prepare a spec for PATCHv2. I
> saw that there is a documentation about it at [0].
> 
> I did a kind of "prototype" libnldlm [1] to have easy access to the
> netlink api but if there are more common ways to generate code to
> easily access it, I am happy to give it a try.

Right, even if you don't end up using it on the user space side, having
YNL generate the kernel boiler plate simplifies the human review, if
nothing else :) YNL always uses the latest and safest kernel constructs.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ