Skip to content

Commit

Permalink
Permit overriding maximum stack size
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
  • Loading branch information
Alan Jowett committed May 12, 2021
1 parent 6492b7a commit f713f3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vm/ubpf_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#include "ebpf.h"

#define MAX_INSTS 65536
#if !defined(STACK_SIZE)
#define STACK_SIZE 128
#endif

struct ebpf_inst;
typedef uint64_t (*ext_func)(uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4);
Expand Down

0 comments on commit f713f3b

Please sign in to comment.