diff mbox series

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

Message ID 20220413155633.62677-1-cgzones@googlemail.com (mailing list archive)
State Accepted
Commit 63df12fec128
Headers show
Series [1/3] libselinux: correct parameter type in selabel_open(3) | expand

Commit Message

Christian Göttsche April 13, 2022, 3:56 p.m. UTC
selabel_open(3) takes an `unsigned int` as backend parameter.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libselinux/man/man3/selabel_open.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Carter April 14, 2022, 6:52 p.m. UTC | #1
On Wed, Apr 13, 2022 at 1:22 PM Christian Göttsche
<cgzones@googlemail.com> wrote:
>
> selabel_open(3) takes an `unsigned int` as backend parameter.
>
> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>

Acked-by: James Carter <jwcart2@gmail.com>

> ---
>  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
>
James Carter April 14, 2022, 6:53 p.m. UTC | #2
On Thu, Apr 14, 2022 at 2:52 PM James Carter <jwcart2@gmail.com> wrote:
>
> On Wed, Apr 13, 2022 at 1:22 PM Christian Göttsche
> <cgzones@googlemail.com> wrote:
> >
> > selabel_open(3) takes an `unsigned int` as backend parameter.
> >
> > Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
>
> Acked-by: James Carter <jwcart2@gmail.com>
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
> >
James Carter April 20, 2022, 7:02 p.m. UTC | #3
On Thu, Apr 14, 2022 at 2:53 PM James Carter <jwcart2@gmail.com> wrote:
>
> On Thu, Apr 14, 2022 at 2:52 PM James Carter <jwcart2@gmail.com> wrote:
> >
> > On Wed, Apr 13, 2022 at 1:22 PM Christian Göttsche
> > <cgzones@googlemail.com> wrote:
> > >
> > > selabel_open(3) takes an `unsigned int` as backend parameter.
> > >
> > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
> >
> > Acked-by: James Carter <jwcart2@gmail.com>
> For all three patches, of course.
>

These three patches have been merged.
Thanks,
Jim

> >
> > > ---
> > >  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
> > >
diff mbox series

Patch

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