mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Fix some longstanding environment bugs
@ 2014-04-09  7:39 Sascha Hauer
  2014-04-09  7:39 ` [PATCH 1/4] unlink_recursive: return negative error value Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2014-04-09  7:39 UTC (permalink / raw)
  To: barebox

When an environment doesn't fit into the environment partition saveenv
still returned success. Also loading this corrupted partition resulted
in success. Fix this.

----------------------------------------------------------------
Sascha Hauer (4):
      unlink_recursive: return negative error value
      loadenv: ignore -ENOENT when removing /env
      saveenv: Properly detect write errors
      loadenv: detect truncated environment files

 commands/loadenv.c     |  2 +-
 common/environment.c   | 38 ++++++++++++++++++++++++++++----------
 lib/unlink-recursive.c |  2 +-
 3 files changed, 30 insertions(+), 12 deletions(-)

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

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

end of thread, other threads:[~2014-04-09  7:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09  7:39 Fix some longstanding environment bugs Sascha Hauer
2014-04-09  7:39 ` [PATCH 1/4] unlink_recursive: return negative error value Sascha Hauer
2014-04-09  7:39 ` [PATCH 2/4] loadenv: ignore -ENOENT when removing /env Sascha Hauer
2014-04-09  7:39 ` [PATCH 3/4] saveenv: Properly detect write errors Sascha Hauer
2014-04-09  7:39 ` [PATCH 4/4] loadenv: detect truncated environment files Sascha Hauer

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