Nick Zavaritsky

Results 50 comments of Nick Zavaritsky

@dylandreimerink Thank you for sharing your thoughs. > > I have to admit that I don't understand how to use BPF_OBJ_GET_INFO_BY_FD safely when we aren't sure about the fd type....

@skvadrik thank you for the insightful response. A hint concerning `-w` switch is especially useful. I made a mistake when reducing the test case. Please find a slightly bigger sample...

@skvadrik Thank you for your help; I think I was finally able to fix my misconceptions. Apparently getting the following bits is crucial to use `re2c` successfully. It would be...

I would like to add tests in `prog_test.go`. I see that most tests use a synthetic program spawned via `createProgram`. I need something more complex to verify that ctxOut properly...

It probably makes sense to land basic `bpf2go` variable support first: * `VariableSpec`s included in generated `xxxSpecs`; do we need to segregate them similar to today's `xxxProgramSpecs`/`xxxMapSpecs`? * `Variable`s included...

@smagnani96 > Do you suggest to change this PR to provide basic VariableSpecs support in bpf2go or should I open a new one? It is probably worthwhile to keep this...

@ti-mo > Note that currently, the plan is to not populate Collection.Variables in kernels

@smagnani96 Not sure about inheritance, will make the job of `CollectionSpec.LoadAndAssign` harder. With the latest changes from @ti-mo every rw `Variable` is capable of giving out the pointer, so there...

It would be nice if `GOTRACEBACK` environment variable could be re-enabled for processes running with elevated privileges (opt-in). Maybe introduce a variable in `runtime` and check it during initialization? One...

After some thought process, I have a feeling that maybe there's a better solution, at least for my use case. I am mostly concerned about containerized apps. Since an app...