All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] safec: Initial recipe for safe C library
@ 2019-05-27 10:06 Ankit Navik
  2019-05-27 15:39 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Ankit Navik @ 2019-05-27 10:06 UTC (permalink / raw)
  To: openembedded-devel

Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc
implementations, which are missing from them.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
---
 meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb

diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb
new file mode 100644
index 000000000..ad3c4ba74
--- /dev/null
+++ b/meta-oe/recipes-core/safec/safec_3.4.bb
@@ -0,0 +1,15 @@
+SUMMARY  = "Safe C Library"
+
+LICENSE  = "safec"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
+SECTION = "lib"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
+SRC_URI = "git://github.com/rurban/safeclib.git"
+
+COMPATIBLE_HOST = '(x86_64|i.86|arm|aarch64).*-linux'
+
+RDEPENDS_${PN} = "perl"
-- 
2.20.1



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

* Re: [meta-oe][PATCH v2] safec: Initial recipe for safe C library
  2019-05-27 10:06 [meta-oe][PATCH v2] safec: Initial recipe for safe C library Ankit Navik
@ 2019-05-27 15:39 ` Khem Raj
  2019-05-28  2:40   ` Ankit Navik
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2019-05-27 15:39 UTC (permalink / raw)
  To: Ankit Navik; +Cc: openembeded-devel

On Mon, May 27, 2019 at 3:06 AM Ankit Navik <ankit.tarot@gmail.com> wrote:
>
> Add generic recipe for safe C library.
> This library implements the secure C11 Annex K functions on top of most libc
> implementations, which are missing from them.
>
> Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
> ---
>  meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
>
> diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb
> new file mode 100644
> index 000000000..ad3c4ba74
> --- /dev/null
> +++ b/meta-oe/recipes-core/safec/safec_3.4.bb
> @@ -0,0 +1,15 @@
> +SUMMARY  = "Safe C Library"
> +
> +LICENSE  = "safec"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
> +SECTION = "lib"
> +
> +inherit autotools pkgconfig
> +
> +S = "${WORKDIR}/git"
> +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
> +SRC_URI = "git://github.com/rurban/safeclib.git"
> +
> +COMPATIBLE_HOST = '(x86_64|i.86|arm|aarch64).*-linux'

is it limited to these architectures ?

> +
> +RDEPENDS_${PN} = "perl"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe][PATCH v2] safec: Initial recipe for safe C library
  2019-05-27 15:39 ` Khem Raj
@ 2019-05-28  2:40   ` Ankit Navik
  2019-05-28  3:33     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Ankit Navik @ 2019-05-28  2:40 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Raj,

On Mon 27 May, 2019, 21:10 Khem Raj, <raj.khem@gmail.com> wrote:

> On Mon, May 27, 2019 at 3:06 AM Ankit Navik <ankit.tarot@gmail.com> wrote:
> >
> > Add generic recipe for safe C library.
> > This library implements the secure C11 Annex K functions on top of most
> libc
> > implementations, which are missing from them.
> >
> > Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
> > ---
> >  meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++
> >  1 file changed, 15 insertions(+)
> >  create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
> >
> > diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb
> b/meta-oe/recipes-core/safec/safec_3.4.bb
> > new file mode 100644
> > index 000000000..ad3c4ba74
> > --- /dev/null
> > +++ b/meta-oe/recipes-core/safec/safec_3.4.bb
> > @@ -0,0 +1,15 @@
> > +SUMMARY  = "Safe C Library"
> > +
> > +LICENSE  = "safec"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
> > +SECTION = "lib"
> > +
> > +inherit autotools pkgconfig
> > +
> > +S = "${WORKDIR}/git"
> > +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
> > +SRC_URI = "git://github.com/rurban/safeclib.git"
> > +
> > +COMPATIBLE_HOST = '(x86_64|i.86|arm|aarch64).*-linux'
>
> is it limited to these architectures ?
>

I have not verified for mips. Since I didn't have target to verify.
But let me check, whether it is feasible for mips or not.

I'll keep you posted

Regards, Ankit

>
> > +
> > +RDEPENDS_${PN} = "perl"
> > --
> > 2.20.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [meta-oe][PATCH v2] safec: Initial recipe for safe C library
  2019-05-28  2:40   ` Ankit Navik
@ 2019-05-28  3:33     ` Khem Raj
  2019-05-29  8:48       ` Ankit Navik
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2019-05-28  3:33 UTC (permalink / raw)
  To: Ankit Navik; +Cc: openembeded-devel

On Mon, May 27, 2019 at 7:40 PM Ankit Navik <ankit.tarot@gmail.com> wrote:
>
> Hi Raj,
>
> On Mon 27 May, 2019, 21:10 Khem Raj, <raj.khem@gmail.com> wrote:
>>
>> On Mon, May 27, 2019 at 3:06 AM Ankit Navik <ankit.tarot@gmail.com> wrote:
>> >
>> > Add generic recipe for safe C library.
>> > This library implements the secure C11 Annex K functions on top of most libc
>> > implementations, which are missing from them.
>> >
>> > Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
>> > ---
>> >  meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++
>> >  1 file changed, 15 insertions(+)
>> >  create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
>> >
>> > diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb
>> > new file mode 100644
>> > index 000000000..ad3c4ba74
>> > --- /dev/null
>> > +++ b/meta-oe/recipes-core/safec/safec_3.4.bb
>> > @@ -0,0 +1,15 @@
>> > +SUMMARY  = "Safe C Library"
>> > +
>> > +LICENSE  = "safec"
>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
>> > +SECTION = "lib"
>> > +
>> > +inherit autotools pkgconfig
>> > +
>> > +S = "${WORKDIR}/git"
>> > +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
>> > +SRC_URI = "git://github.com/rurban/safeclib.git"
>> > +
>> > +COMPATIBLE_HOST = '(x86_64|i.86|arm|aarch64).*-linux'
>>
>> is it limited to these architectures ?
>
>
> I have not verified for mips. Since I didn't have target to verify.
> But let me check, whether it is feasible for mips or not.

Sure, qemumips would be a good target.

>
> I'll keep you posted
>
> Regards, Ankit
>>
>>
>> > +
>> > +RDEPENDS_${PN} = "perl"
>> > --
>> > 2.20.1
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-devel mailing list
>> > Openembedded-devel@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe][PATCH v2] safec: Initial recipe for safe C library
  2019-05-28  3:33     ` Khem Raj
@ 2019-05-29  8:48       ` Ankit Navik
  0 siblings, 0 replies; 5+ messages in thread
From: Ankit Navik @ 2019-05-29  8:48 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Raj,

On Tue, May 28, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:

> On Mon, May 27, 2019 at 7:40 PM Ankit Navik <ankit.tarot@gmail.com> wrote:
> >
> > Hi Raj,
> >
> > On Mon 27 May, 2019, 21:10 Khem Raj, <raj.khem@gmail.com> wrote:
> >>
> >> On Mon, May 27, 2019 at 3:06 AM Ankit Navik <ankit.tarot@gmail.com>
> wrote:
> >> >
> >> > Add generic recipe for safe C library.
> >> > This library implements the secure C11 Annex K functions on top of
> most libc
> >> > implementations, which are missing from them.
> >> >
> >> > Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
> >> > ---
> >> >  meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++
> >> >  1 file changed, 15 insertions(+)
> >> >  create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
> >> >
> >> > diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb
> b/meta-oe/recipes-core/safec/safec_3.4.bb
> >> > new file mode 100644
> >> > index 000000000..ad3c4ba74
> >> > --- /dev/null
> >> > +++ b/meta-oe/recipes-core/safec/safec_3.4.bb
> >> > @@ -0,0 +1,15 @@
> >> > +SUMMARY  = "Safe C Library"
> >> > +
> >> > +LICENSE  = "safec"
> >> > +LIC_FILES_CHKSUM =
> "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
> >> > +SECTION = "lib"
> >> > +
> >> > +inherit autotools pkgconfig
> >> > +
> >> > +S = "${WORKDIR}/git"
> >> > +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
> >> > +SRC_URI = "git://github.com/rurban/safeclib.git"
> >> > +
> >> > +COMPATIBLE_HOST = '(x86_64|i.86|arm|aarch64).*-linux'
> >>
> >> is it limited to these architectures ?
> >
> >
> > I have not verified for mips. Since I didn't have target to verify.
> > But let me check, whether it is feasible for mips or not.
>
> Sure, qemumips would be a good target.
>
Looks like, It is not able to recognize opcode for mips target.
Other target works fine including powerpc. I will submit v3 including
powerpc in COMPATIBLE_HOST.

Regards,
Ankit

>
> >
> > I'll keep you posted
> >
> > Regards, Ankit
> >>
> >>
> >> > +
> >> > +RDEPENDS_${PN} = "perl"
> >> > --
> >> > 2.20.1
> >> >
> >> > --
> >> > _______________________________________________
> >> > Openembedded-devel mailing list
> >> > Openembedded-devel@lists.openembedded.org
> >> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2019-05-29  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 10:06 [meta-oe][PATCH v2] safec: Initial recipe for safe C library Ankit Navik
2019-05-27 15:39 ` Khem Raj
2019-05-28  2:40   ` Ankit Navik
2019-05-28  3:33     ` Khem Raj
2019-05-29  8:48       ` Ankit Navik

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.