mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Using barebox-state as library
@ 2021-02-10  8:37 barebox+mailing
  2021-02-10  8:53 ` Ahmad Fatoum
  0 siblings, 1 reply; 2+ messages in thread
From: barebox+mailing @ 2021-02-10  8:37 UTC (permalink / raw)
  To: barebox

Hey everyone, 

I would like to set and read barebox-states during runtime. Unfortunately only a binary is available to be used. 
But because the variable names and values are from an untrusted environment, I don't like them to be passed to a shell directly. 
Therefore I would like to use a barebox-state library, which offers some functions, e.g. read_var, set_var, ... 

An other approach would be some kind of IPC, e.g. dbus or similar, but I'm not sure if that would fit into the simplicity of the current binary. 

Do you see any other possibilities so fetch and set variables from the barebox-state? 

Greetings, 
Marcel

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2021-02-10  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10  8:37 Using barebox-state as library barebox+mailing
2021-02-10  8:53 ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox