All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] Fix build error because of undefined CAP_SYS_TIME
@ 2020-03-10  2:44 Ronald Monthero
  2020-03-10  2:50 ` Yang Xu
  2020-03-10  2:53 ` [LTP] Fwd: " Ronald Monthero
  0 siblings, 2 replies; 6+ messages in thread
From: Ronald Monthero @ 2020-03-10  2:44 UTC (permalink / raw)
  To: ltp

Details of the build log at pr#654
https://github.com/linux-test-project/ltp/pull/654

Signed-off-by: Ronald Monthero <rmonther@redhat.com>
---
diff --git a/include/lapi/capability.h b/include/lapi/capability.h
index 8833f0605..8ed68bfce 100644
--- a/include/lapi/capability.h
+++ b/include/lapi/capability.h
@@ -24,6 +24,10 @@
 # define CAP_NET_RAW          13
 #endif

+#ifndef CAP_SYS_TIME
+#define CAP_SYS_TIME          25
+#endif
+
 #ifndef CAP_SYS_ADMIN
 # define CAP_SYS_ADMIN        21
 #endif
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200310/1561eedc/attachment.htm>

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [LTP] Fix build error because of undefined CAP_SYS_TIME
  2020-03-10  2:44 [LTP] Fix build error because of undefined CAP_SYS_TIME Ronald Monthero
@ 2020-03-10  2:50 ` Yang Xu
  2020-03-10  2:54   ` Ronald Monthero
  2020-03-10  3:15   ` Ronald Monthero
  2020-03-10  2:53 ` [LTP] Fwd: " Ronald Monthero
  1 sibling, 2 replies; 6+ messages in thread
From: Yang Xu @ 2020-03-10  2:50 UTC (permalink / raw)
  To: ltp

Hi Ronald

acked, but I think we can sort them by num.

@xiao, can you merge this patch?

Best Regards
Yang Xu

> Details of the build log at pr#654 
> https://github.com/linux-test-project/ltp/pull/654
> 
> Signed-off-by: Ronald Monthero <rmonther@redhat.com
> <mailto:rmonther@redhat.com>>
> ---
> diff --git a/include/lapi/capability.h b/include/lapi/capability.h
> index 8833f0605..8ed68bfce 100644
> --- a/include/lapi/capability.h
> +++ b/include/lapi/capability.h
> @@ -24,6 +24,10 @@
>  ?# define CAP_NET_RAW ? ? ? ? ?13
>  ?#endif
> 
> +#ifndef CAP_SYS_TIME
> +#define CAP_SYS_TIME ? ? ? ? ?25
> +#endif
> +
>  ?#ifndef CAP_SYS_ADMIN
>  ?# define CAP_SYS_ADMIN ? ? ? ?21
>  ?#endif
> ---
> 
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LTP] Fwd: Fix build error because of undefined CAP_SYS_TIME
  2020-03-10  2:44 [LTP] Fix build error because of undefined CAP_SYS_TIME Ronald Monthero
  2020-03-10  2:50 ` Yang Xu
@ 2020-03-10  2:53 ` Ronald Monthero
  2020-03-10  3:41   ` Xiao Yang
  1 sibling, 1 reply; 6+ messages in thread
From: Ronald Monthero @ 2020-03-10  2:53 UTC (permalink / raw)
  To: ltp

Details of the build log at pr#654
https://github.com/linux-test-project/ltp/pull/654

Signed-off-by: Ronald Monthero <rmonther@redhat.com>
---
 include/lapi/capability.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/lapi/capability.h b/include/lapi/capability.h
index 8833f0605..8ed68bfce 100644
--- a/include/lapi/capability.h
+++ b/include/lapi/capability.h
@@ -24,6 +24,10 @@
 # define CAP_NET_RAW          13
 #endif

+#ifndef CAP_SYS_TIME
+#define CAP_SYS_TIME          25
+#endif
+
 #ifndef CAP_SYS_ADMIN
 # define CAP_SYS_ADMIN        21
 #endif
-- 
2.21.1

---------- Forwarded message ---------
From: Ronald Monthero <rmonther@redhat.com>
Date: Tue, Mar 10, 2020 at 12:44 PM
Subject: Fix build error because of undefined CAP_SYS_TIME
To: <ltp@lists.linux.it>


Details of the build log at pr#654
https://github.com/linux-test-project/ltp/pull/654

Signed-off-by: Ronald Monthero <rmonther@redhat.com>
---
diff --git a/include/lapi/capability.h b/include/lapi/capability.h
index 8833f0605..8ed68bfce 100644
--- a/include/lapi/capability.h
+++ b/include/lapi/capability.h
@@ -24,6 +24,10 @@
 # define CAP_NET_RAW          13
 #endif

+#ifndef CAP_SYS_TIME
+#define CAP_SYS_TIME          25
+#endif
+
 #ifndef CAP_SYS_ADMIN
 # define CAP_SYS_ADMIN        21
 #endif
---


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [LTP] Fix build error because of undefined CAP_SYS_TIME
  2020-03-10  2:50 ` Yang Xu
@ 2020-03-10  2:54   ` Ronald Monthero
  2020-03-10  3:15   ` Ronald Monthero
  1 sibling, 0 replies; 6+ messages in thread
From: Ronald Monthero @ 2020-03-10  2:54 UTC (permalink / raw)
  To: ltp

Sure thanks

Regards,
Ronald

On Tue, Mar 10, 2020 at 12:51 PM Yang Xu <xuyang2018.jy@cn.fujitsu.com> wrote:
>
> Hi Ronald
>
> acked, but I think we can sort them by num.
>
> @xiao, can you merge this patch?
>
> Best Regards
> Yang Xu
>
> > Details of the build log at pr#654
> > https://github.com/linux-test-project/ltp/pull/654
> >
> > Signed-off-by: Ronald Monthero <rmonther@redhat.com
> > <mailto:rmonther@redhat.com>>
> > ---
> > diff --git a/include/lapi/capability.h b/include/lapi/capability.h
> > index 8833f0605..8ed68bfce 100644
> > --- a/include/lapi/capability.h
> > +++ b/include/lapi/capability.h
> > @@ -24,6 +24,10 @@
> >   # define CAP_NET_RAW          13
> >   #endif
> >
> > +#ifndef CAP_SYS_TIME
> > +#define CAP_SYS_TIME          25
> > +#endif
> > +
> >   #ifndef CAP_SYS_ADMIN
> >   # define CAP_SYS_ADMIN        21
> >   #endif
> > ---
> >
> >
>
>


-- 
Regards,
Ronald


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LTP] Fix build error because of undefined CAP_SYS_TIME
  2020-03-10  2:50 ` Yang Xu
  2020-03-10  2:54   ` Ronald Monthero
@ 2020-03-10  3:15   ` Ronald Monthero
  1 sibling, 0 replies; 6+ messages in thread
From: Ronald Monthero @ 2020-03-10  3:15 UTC (permalink / raw)
  To: ltp

> acked, but I think we can sort them by num.
Sure sounds good to sort them.

Signed-off-by: Ronald Monthero <rmonther@redhat.com>
---
 include/lapi/capability.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/lapi/capability.h b/include/lapi/capability.h
index 8ed68bfce..f69f27c88 100644
--- a/include/lapi/capability.h
+++ b/include/lapi/capability.h
@@ -24,14 +24,14 @@
 # define CAP_NET_RAW          13
 #endif

 #ifndef CAP_SYS_ADMIN
 # define CAP_SYS_ADMIN        21
 #endif

+#ifndef CAP_SYS_TIME
+#define CAP_SYS_TIME          25
+#endif
+
 #ifndef CAP_AUDIT_READ
 # define CAP_AUDIT_READ       37
 #endif

On Tue, Mar 10, 2020 at 12:51 PM Yang Xu <xuyang2018.jy@cn.fujitsu.com> wrote:
>
> Hi Ronald
>
> acked, but I think we can sort them by num.
>
> @xiao, can you merge this patch?
>
> Best Regards
> Yang Xu
>
> > Details of the build log at pr#654
> > https://github.com/linux-test-project/ltp/pull/654
> >
> > Signed-off-by: Ronald Monthero <rmonther@redhat.com
> > <mailto:rmonther@redhat.com>>
> > ---
> > diff --git a/include/lapi/capability.h b/include/lapi/capability.h
> > index 8833f0605..8ed68bfce 100644
> > --- a/include/lapi/capability.h
> > +++ b/include/lapi/capability.h
> > @@ -24,6 +24,10 @@
> >   # define CAP_NET_RAW          13
> >   #endif
> >
> > +#ifndef CAP_SYS_TIME
> > +#define CAP_SYS_TIME          25
> > +#endif
> > +
> >   #ifndef CAP_SYS_ADMIN
> >   # define CAP_SYS_ADMIN        21
> >   #endif
> > ---
> >
> >
>
>


-- 
Regards,
Ronald


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [LTP] Fwd: Fix build error because of undefined CAP_SYS_TIME
  2020-03-10  2:53 ` [LTP] Fwd: " Ronald Monthero
@ 2020-03-10  3:41   ` Xiao Yang
  0 siblings, 0 replies; 6+ messages in thread
From: Xiao Yang @ 2020-03-10  3:41 UTC (permalink / raw)
  To: ltp

Hi Ronald,

Pushed with two minor changes:
1) Fix indentation.
2) Add build log to commit message.

Thanks,
Xiao Yang

On 2020/3/10 10:53, Ronald Monthero wrote:
> Details of the build log at pr#654
> https://github.com/linux-test-project/ltp/pull/654
>
> Signed-off-by: Ronald Monthero<rmonther@redhat.com>
> ---
>   include/lapi/capability.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/include/lapi/capability.h b/include/lapi/capability.h
> index 8833f0605..8ed68bfce 100644
> --- a/include/lapi/capability.h
> +++ b/include/lapi/capability.h
> @@ -24,6 +24,10 @@
>   # define CAP_NET_RAW          13
>   #endif
>
> +#ifndef CAP_SYS_TIME
> +#define CAP_SYS_TIME          25
> +#endif
> +
>   #ifndef CAP_SYS_ADMIN
>   # define CAP_SYS_ADMIN        21
>   #endif




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-10  3:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-10  2:44 [LTP] Fix build error because of undefined CAP_SYS_TIME Ronald Monthero
2020-03-10  2:50 ` Yang Xu
2020-03-10  2:54   ` Ronald Monthero
2020-03-10  3:15   ` Ronald Monthero
2020-03-10  2:53 ` [LTP] Fwd: " Ronald Monthero
2020-03-10  3:41   ` Xiao Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.