Skip to contentSkip to conversation

xenstored: Remove setjmp.h

PATCH In review Jason Andryuk 4 participants 4 messages Apr 18, 2025 – Apr 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xenstored: Remove setjmp.h

Use of setjmp/longjmp as removed in 2006, but the include remained. Remove it now.

Fixes 1bac3b49cd ("Import the current version of talloc...")

---
I truncated the Fixes above. The full line is:

Fixes 1bac3b49cd ("Import the current version of talloc from the Samba 3 source base. This gives us greater confidence that our talloc implementation is "known good". Remove the OOM handling from consider_message: talloc_set_fail_handler is no longer supported.")
---
 tools/xenstored/core.c | 1 -
 1 file changed, 1 deletion(-)
tools/xenstored/core.c +0 -1
index 91b2530e5c..835402af81 100644
@@ -35,7 +35,6 @@
 #include <getopt.h>
 #include <signal.h>
 #include <assert.h>
-#include <setjmp.h>
 
 #include <xenevtchn.h>
 #include <xen-tools/xenstore-common.h>
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Jason,

Quoted 4 lines · Jason Andryuk

Use of setjmp/longjmp as removed in 2006, but the include remained. Remove it now.

Fixes 1bac3b49cd ("Import the current version of talloc...")

The subject truncation is ok however for the commit ID, we are expecting 12 characters (see docs/process/sending-patches.pandoc).

Quoted 1 line

With the remark above addressed (can be fixed on commit):

Quoted 11 lines

---
I truncated the Fixes above. The full line is:

Fixes 1bac3b49cd ("Import the current version of talloc from the Samba 3 source base. This gives us greater confidence that our talloc implementation is "known good". Remove the OOM handling from consider_message: talloc_set_fail_handler is no longer supported.")

---> tools/xenstored/core.c | 1 -

  1 file changed, 1 deletion(-)
tools/xenstored/core.c +0 -0
index 91b2530e5c..835402af81 100644

tools/xenstored/core.c line 40

Quoted 7 lines
tools/xenstored/core.c +0 -1
@@ -35,7 +35,6 @@
  #include <getopt.h>
  #include <signal.h>
  #include <assert.h>
-#include <setjmp.h>
 
  #include <xenevtchn.h>
  #include <xen-tools/xenstore-common.h>

Cheers,

Signature · 1 line
Julien Grall
#2 lore raw
Quoted 5 lines · Julien Grall

Hi Jason,

Quoted 1 line · Jason Andryuk

Use of setjmp/longjmp as removed in 2006, but the include remained.

Whoops, this should be "was removed".

Quoted 6 lines
Quoted 3 lines

Remove it now.

Fixes 1bac3b49cd ("Import the current version of talloc...")

The subject truncation is ok however for the commit ID, we are expecting 12 characters (see docs/process/sending-patches.pandoc).

Sorry about that. I used --pretty=fixes, but I guess I have it misconfigured on that machine.

The 12 character ID is:
1bac3b49cdd4

Quoted 6 lines
Quoted 2 lines

With the remark above addressed (can be fixed on commit):

Thanks,
Jason