From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 0/1] Add deletion safeguard
Date: Fri, 17 Apr 2015 15:26:58 +0100 [thread overview]
Message-ID: <cover.1429280244.git.paul.eggleton@linux.intel.com> (raw)
Try to guard against any repeat of bug 7620:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7620
It won't protect usage of shutil.rmtree(), but there's not a lot
we can do about that and we use both of the functions that are protected
extensively throughout BitBake/OE.
The following change since commit e2879c60e905d7566091d40eab330372fa001313:
bitbake-user-manual: Cleaned up parallelism note and formatted user input (2015-04-17 13:28:31 +0100)
is available in the git repository at:
git://git.yoctoproject.org/poky-contrib paule/rm-safeguard
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/rm-safeguard
Paul Eggleton (1):
lib/bb/utils: add safeguard against recursively deleting things we shouldn't
lib/bb/tests/utils.py | 17 +++++++++++++++++
lib/bb/utils.py | 21 +++++++++++++++++++++
2 files changed, 38 insertions(+)
--
2.1.0
next reply other threads:[~2015-04-17 14:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 14:26 Paul Eggleton [this message]
2015-04-17 14:26 ` [PATCH 1/1] lib/bb/utils: add safeguard against recursively deleting things we shouldn't Paul Eggleton
2015-04-20 13:46 ` Trevor Woerner
2015-04-20 13:59 ` Paul Eggleton
2015-04-20 22:04 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1429280244.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.