X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-core%2Frecipes-support%2Frng-tools%2Frng-tools%2F0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch;fp=meta-agl-core%2Frecipes-support%2Frng-tools%2Frng-tools%2F0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch;h=0000000000000000000000000000000000000000;hb=8c28d09d2a0bf3bb317170e2bddbe63e834a7b89;hp=3b44095cf52614293830594a543c387f03c45464;hpb=91a98f56e0ab024f706dab56579e1a48f186b525;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-core/recipes-support/rng-tools/rng-tools/0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch b/meta-agl-core/recipes-support/rng-tools/rng-tools/0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch deleted file mode 100644 index 3b44095cf..000000000 --- a/meta-agl-core/recipes-support/rng-tools/rng-tools/0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 6ce86cb5cf06541cd5aad70fe8494b07b22c247e Mon Sep 17 00:00:00 2001 -From: Matthias Schiffer -Date: Wed, 27 Jan 2021 16:10:32 +0100 -Subject: [PATCH] rngd_jitter: fix O_NONBLOCK setting for entropy pipe - -A pointer was passed to fcntl instead of the flags variable, setting -random flags. - -Signed-off-by: Matthias Schiffer ---- - rngd_jitter.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/rngd_jitter.c b/rngd_jitter.c -index 32bac53..25b3543 100644 ---- a/rngd_jitter.c -+++ b/rngd_jitter.c -@@ -465,7 +465,7 @@ int init_jitter_entropy_source(struct rng *ent_src) - - flags = fcntl(pipefds[0], F_GETFL, 0); - flags |= O_NONBLOCK; -- fcntl(pipefds[0], F_SETFL, &flags); -+ fcntl(pipefds[0], F_SETFL, flags); - - if (ent_src->rng_options[JITTER_OPT_USE_AES].int_val) { - #ifdef HAVE_LIBGCRYPT