Re: [PATCH 1/3] libselinux: correct parameter type in selabel_open(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 14, 2022 at 2:52 PM James Carter <jwcart2@xxxxxxxxx> wrote:
>
> On Wed, Apr 13, 2022 at 1:22 PM Christian Göttsche
> <cgzones@xxxxxxxxxxxxxx> wrote:
> >
> > selabel_open(3) takes an `unsigned int` as backend parameter.
> >
> > Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
>
> Acked-by: James Carter <jwcart2@xxxxxxxxx>
For all three patches, of course.

>
> > ---
> >  libselinux/man/man3/selabel_open.3 | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libselinux/man/man3/selabel_open.3 b/libselinux/man/man3/selabel_open.3
> > index 971ebc1a..c8348ca4 100644
> > --- a/libselinux/man/man3/selabel_open.3
> > +++ b/libselinux/man/man3/selabel_open.3
> > @@ -10,7 +10,7 @@ selabel_open, selabel_close \- userspace SELinux labeling interface
> >  .br
> >  .B #include <selinux/label.h>
> >  .sp
> > -.BI "struct selabel_handle *selabel_open(int " backend ,
> > +.BI "struct selabel_handle *selabel_open(unsigned int " backend ,
> >  .in +\w'struct selabel_handle *selabel_open('u
> >  .BI "const struct selinux_opt *" options ,
> >  .br
> > --
> > 2.35.2
> >




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux